1 |
181030 the wrote: |
2 |
> I have upgraded to sys-libs/glibc-2.27-r6 and it broke the system. |
3 |
> I can't even compile a hello world test program in c. |
4 |
> I always get the following linking error: |
5 |
> $ gcc main.c -o main.elf |
6 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: |
7 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crtn.o(a.debug_info+0x1000300000000): |
8 |
> reloc against `*UND*': error 4 |
9 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: |
10 |
> final link failed: Nonrepresentable section on output |
11 |
> collect2: error: ld returned 1 exit status |
12 |
> When I try to install something it fails during configuration |
13 |
> at compiler sanity check. |
14 |
|
15 |
I updated to this version of Glibc 181027 & emerged other pkgs successfully. |
16 |
I don't use the 'multiarch' USE flag. |
17 |
|
18 |
> Should I report this as a bug or is there's something wrong with me ? |
19 |
|
20 |
I'm sure there's nothing wrong with you (smile), |
21 |
but there mb a USE flag or similar which needs changing. |
22 |
|
23 |
NB above : the error you cite is '4' : |
24 |
this shows there are other errors '1' '2' '3' above, which are more important. |
25 |
It would help if you find them & report them to the list. |
26 |
|
27 |
No doubt others will offer more detailed advice. |
28 |
|
29 |
-- |
30 |
========================,,============================================ |
31 |
SUPPORT ___________//___, Philip Webb |
32 |
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto |
33 |
TRANSIT `-O----------O---' purslowatchassdotutorontodotca |