Poor state of the build infrastructure.
Garrett Cooper
yaneurabeya at gmail.com
Thu Sep 25 00:19:31 UTC 2014
On Sep 24, 2014, at 16:33, Marcel Moolenaar <marcel at xcllnt.net> wrote:
>
> On Sep 24, 2014, at 12:54 PM, John Baldwin <jhb at freebsd.org> wrote:
>
>> On Tuesday, September 23, 2014 09:29:48 AM Marcel Moolenaar wrote:
>>> What is going on here?
>>> Are we still in some kind of flux and people aren't done yet or is
>>> this the intended state by virtue of noone having anything left on
>>> there TODO list?
>>
>> Sorry to ask a dumb question, but are you sure you did the make buildworld
>> first? Shouldn't that have errored if it couldn't build crt1?
>
> The root cause problem was that MAKEOBJDIRPREFIX was not set
> to whatever it was set to during buildworld. That was easy
> enough to figure out when a bunch of things don't add up.
>
> But neither problem mentioned in the email had anything to
> do with MAKEOBJDIRPREFIX. Having to set the COMPILER_TYPE
> as part of an install is a bug. Entering a powerpc buildenv
> and having a compiler that builds for the host (or maybe
> just some default) is a regression.
>
> The only thing the FreeBSD build is good at, really, is
> building in /usr/src for the host. The rest is just not
> up to par and I think it harms FreeBSD beyond belief.
I agree with Marcel. COMPILER_TYPE showed up before 10.0-CURRENT dealing with the gcc->clang cutover and caused some minor issues when integrating with some FreeBSD makefiles unless using the top-level make rules. It would be nice if it defaulted to something sane now that the build knobs work has been moved out to src.opts.mk .
Thanks!
-Garrett
-------------- 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-current/attachments/20140924/b9effcf8/attachment.sig>
More information about the freebsd-current
mailing list