make universe failures?

Garrett Cooper yaneurabeya at gmail.com
Sun Apr 5 00:36:05 UTC 2015


On Apr 4, 2015, at 17:33, Adrian Chadd <adrian at freebsd.org> wrote:

> On 4 April 2015 at 17:25, Garrett Cooper <yaneurabeya at gmail.com> wrote:
>> On Apr 4, 2015, at 17:22, Adrian Chadd <adrian at freebsd.org> wrote:
>> 
>>> On 4 April 2015 at 16:33, Garrett Cooper <yaneurabeya at gmail.com> wrote:
>>>> On Apr 4, 2015, at 16:28, Adrian Chadd <adrian at freebsd.org> wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> cc  -O -pipe   -I/usr/home/adrian/work/freebsd/uverse/head/lib/libcrypt
>>>>> -std=gnu99   -Qunused-arguments
>>>>> -L/home/adrian/work/freebsd/uverse/obj/arm.arm/usr/home/adrian/work/freebsd/uverse/head/tmp/usr/lib/private
>>>>> -rpath /usr/lib/private -rpath /usr/lib/private -o crypt_tests
>>>>> crypt_tests.o /home/adrian/work/freebsd/uverse/obj/arm.arm/usr/home/adrian/work/freebsd/uverse/head/lib/atf/libatf-c/libatf-c.so
>>>>> -lcrypt
>>>>> cc: error: no such file or directory:
>>>>> '/home/adrian/work/freebsd/uverse/obj/arm.arm/usr/home/adrian/work/freebsd/uverse/head/lib/atf/libatf-c/libatf-c.so'
>>>>> 
>>>>> .. this happens for make universe on at least amd64, arm and armeb.
>>>>> I'm still waiting for the others to (not) complete.
>>>> 
>>>> Might be related to r280179 and r273449, but more info’s needed. Your src.conf for the build host and targets would be helpful.
>>>> Thanks!
>>> 
>>> adrian at bruce:~/work/freebsd/uverse/head % cat /etc/make.conf
>>> cat: /etc/make.conf: No such file or directory
>>> adrian at bruce:~/work/freebsd/uverse/head % cat /etc/src.conf
>>> cat: /etc/src.conf: No such file or directory
>>> 
>>> adrian at bruce:~/work/freebsd/uverse/head % env
>>> MAKEOBJDIRPREFIX=/home/adrian/work/freebsd/uverse/obj make -j2
>>> universe JFLAG=-j8
>>> 
>>> Thanks for replying so quickly!
>> 
>> -j2 and JFLAG probably isn’t the best idea in the world. JFLAG should be ok...
> 
> Why not?

Based on personal experience, parallelizing on two levels just seems like a bad idea, especially with recursive make and when dealing with .PHONY targets. I haven’t followed through the logic exactly to know where it falls apart, but I know I always run into issues when I use -j instead of JFLAG for specifying -j.
Cheers,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20150404/af13a782/attachment.sig>


More information about the freebsd-arch mailing list