Date: Sat, 4 Apr 2015 17:41:34 -0700 From: Garrett Cooper <yaneurabeya@gmail.com> To: Ian Lepore <ian@freebsd.org> Cc: Adrian Chadd <adrian@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Subject: Re: make universe failures? Message-ID: <BF91F228-A5F7-4553-B578-5050A9D73E16@gmail.com> In-Reply-To: <1428194276.82583.144.camel@freebsd.org> References: <CAJ-VmokOx=5p6veRL%2BiCpBdTCsyDYeNE4Drz-16hUG_b7akwYQ@mail.gmail.com> <AA7A173C-3931-4EB0-BE1B-3C58ACCE10F0@gmail.com> <CAJ-Vmo=aQvGvjBPnd8AvZY5dDD8pq6PKnkCg47NQ58Y_5PS1kQ@mail.gmail.com> <310573CF-443F-47BA-9F96-630107A4BD52@gmail.com> <CAJ-Vmok%2Bpagv3SFHzH1uLasqD6sweXQKZ1_etxWYPNro6vEQZg@mail.gmail.com> <43D75544-1458-4AE1-BCC1-DC5DB5AB72DA@gmail.com> <1428194276.82583.144.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Apr 4, 2015, at 17:37, Ian Lepore <ian@freebsd.org> wrote:
> On Sat, 2015-04-04 at 17:36 -0700, Garrett Cooper wrote:
>> On Apr 4, 2015, at 17:33, Adrian Chadd <adrian@freebsd.org> wrote:
>>
>>> On 4 April 2015 at 17:25, Garrett Cooper <yaneurabeya@gmail.com> wrote:
>>>> On Apr 4, 2015, at 17:22, Adrian Chadd <adrian@freebsd.org> wrote:
>>>>
>>>>> On 4 April 2015 at 16:33, Garrett Cooper <yaneurabeya@gmail.com> wrote:
>>>>>> On Apr 4, 2015, at 16:28, Adrian Chadd <adrian@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@bruce:~/work/freebsd/uverse/head % cat /etc/make.conf
>>>>> cat: /etc/make.conf: No such file or directory
>>>>> adrian@bruce:~/work/freebsd/uverse/head % cat /etc/src.conf
>>>>> cat: /etc/src.conf: No such file or directory
>>>>>
>>>>> adrian@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,
>
> Strange. I've never heard of JFLAG and have only ever used -j
JFLAG’s a make tinderbox/universe thing. -j would build multiple universe targets in parallel with up to -j<foo> jobs each.
Again, I don’t know where and why things fall apart… it’s just that running multiple universes for me -j<foo> tends to get me in trouble. I’d have to go through and audit uses of ${.OBJDIR} to get a better idea of why things fail...
HTH!
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org
iQEcBAEBCgAGBQJVIIS+AAoJEMZr5QU6S73eigEH/2WAwFGFshLwckeVZJTBIUHM
5TKztEwriwsLHjF66SqoD/6XZ7K91SuKwRzMO/+NnUJLr6dn0Wklv+oOddouT5uZ
CKDpUKsNNpHOibhHFTXp1R8EKI5F/LMJNlyh0DSPZ0efZKOVXcyd2ayh+nuzbmgr
I1ElKLsQyarxu5UJqoGaT3zS6KlNaTRSz5STDI/cSC006xFI6mDV64Thceh1d10G
E7AqzSHc9DEkbPN8FUKdrPVkkGp9LqJOgH3TEZ0/NoBu5Y/iROc3B5MQ3itNlBjG
y4H7GC/85TlRdo7prOCS6KZi4TvVYfuzMLQByhO3gCalBKunTdQUoLnMXpHGKQc=
=QHiu
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF91F228-A5F7-4553-B578-5050A9D73E16>
