Re: compiler-metadata.mk for main arch deleted when crossbuilding

2017-06-24 Thread Guy Yur
On 23 June 2017 at 21:50, Bryan Drewery  wrote:
> On 6/23/2017 11:28 AM, Bryan Drewery wrote:
>> On 6/23/2017 11:00 AM, Guy Yur wrote:
>>> Hi Bryan,
>>>
>>> I use a script for building both amd64 and armv6 on an amd64 machine.
>>> Basically,
>>> export TARGET=amd64 TARGET_ARCH=amd64
>>> make -j2 -DNO_CLEAN buildworld
>>> export TARGET=arm TARGET_ARCH=armv6
>>> make -j2 -DNO_CLEAN buildworld
>>>
>>> The amd64 build creates /usr/obj/usr/src/compiler-metadata.mk
>>> The armv6 build deletes it and creates
>>> /usr/obj/arm.armv6/usr/src/compiler-metadata.mk
>>>
>>> If I rebuild just amd64 I get /usr/obj/usr/src/compiler-metadata.mk again.
>>>
>>> Does _cross-tools target's "@rm -f ${.OBJDIR}/compiler-metadata.mk"
>>> not respect TARGET and TARGET_ARCH?
>>>
>>
>> Yes, it is fixed now in r320286. Thanks for the report!
>>
>>
>
> This may have been the reason release.sh failed earlier.  Is release.sh
> still failing for you now?

Hi,

It fixed my problem.
My problem was that I couldn't do installworld or distributeworld
for the main arch after buildworld + cross buildworld.
I thought it was the same problem as the release.sh failure
when I replied to the other thread, sorry for the confusion.

>
> --
> Regards,
> Bryan Drewery
>

Thanks,
Guy
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: compiler-metadata.mk for main arch deleted when crossbuilding

2017-06-23 Thread Bryan Drewery
On 6/23/2017 11:28 AM, Bryan Drewery wrote:
> On 6/23/2017 11:00 AM, Guy Yur wrote:
>> Hi Bryan,
>>
>> I use a script for building both amd64 and armv6 on an amd64 machine.
>> Basically,
>> export TARGET=amd64 TARGET_ARCH=amd64
>> make -j2 -DNO_CLEAN buildworld
>> export TARGET=arm TARGET_ARCH=armv6
>> make -j2 -DNO_CLEAN buildworld
>>
>> The amd64 build creates /usr/obj/usr/src/compiler-metadata.mk
>> The armv6 build deletes it and creates
>> /usr/obj/arm.armv6/usr/src/compiler-metadata.mk
>>
>> If I rebuild just amd64 I get /usr/obj/usr/src/compiler-metadata.mk again.
>>
>> Does _cross-tools target's "@rm -f ${.OBJDIR}/compiler-metadata.mk"
>> not respect TARGET and TARGET_ARCH?
>>
> 
> Yes, it is fixed now in r320286. Thanks for the report!
> 
> 

This may have been the reason release.sh failed earlier.  Is release.sh
still failing for you now?

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: compiler-metadata.mk for main arch deleted when crossbuilding

2017-06-23 Thread Bryan Drewery
On 6/23/2017 11:00 AM, Guy Yur wrote:
> Hi Bryan,
> 
> I use a script for building both amd64 and armv6 on an amd64 machine.
> Basically,
> export TARGET=amd64 TARGET_ARCH=amd64
> make -j2 -DNO_CLEAN buildworld
> export TARGET=arm TARGET_ARCH=armv6
> make -j2 -DNO_CLEAN buildworld
> 
> The amd64 build creates /usr/obj/usr/src/compiler-metadata.mk
> The armv6 build deletes it and creates
> /usr/obj/arm.armv6/usr/src/compiler-metadata.mk
> 
> If I rebuild just amd64 I get /usr/obj/usr/src/compiler-metadata.mk again.
> 
> Does _cross-tools target's "@rm -f ${.OBJDIR}/compiler-metadata.mk"
> not respect TARGET and TARGET_ARCH?
> 

Yes, it is fixed now in r320286. Thanks for the report!


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


compiler-metadata.mk for main arch deleted when crossbuilding

2017-06-23 Thread Guy Yur
Hi Bryan,

I use a script for building both amd64 and armv6 on an amd64 machine.
Basically,
export TARGET=amd64 TARGET_ARCH=amd64
make -j2 -DNO_CLEAN buildworld
export TARGET=arm TARGET_ARCH=armv6
make -j2 -DNO_CLEAN buildworld

The amd64 build creates /usr/obj/usr/src/compiler-metadata.mk
The armv6 build deletes it and creates
/usr/obj/arm.armv6/usr/src/compiler-metadata.mk

If I rebuild just amd64 I get /usr/obj/usr/src/compiler-metadata.mk again.

Does _cross-tools target's "@rm -f ${.OBJDIR}/compiler-metadata.mk"
not respect TARGET and TARGET_ARCH?

Thanks,
Guy
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"