Fwd: buildworld fails while building static clang library

2017-08-05 Thread Aijaz Baig
Yes you could be correct. See my reply below to Dimitry. And if this indeed is an issue is there a workaround? Or based on my first question, do I really need to buildworld? -- Forwarded message -- From: Aijaz Baig Date: Sun, Aug 6, 2017 at 9:53 AM Subject: Re: buildworld fails w

Re: buildworld fails while building static clang library

2017-08-05 Thread Aijaz Baig
Hello Yes guilty as charged!!! I turn off optimization and enable DEBUG_FLAGS using src.conf: CFLAGS= -O0 -pipe COPTFLAGS= -O0 -pipe DEBUG_FLAGS=-g This time however I run without any parallel make jobs and it fails with a different error: *** Signal 9 Stop. make[6]: stopped in /usr/src/lib/c

Re: buildworld fails while building static clang library

2017-08-05 Thread Mark Millard
Dimitry Andric dim at FreeBSD.org wrote on Sat Aug 5 20:16:53 UTC 2017 : > Hm, now I read that your obj dir is on NFS, you might be hitting some > 4GiB filesize limit for the final .a file. Are you building world with > a very low optimization level, and debug information on? > > I remember ther

Re: buildworld fails while building static clang library

2017-08-05 Thread Dimitry Andric
On 5 Aug 2017, at 21:55, Aijaz Baig wrote: > > I was a bit sceptical of this as it was failing with that same port (or is > clang a port by the way?) all the time. So as you suggested, I reduced my > '-j' number and it still fails at the very same place with the very same > error. Is it becaus

Re: buildworld fails while building static clang library

2017-08-05 Thread Aijaz Baig
Hi Dmitry I was a bit sceptical of this as it was failing with that same port (or is clang a port by the way?) all the time. So as you suggested, I reduced my '-j' number and it still fails at the very same place with the very same error. Is it because the clang port doesn't allow parallel make jo

Re: buildworld fails while building static clang library

2017-08-05 Thread Dimitry Andric
On 5 Aug 2017, at 06:00, Aijaz Baig wrote: > > I am trying to buildworld and it works well for quite some time until it > tries to build the static version of the clang library where it fails. The > error it spits is: > > Killed > *** [all_subdir_lib/clang/libclang] Error code 137 > > make[5]: