dslm4515 / CMLFS

Clang-Built Musl Linux From Scratch
MIT License
99 stars 18 forks source link

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

Closed ghost closed 1 year ago

ghost commented 2 years ago

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.

dslm4515 commented 1 year ago

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

dslm4515 commented 1 year ago

I upgraded cgnutools with GCC 12.2.0 via commit c20984376e285f6cf194361041f23247b507584a