FreeBSD 9-Stable + Atom D510 Freeze
Thomas Laus
lausts at acm.org
Fri Sep 20 18:32:37 UTC 2013
Gary Palmer [gpalmer at freebsd.org] wrote:
> It's not a compiler flag, it's a make flag. make -j n will fork off up to
> n compilers to do the build. If you just do "make buildworld" then there
> is no parallel compilation.
>
> It used to be that ports had MAKE_JOBS_SAFE in the Makefile to mark that
> the port could be built using parallel compiles with the '-j' argument
> to make. It appears that the logic has been switched and now you have
> to mark them as MAKE_JOBS_UNSAFE to say that parallel builds shouldn't be
> done, indicating that parallel builds are the default now (unless I'm
> misreading the code)
>
> You can try putting
>
> DISABLE_MAKE_JOBS=yes
>
> into /etc/make.conf to see if that stops the problem on port builds.
>
Gary:
I don't see that as an option in /usr/share/examples/etc/make.conf.
Did you find that one by reading the source code? I will add that
to my /etc/make.conf and see if it makes a difference. This issue is
very intermittant and may not trigger for weeks or months. I'll
repost to the list if any problems show up after setting the flag in
my /etc/make.conf
Thanks for the help.
Tom
--
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF
More information about the freebsd-stable
mailing list