181030 the wrote:
> 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.

I updated to this version of Glibc 181027 & emerged other pkgs successfully.
I don't use the 'multiarch' USE flag.

> Should I report this as a bug or is there's something wrong with me ?

I'm sure there's nothing wrong with you (smile),
but there mb a USE flag or similar which needs changing.

NB above : the error you cite is '4' :
this shows there are other errors '1' '2' '3' above, which are more important.
It would help if you find them & report them to the list.

No doubt others will offer more detailed advice.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca


Reply via email to