Gentoo Archives: gentoo-user

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] glibc-2.27 is broken
Date: Thu, 01 Nov 2018 00:12:24
Message-Id: 20181101031212.6773a8ca6e67b89ab850c26e@gentoo.org
In Reply to: [gentoo-user] glibc-2.27 is broken by the
1 On Tue, 30 Oct 2018 12:27:52 -0600 the wrote:
2 > Hello,
3 >
4 > I have upgraded to sys-libs/glibc-2.27-r6
5 > and it broke the system.
6 >
7 > I can't even compile a hello world test program in c.
8 >
9 > I always get the following linking error:
10 >
11 > $ gcc main.c -o main.elf
12 > /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
13 > /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crtn.o(a.debug_info+0x1000300000000):
14 > reloc against `*UND*': error 4
15 > /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
16 > final link failed: Nonrepresentable section on output
17 > collect2: error: ld returned 1 exit status
18 >
19 > When I try to install something it fails during configuration at
20 > compiler sanity check.
21
22 Try to get binary glibc, binutils and gcc packages from a recent
23 starge3 image, and then rebuild your @system set.
24
25 Best regards,
26 Andrew Savchenko