> > This "-B/usr/local/--enable-languages=c,c++/blah" thing seems wrong. "- > > B" should be followed by a directory where gcc looks for executables. I > > doubt any directory name would contain --enable-languages. So this may > > mean there might be a typo in the ../configure command... > > > Thanks Pierre, I looked right past it. > Thanks, I was indeed missing a space between --prefix=/usr/local and --enable-languages=c,c++
Unfortunately, the problem remains (even if I hack the libgomp configure script to ignore the test) checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/usr/src/gcc-9.2.0/build/x86_64-pc-linux-gnu/libgomp': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details make[1]: *** [Makefile:14401: configure-target-libgomp] Error 1 make[1]: Leaving directory '/usr/src/gcc-9.2.0/build' make: *** [Makefile:956: all] Error 2 Command exited with non-zero status 2 [config.log] configure:3975: $? = 0 configure:3997: result: configure:4019: checking whether we are cross compiling configure:4027: /usr/src/gcc-9.2.0/build/./gcc/xgcc -B/usr/src/gcc-9.2.0/build/./gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/local/x86_64-pc-linux-gnu/sys-include -o conftest -g -O2 conftest.c >&5 configure:4031: $? = 0 configure:4038: ./conftest /usr/src/gcc-9.2.0/libgomp/configure: eval: line 1: ./conftest: not found configure:4042: $? = 127 configure:4049: error: in `/usr/src/gcc-9.2.0/build/x86_64-pc-linux-gnu/libgomp': configure:4051: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. [test removed] checking whether the target supports symbol aliases... yes checking for ld used by /usr/src/gcc-9.2.0/build/./gcc/xgcc -B/usr/src/gcc-9.2.0/build/./gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/local/x86_64-pc-linux-gnu/sys-include ... (cached) /usr/src/gcc-9.2.0/build/./gcc/collect-ld checking if the linker (/usr/src/gcc-9.2.0/build/./gcc/collect-ld) is GNU ld... (cached) yes checking for shared libgcc... yes checking whether the target supports .symver directive... yes configure: versioning on shared library symbols is gnu checking whether the target supports __sync_*_compare_and_swap... yes checking for CET support... no configure: updating cache ./config.cache configure: error: unsupported system, cannot find sizeof (omp_lock_t) make[1]: *** [Makefile:14401: configure-target-libgomp] Error 1 -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
