On Tue, 30 Oct 2018 12:27:52 -0600 the wrote: > Hello, > > I have upgraded to sys-libs/glibc-2.27-r6 > and it broke the system. > > I can't even compile a hello world test program in c. > > I always get the following linking error: > > $ gcc main.c -o main.elf > /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: > /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crtn.o(a.debug_info+0x1000300000000): > reloc against `*UND*': error 4 > /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: > final link failed: Nonrepresentable section on output > collect2: error: ld returned 1 exit status > > When I try to install something it fails during configuration at > compiler sanity check.
Try to get binary glibc, binutils and gcc packages from a recent starge3 image, and then rebuild your @system set. Best regards, Andrew Savchenko
pgpBJBBbhDwJU.pgp
Description: PGP signature