Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827164 - sys-libs/glibc-2.34 breaks bootstrap-prefix.sh
Summary: sys-libs/glibc-2.34 breaks bootstrap-prefix.sh
Status: RESOLVED DUPLICATE of bug 824482
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-24 15:50 UTC by Esteve Varela Colominas
Modified: 2021-11-24 15:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Binutils build.log (build.log,21.09 KB, text/x-log)
2021-11-24 15:51 UTC, Esteve Varela Colominas
Details
Stage3 log (stage3.log.gz,455.90 KB, application/gzip)
2021-11-24 15:51 UTC, Esteve Varela Colominas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Esteve Varela Colominas 2021-11-24 15:50:41 UTC
Installing a new prefix with unstable packages using bootstrap-prefix.sh causes the build to fail with the following error upon first merging binutils after the glibc build:

configure:4383: x86_64-pc-linux-gnu-gcc -Os -pipe -march=native  -L/home/mid-kid/.local/opt/crossdev/usr/lib64 -Wl,--dynamic-linker=/home/mid-kid/.local/opt/crossdev/lib64/ld-linux-x86-64.so.2 conftest.c  >&5
/home/mid-kid/.local/opt/crossdev/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/../lib64/Scrt1.o: in function `_start':
/usr/src/debug/sys-libs/glibc-2.33-r7/glibc-2.33/csu/../sysdeps/x86_64/start.S:101: undefined reference to `__libc_csu_fini'
/home/mid-kid/.local/opt/crossdev/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/src/debug/sys-libs/glibc-2.33-r7/glibc-2.33/csu/../sysdeps/x86_64/start.S:102: undefined reference to `__libc_csu_init'
collect2: error: ld returned 1 exit status

The tentative fix to this is explicitly specifying '<sys-libs/glibc-2.34' explicitly in the bootstrap-prefix.sh script.

It should be noted that my host system runs stable packages, so the /usr/src/debug references are from my host-installed FEATURES=installsources installation.
Comment 1 Esteve Varela Colominas 2021-11-24 15:51:33 UTC
Created attachment 756061 [details]
Binutils build.log
Comment 2 Esteve Varela Colominas 2021-11-24 15:51:45 UTC
Created attachment 756064 [details]
Stage3 log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-24 15:56:40 UTC
Thanks! Let's fix the summary of the other bug.

*** This bug has been marked as a duplicate of bug 824482 ***