Hello; I am running into some difficulty in my Haiku x86_64 dev environment today.
I am running a setup with directories;
/build/generated
(blank)/build/haiku
(fresh copy)/built/buildtools
(fresh copy)
I’m in the generated
directory and run the usual ../haiku/configure ....
command that usually works and am getting;
...
checking for x86_64-unknown-haiku-gcc... /build/generated/cross-tools-x86_64-build/gcc/./gcc/xgcc -B/build/generated/cross-tools-x86_64-build/gcc/./gcc/ -B/build/generated/cross-tools-x86_64/x86_64-unknown-haiku/bin/ -B/build/generated/cross-tools-x86_64/x86_64-unknown-haiku/lib/ -isystem /build/generated/cross-tools-x86_64/x86_64-unknown-haiku/include -isystem /build/generated/cross-tools-x86_64/x86_64-unknown-haiku/sys-include
checking for suffix of object files... configure: error: in `/build/generated/cross-tools-x86_64-build/gcc/x86_64-unknown-haiku/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
make[1]: *** [Makefile:14890: configure-target-libgcc] Error 1
make[1]: Leaving directory '/build/generated/cross-tools-x86_64-build/gcc'
make: *** [Makefile:1044: all] Error 2
ERROR: Building gcc failed.
Looking into the log file for the compile I can see;
configure:3549: /build/generated/cross-tools-x86_64-build/gcc/./gcc/xgcc -B/build/generated/cross-tools-x86_64-build/gcc/./gcc/ -B/build/generated/cross-tools-x86_64/x86_64-unknown-haiku/bin/ -B/build/generated/cross-tools-x86_64/x86_64-unknown-haiku/lib/ -isystem /build/generated/cross-tools-x86_64/x86_64-unknown-haiku/include -isystem /build/generated/cross-tools-x86_64/x86_64-unknown-haiku/sys-include -V >&5
xgcc: error: unrecognized command-line option '-V'
xgcc: fatal error: no input files
compilation terminated.
…but then later…
configure:3814: /build/generated/cross-tools-x86_64-build/gcc/./gcc/xgcc -B/build/generated/cross-tools-x86_64-build/gcc/./gcc/ -B/build/generated/cross-tools-x86_64/x86_64-unknown-haiku/bin/ -B/build/generated/cross-tools-x86_64/x86_64-unknown-haiku/lib/ -isystem /build/generated/cross-tools-x86_64/x86_64-unknown-haiku/include -isystem /build/generated/cross-tools-x86_64/x86_64-unknown-haiku/sys-include -c -g -O2 conftest.c >&5
Assembler messages:
Internal error (Segmentation violation).
Please report this bug.
configure:3818: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
....
A segmentation violation doesn’t look good. I am guessing that it is working on the build agents but that they would have the configure
step pre-warmed. Is anybody else having difficulty with this before I try more things?