Gentoo Archives: gentoo-alt

From: Joey Dumont <joey.dumont@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Is should bootstrapping Prefix with a host glibc newer than stage3 glibc (be) possible?
Date: Thu, 11 Feb 2021 02:38:07
Message-Id: CAB6-_ifwboAaKFk2rJ8H5KiC83Ceeo4GF6YOXtxB7rw-b2o9ew@mail.gmail.com
1 Hi!
2
3 I just tried to bootstrap on Arch Linux that has glibc-2.33 with the
4 bootstrap-prefix.sh from commit 6cc6d48909. The bootstrap errors out during
5 the stage3 compilation of glibc-2.32-r7:
6
7 --print-file-name=crtendS.o` /cvmfs/
8 > software.dumont.ca/2021.02/compat/linux/x86_64/var/tmp/portage/sys-libs/glibc-2.32-r7/work/build-amd64-x86_64-pc-linux-gnu-nptl/csu/crtn.o
9 > /cvmfs/
10 > software.dumont.ca/2021.02/compat/linux/x86_64/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
11 > /cvmfs/
12 > software.dumont.ca/2021.02/compat/linux/x86_64/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libstdc++.so:
13 > undefined reference to `fstat64@GLIBC_2.33'
14 > /cvmfs/
15 > software.dumont.ca/2021.02/compat/linux/x86_64/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
16 > /cvmfs/
17 > software.dumont.ca/2021.02/compat/linux/x86_64/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libstdc++.so:
18 > undefined reference to `lstat@GLIBC_2.33'
19 > /cvmfs/
20 > software.dumont.ca/2021.02/compat/linux/x86_64/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
21 > /cvmfs/
22 > software.dumont.ca/2021.02/compat/linux/x86_64/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libstdc++.so:
23 > undefined reference to `stat@GLIBC_2.33'
24 > collect2: error: ld returned 1 exit status
25 > make[2]: *** [../Rules:218: /cvmfs/
26 > software.dumont.ca/2021.02/compat/linux/x86_64/var/tmp/portage/sys-libs/glibc-2.32-r7/work/build-amd64-x86_64-pc-linux-gnu-nptl/support/links-dso-program]
27 > Error 1
28 > make[2]: Leaving directory '/cvmfs/
29 > software.dumont.ca/2021.02/compat/linux/x86_64/var/tmp/portage/sys-libs/glibc-2.32-r7/work/glibc-2.32/support
30 > '
31 > make[1]: *** [Makefile:471: support/others] Error 2
32 > make[1]: Leaving directory '/cvmfs/
33 > software.dumont.ca/2021.02/compat/linux/x86_64/var/tmp/portage/sys-libs/glibc-2.32-r7/work/glibc-2.32
34 > '
35 > make: *** [Makefile:9: all] Error 2
36 > make: Leaving directory '/cvmfs/
37 > software.dumont.ca/2021.02/compat/linux/x86_64/var/tmp/portage/sys-libs/glibc-2.32-r7/work/build-amd64-x86_64-pc-linux-gnu-nptl
38 > '
39 > * ERROR: sys-libs/glibc-2.32-r7::gentoo failed (compile phase):
40
41
42 Is this a bug? Or is bootstrap expected to fail when the host glibc is
43 newer?
44
45 Thanks!
46 Joey Dumont (Profile <http://blog.joey-dumont.ca/>)
47 The supreme elegance of Nature lies in its apparent simplicity.

Replies