Built compiler cannot create executables during GCC 8.2.0 "make" from repository clone.

Kai Ruottu kai.ruottu@wippies.com
Sun Sep 16 16:26:00 GMT 2018


Bryan Dunphy kirjoitti 16.9.2018 klo 18.45:
> This is the contents of config.log with the same substitution as before. It APPEARS that the problem is invalid command line options being passed to GCC! How do I fix this?

No, it's this :

> configure:3725: checking for C compiler default output file name
> configure:3747: $HOME/Development/gcc-obj/./gcc/xgcc -B$HOME/Development/gcc-obj/./gcc/ -B$HOME/gcc-built/x86_64-apple-darwin17.7.0/bin/ -B$HOME/gcc-built/x86_64-apple-darwin17.7.0/lib/ -isystem $HOME/gcc-built/x86_64-apple-darwin17.7.0/include -isystem $HOME/gcc-built/x86_64-apple-darwin17.7.0/sys-include    -g -O2   conftest.c  >&5
> ld: library not found for -lgcc_ext.10.5
> collect2: error: ld returned 1 exit status
>

Something expects 'libgcc_ext.10.5.<something>' (I don't know what lib 
name extensions MacOS X uses here). The 'specs' file would tell what the 
linking spec expects....



More information about the Gcc-help mailing list