dslm4515 / CMLFS

Clang-Built Musl Linux From Scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMLFS/1-cgnutools/3-GCC-static => Configure error while executing "make all-gcc all-target-libgcc -j4"

opened this issue · comments

Here is my config.log that the make program told me to take a look at details.
http://0x0.st/oTbw.log

checking for x86_64-meth-linux-musl-gcc...  /mnt/cmlfs/sources/pkgs/gcc-10.3.1_git20210424/build/./gcc/xgcc -B/mnt/cmlfs/sources/pkgs/gcc-10.3.1_git20210424/build/./gcc/ -B/cgnutools/x86_64-meth-linux-musl/bin/ -B/cgnutools/x86_64-meth-linux-musl/lib/ -isystem /cgnutools/x86_64-meth-linux-musl/include -isystem /cgnutools/x86_64-meth-linux-musl/sys-include   
checking for suffix of object files... configure: error: in `/mnt/cmlfs/sources/pkgs/gcc-10.3.1_git20210424/build/x86_64-meth-linux-musl/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
make: *** [Makefile:12848: configure-target-libgcc] Error 1

This part causes the problem.

looks like you might have posted the wrong config.log as i only see a warning, no errors.

Post the config.log in /mnt/cmlfs/sources/pkgs/gcc-10.3.1_git20210424/build/x86_64-meth-linux-musl/libgcc

I upgraded cgnutools with GCC 12.2.0 via commit c209843