Created attachment 1857 [details] Build failure with cpp invocation Hello -- Trying to build the tip of the tree (DMD/DRuntime/Phobos all at tip of tree) results in the attached build error. Even if I put in the full path to the file, I get the same error. Cluebats appreciated. Thanks.
Walter just changed the makefile to build the .c files using dmd, so maybe this doesn't play nice with an llvm toolchain underneath
(In reply to mhh from comment #1) > Walter just changed the makefile to build the .c files using dmd, so maybe > this doesn't play nice with an llvm toolchain underneath I tried to replicate this on FreeBSD just now. Everything built fine on FreeBSD. That also has an llvm toolchain underneath.
@ibara created dlang/dmd pull request #14267 "Fix Issue 23225 - OpenBSD: cpp invocation cannot find files" fixing this issue: - Fix Issue 23225 - OpenBSD: cpp invocation cannot find files A bug in the shell script that lives in /usr/bin/cpp eats the -o flag in the CPP invocation, which breaks ImportC. This workaround is to use /usr/libexec/cpp instead, which is the actual CPP binary. https://github.com/dlang/dmd/pull/14267
dlang/dmd pull request #14267 "Fix Issue 23225 - OpenBSD: cpp invocation cannot find files" was merged into master: - 8e873ea24729805168d42f0bb560b5bb60404dff by Brian Callahan: Fix Issue 23225 - OpenBSD: cpp invocation cannot find files A bug in the shell script that lives in /usr/bin/cpp eats the -o flag in the CPP invocation, which breaks ImportC. This workaround is to use /usr/libexec/cpp instead, which is the actual CPP binary. https://github.com/dlang/dmd/pull/14267