crux-arm / crux-toolchain-arm-linux-gnueabihf

CRUX-ARM Toolchain using hard-float version of the "new" ABI (EABI), targeting armv7 and up
0 stars 0 forks source link

glibc: Indefinite hang building stdio-common #9

Open sepen opened 10 months ago

sepen commented 10 months ago

I tried to build toolchain arm-linux-gnueabihf (branch 3.5) and the process was running for several hours without any updates:

...
make[3]: Entering directory '/home/sepen/devel/crux-arm/crux-toolchain-arm-linux-gnueabihf/work/glibc-2.28/intl'
make[3]: Leaving directory '/home/sepen/devel/crux-arm/crux-toolchain-arm-linux-gnueabihf/work/glibc-2.28/intl'
make  subdir=catgets -C catgets ..=../ subdir_lib
make[3]: Entering directory '/home/sepen/devel/crux-arm/crux-toolchain-arm-linux-gnueabihf/work/glibc-2.28/catgets'
make[3]: Leaving directory '/home/sepen/devel/crux-arm/crux-toolchain-arm-linux-gnueabihf/work/glibc-2.28/catgets'
make  subdir=math -C math ..=../ subdir_lib
make[3]: Entering directory '/home/sepen/devel/crux-arm/crux-toolchain-arm-linux-gnueabihf/work/glibc-2.28/math'
make[3]: Leaving directory '/home/sepen/devel/crux-arm/crux-toolchain-arm-linux-gnueabihf/work/glibc-2.28/math'
make  subdir=setjmp -C setjmp ..=../ subdir_lib
make  subdir=signal -C signal ..=../ subdir_lib
make  subdir=stdlib -C stdlib ..=../ subdir_lib
make[3]: Entering directory '/home/sepen/devel/crux-arm/crux-toolchain-arm-linux-gnueabihf/work/glibc-2.28/stdlib'
make[3]: Nothing to be done for 'subdir_lib'.
make[3]: Leaving directory '/home/sepen/devel/crux-arm/crux-toolchain-arm-linux-gnueabihf/work/glibc-2.28/stdlib'
make  subdir=stdio-common -C stdio-common ..=../ subdir_lib
make[3]: Entering directory '/home/sepen/devel/crux-arm/crux-toolchain-arm-linux-gnueabihf/work/glibc-2.28/stdio-common'

I have also tried switching to make -j1 but the result is the same.

I'm running a CRUX 3.7 (x86_64-pc-linux-gnu) as a host with versions:

It seems that older glibc (<=2.31) has a problem with newer GNU Make (>=4.4). Downgrade to 4.3 would be a temporary fix as commented in this post https://github.com/crosstool-ng/crosstool-ng/issues/1946

nolongerwait commented 2 months ago

but I have the same issue while i used GNU make 4.3 version.