Created attachment 1857
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.
Comment #1 by maxhaton — 2022-07-01T01:29:33Z
Walter just changed the makefile to build the .c files using dmd, so maybe this doesn't play nice with an llvm toolchain underneath
Comment #2 by bcallah — 2022-07-01T02:12:10Z
(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.
Comment #3 by dlang-bot — 2022-07-04T02:54:49Z
@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
Comment #4 by dlang-bot — 2022-07-04T13:26:47Z
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