[clang] Build error on r232474 (and a few before,
don't know exactly which)
Pegasus Mc Cleaft
ken at mthelicon.com
Sun Mar 4 09:42:55 UTC 2012
On Sunday 04 March 2012 02:29:08 Brandon Falk wrote:
> > If you define WITHOUT_GCC, a cc isn't created in
> > /usr/obj/usr/src/tmp/usr/bin but if you go into the directory and do a
> > symbolic link from clang, and restart make with -DNO_CLEAN it'll work
> > and complete. One of the programs hardcodes cc and doesn't check the
> > environment, I forget which.
> > _______________________________________________
> > freebsd-hackers at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to
> > "freebsd-hackers-unsubscribe at freebsd.org"
>
> Built the code until it failed. Then did a `ln -s
> /usr/obj/root/src/tmp/usr/bin/clang /usr/obj/root/src/tmp/usr/bin/cc`
> and a `make -DNO_CLEAN -j12 buildworld` and it finished just fine.
>
> Thanks for the help, although we've got to sort this hardcode out
> somewhere :P
Brandon,
I had the same problem for a while but what I did to get around the
problem was define WITH_CLANG_IS_CC=no in the /etc/src.conf and that created
cc and the build continued.
Peg
More information about the freebsd-hackers
mailing list