Re: buildworld with clang breaks because no cc

2012-11-26 Thread Beeblebrox
-ran make release. The build completed without any error - so it was just the threaded make that was causing the relase problem. Regards. -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5764283.html Sent from the freeb

Re: buildworld with clang breaks because no cc

2012-11-26 Thread Dimitry Andric
On 2012-11-26 12:11, Beeblebrox wrote: Some strange errors continue - I'm not complaining, just informing: /asp/src/release > # make release OR # make cdrom etc.. breaks at kernel.txz: ===> zlib (install) install -o root -g wheel -m 555 zlib.ko //usr/obj/asp/src/release/dist/kernel/boot/kernel

Re: buildworld with clang breaks because no cc

2012-11-26 Thread Beeblebrox
.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5764269.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 unsubscrib

Re: buildworld with clang breaks because no cc

2012-11-25 Thread Jakub Lach
I have been using WITH_CLANG_IS_CC=true WITHOUT_GCC=true on stable almost since switching to clang build system without any build problems whatsoever. -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5764013.html

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Konstantin Belousov
On Sat, Nov 24, 2012 at 01:55:50PM +0100, Dimitry Andric wrote: > On 2012-11-23 15:14, Beeblebrox wrote: > > Thanks for the suggestion. Build progressed a little further then had other > > problem: > > > > ===> gnu/lib/libstdc++ (all) > > building shared library libstdc++.so.6 > > /usr/obj/asp/src/

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Beeblebrox
ch?feature=endscreen&NR=1&v=xToPCaNxaow -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763771.html Sent from the freebsd-stable mailing list archive at Nabble.com.

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Matthew Seaman
On 24/11/2012 13:18, Beeblebrox wrote: > 5. > You should save the entire log > I don't know how to do this. See script(1) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Beeblebrox
curring errors. So the fix is: cd /usr/src/sys/boot # make cd /usr/src # make installworld Thanks everyone... [SOLVED] -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763761.html Sent from the freebsd-stable mailing l

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Beeblebrox
XTRAS= 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-

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Dimitry Andric
On 2012-11-23 23:03, Beeblebrox wrote: I went ahead and hacked gnu/lib/Makefile and changed to: if ${MK_CXX} != "no" #SUBDIR+= libstdc++ libsupc++ .endif Don't do that, it will not work. Parts of the system need GNU libstdc++ and libsupc++. I then restarted buildworld. Next stop, new error

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Dimitry Andric
On 2012-11-23 15:14, Beeblebrox wrote: Thanks for the suggestion. Build progressed a little further then had other problem: ===> gnu/lib/libstdc++ (all) building shared library libstdc++.so.6 /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. I am not sure what

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Dimitry Andric
On 2012-11-23 14:45, Beeblebrox wrote: I am now stuck with trying to make this work. I am doing buildworld with clang and ccache enabled. If you want to use clang in combination with ccache, you must at least set CCACHE_CPP2 to make it work. If you experience any issues with this setup, always

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Dimitry Andric
On 2012-11-23 13:38, Beeblebrox wrote: Looks like I should have placed these in my /etc/src.conf: WITH_CLANG= yes This is not strictly necessary, WITH_CLANG is already enabled by default. WITH_CLANG_EXTRAS= yes In most cases, you will not need the llvm/clang extras, and they will add some

Re: buildworld with clang breaks because no cc

2012-11-24 Thread Dimitry Andric
On 2012-11-23 12:37, Beeblebrox wrote: I am doing a buildworld with clang on amd64 9.1-PRERELEASE #2 r242867. In /etc/src.conf I have "WITHOUT_GCC= yes". Compile progresses up to below then breaks: ... lint: cannot exec /usr/obj/asp/src/tmp/usr/bin/cc: No such file or directory Currently, you

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
ards. [CLOSED] -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763720.html Sent from the freebsd-stable mailing list archive at Nabble.com. ___ freebsd-stable@freebsd.org mailing

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Chuck Burns
On 11/23/2012 4:03 PM, Beeblebrox wrote: I went ahead and hacked gnu/lib/Makefile and changed to: if ${MK_CXX} != "no" #SUBDIR+= libstdc++ libsupc++ .endif I then restarted buildworld. Next stop, new error: clang -m32 -march=k8 -DCOMPAT_32BIT -isystem /usr/obj/asp/src/lib32/usr/include/ -L/u

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
libncp.so.4 and symlink libncp.so -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763657.html Sent from the freebsd-stable mailing list archive at Nabble.com. ___ free

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
do not see any point of building gcc-42 AND clang both. I'm preparing to file a bug report unless anyone has suggestions. Thanks. -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763579.html Sent from the freebsd-s

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 16:14, Beeblebrox: Thanks for the suggestion. Build progressed a little further then had other problem: ===> gnu/lib/libstdc++ (all) building shared library libstdc++.so.6 /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. clang: error: linker command

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
ttp://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763506.html Sent from the freebsd-stable mailing list archive at Nabble.com. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/free

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Volodymyr Kostyrko
23.11.2012 15:45, Beeblebrox: I am now stuck with trying to make this work. I am doing buildworld with clang and ccache enabled. 1. I have to keep re-starting buildworld at different points of break. When re-started the build continues past the last break-point and goes on to break somewhere els

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
iew this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763503.html Sent from the freebsd-stable mailing list archive at Nabble.com. ___ freebsd-stable@freebsd.org mailing list h

buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
ge in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763482.html Sent from the freebsd-stable mailing list archive at Nabble.com. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/ma

Re: buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
ror *** [buildworld] Error code 2 -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763475.html Sent from the freebsd-stable mailing list archive at Nabble.com. ___ freebsd-sta

buildworld with clang breaks because no cc

2012-11-23 Thread Beeblebrox
have disabled ccache while I try and work through this error - so it is not a factor. -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472.html Sent from the freebsd-stab