Re: bmake(1) "sometimes" honors '-j' ?

2014-02-13 Thread Glen Barber
On Thu, Feb 13, 2014 at 09:23:19AM -0800, Marcel Moolenaar wrote: > > On Feb 9, 2014, at 1:36 PM, Glen Barber wrote: > > > Maybe there is an obvious answer to this, or maybe I just do not > > understand how computers work. > > > > For snapshot builds for RPI-B and BEAGLEBONE, I am hard-coding '

Re: LLVM bug WRT temporary files?

2014-02-13 Thread Marcel Moolenaar
On Feb 13, 2014, at 9:56 AM, Marcel Moolenaar wrote: > [CC Garrett] > > On Feb 13, 2014, at 9:44 AM, Marcel Moolenaar wrote: > >> >> On Feb 13, 2014, at 9:42 AM, David Chisnall >> wrote: >> >>> This looks like a bug, please file an llvm PR. The offending code seems to >>> be createUniqu

Re: LLVM bug WRT temporary files?

2014-02-13 Thread Marcel Moolenaar
[CC Garrett] On Feb 13, 2014, at 9:44 AM, Marcel Moolenaar wrote: > > On Feb 13, 2014, at 9:42 AM, David Chisnall > wrote: > >> This looks like a bug, please file an llvm PR. The offending code seems to >> be createUniqueEntity() in lib/Support/Unix/Path.inc, which does... >> something.

Re: LLVM bug WRT temporary files?

2014-02-13 Thread Marcel Moolenaar
On Feb 13, 2014, at 9:42 AM, David Chisnall wrote: > This looks like a bug, please file an llvm PR. The offending code seems to > be createUniqueEntity() in lib/Support/Unix/Path.inc, which does... > something. Something weird and convoluted that seems to try to implement > mkstemp() / mkdt

Re: LLVM bug WRT temporary files?

2014-02-13 Thread David Chisnall
This looks like a bug, please file an llvm PR. The offending code seems to be createUniqueEntity() in lib/Support/Unix/Path.inc, which does... something. Something weird and convoluted that seems to try to implement mkstemp() / mkdtemp() in an incomprehensible way. David On 13 Feb 2014, at 1

LLVM bug WRT temporary files?

2014-02-13 Thread Marcel Moolenaar
Guys, I'm running into a build break that relates to the temporary files that LLVM creates: svl-junos-j019% cc --version FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: arm--freebsd10.0-gnueabi Thread model: posix On a build machine /tmp/b is a directory and created by

Re: bmake(1) "sometimes" honors '-j' ?

2014-02-13 Thread Marcel Moolenaar
On Feb 9, 2014, at 1:36 PM, Glen Barber wrote: > Maybe there is an obvious answer to this, or maybe I just do not > understand how computers work. > > For snapshot builds for RPI-B and BEAGLEBONE, I am hard-coding '-j10' > for buildworld and '-j6' for buildkernel, because these values are > som