Hi Dimitry, I have been working at this for 6 hours today (I don't want to tell you how long I was at it yesterday). Thanks for your input / suggestions. I will try to answer all of them, please let me know if I forget something.
1. Fist the good news: I have just now finished buildworld with setting WITHOUT_GCC= yes and has WITH_CLANG= yes WITH_CLANG_EXTRAS= yes WITH_CLANG_IS_CC= yes 2. First I tried to buildworld after disabling WITHOUT_GCC. * First I had ccache and threads enabled. The build progressed with the exact same errors as above (many start-stop-restarts) then finally broke. * I disabled ccache and threads, also removed /usr/obj/src. I restarted the build, it broke at (as above): building shared library libstdc++.so.6 3. Then I remembered that I had seen some ccache stuff flash by, despite the fact I had disabled it. So in /etc/make.conf I disabled the call to /usr/local/etc/buildflags.conf, cleaned /usr/obj/src and restarted the build (no ccache, no threads, gcc not disabled). This time it completd buildworld. What?? Why is buildflags.conf killing things? 4. Then I remembered something else: some of the source code seems to be hard-coded as /usr/src and not as {path} (my ports, source, ccache, distfiles are all on zpool/asp - I find it easier). I had observed in the past that that some source code which fails to compile will compile if I cd tu /ysr/src and re-run buildworld. The problem was that in /usr/local/etc/buildflags.conf I had for source: /asp/src | /asp/src/*{ which I changed to: /asp/src | /asp/src/* | /usr/src | /usr/src/*{ The build stopped several times, I re-saterted and later disabled threads and ccache. That is when buildworld finished successfully. Fianl /etc/src.conf settings: WITHOUT_GCC= yes WITH_CLANG= yes WITH_CLANG_EXTRAS= yes WITH_CLANG_IS_CC= yes 5. > You should save the entire log I don't know how to do this. 6. buildkernel also does not like ccache!! Thank you for your input and help... -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763756.html Sent from the freebsd-stable mailing list archive at Nabble.com. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"