Troubleshooting - AwlsomeAlex/AwlsomeLinux GitHub Wiki
Troubleshooting:
- GLIBC failed to build!
This is a common problem I faced while trying to build AwlsomeLinux on an x86 system (never an x86_64 system) but hopefully there is a common solution.
If you get the following error: Makefile:recipe for target 'io/subdir_lib' failed. this is due to GCC Optimization blocking some required optimization for this specific part of Glibc. The solution would be to edit awlsomelinux_core.sh and in the build_glibc() function edit the CFLAGS= for when Glibc is configured, and change the -Os CFLAG to -O2. What this does is spend more time optimizing the file by speed and not size, which seems to be the problem for some x86 systems.