Gentoo Archives: gentoo-user

From: Daniel Frey <djqfrey@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Broken update
Date: Tue, 07 Sep 2021 16:32:54
Message-Id: 9db181b1-d91d-ac28-3d28-400570975677@gmail.com
1 Well,
2
3 I was updating a system and gcc got broken somehow, and it doesn't seem
4 to be possible to fix it.
5
6 Problem:
7 # gcc -v
8 gcc: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by gcc)
9
10 OK, no biggie, I have a binpkg:
11
12 # emerge -1Ka glibc pax-utils
13
14 These are the packages that would be merged, in order:
15
16 Calculating dependencies... done!
17 [binary U ] app-misc/pax-utils-1.3.2 [1.2.9]
18 PYTHON_SINGLE_TARGET="python3_9* (-python3_10) -python3_8*"
19 [binary U ] sys-libs/glibc-2.33-r1 [2.32-r7] USE="-multilib-bootstrap%"
20
21
22 But:
23
24 >>> Running pre-merge checks for sys-libs/glibc-2.33-r1
25 * glibc-2.33-r1.tbz2 MD5 SHA1 size ;-) ...
26 [ ok ]
27 * Checking general environment sanity.
28 x86_64-pc-linux-gnu-gcc -m64 -pipe -march=corei7 -O2 -Wl,-O1
29 -Wl,--as-needed glibc-test.c -o glibc-test
30 * Checking gcc for __thread support ...
31
32
33 [ !! ]
34
35 * Could not find a gcc that supports the __thread directive!
36 * Please update your binutils/gcc and try again.
37 * ERROR: sys-libs/glibc-2.33-r1::gentoo failed (pretend phase):
38 * No __thread support in gcc!
39 *
40 * Call stack:
41 * ebuild.sh, line 125: Called pkg_pretend
42 * environment, line 2739: Called sanity_prechecks
43 * environment, line 3337: Called die
44 * The specific snippet of code:
45 * die "No __thread support in gcc!";
46 *
47 * If you need support, post the output of `emerge --info
48 '=sys-libs/glibc-2.33-r1::gentoo'`,
49 * the complete build log and the output of `emerge -pqv
50 '=sys-libs/glibc-2.33-r1::gentoo'`.
51 * The complete build log is located at
52 '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/build.log'.
53 * The ebuild environment file is located at
54 '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/environment'.
55 * Working directory: '/var/tmp/portage/sys-libs/glibc-2.33-r1/homedir'
56 * S: '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33'
57
58 >>> Failed to emerge sys-libs/glibc-2.33-r1, Log file:
59
60
61 Why is it checking the build environment for a binary package?
62
63 As it stands, I can't fix this problem.
64
65 I tried editing the ebuild (removing the __thread check) and rebuilding
66 the manifest but it still fails at the same place. I've double- and
67 triple-checked it's the right ebuild but it's still running the checks!
68
69 Some assistance on installing glibc would be much appreciated!
70
71 Dan

Replies

Subject Author
Re: [gentoo-user] Broken update Neil Bothwick <neil@××××××××××.uk>