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

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

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