Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glibc: Indefinite hang building stdio-common #9

Open
sepen opened this issue Dec 28, 2023 · 0 comments
Open

glibc: Indefinite hang building stdio-common #9

sepen opened this issue Dec 28, 2023 · 0 comments

Comments

@sepen
Copy link
Member

sepen commented Dec 28, 2023

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:

  • gcc 12.3.0-2
  • make 4.4.1-1

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 crosstool-ng/crosstool-ng#1946

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant