https://sourceware.org/bugzilla/show_bug.cgi?id=31895

            Bug ID: 31895
           Summary: LD segfault in libbfd
           Product: binutils
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: corentin.silvapere...@4d-virtualiz.com
  Target Milestone: ---

Hi,

Recently i have some problems while compiling softwares. I'm on Ubuntu 20.04
but i had the same problem on Ubuntu 24.04. I often have this message
"collect2: fatal error: ld terminated with signal 11 [Erreur de segmentation],
core dumped" when compiling, and i've looked in dmesg to find an explanation.
Here's what dmesg gave me :

[27357.364350] ld[516146]: segfault at 1fb79 ip 00007f108e72b0f6 sp
00007ffc282a3030 error 4 in libbfd-2.34-system.so[7f108e6dc000+b1000]
[27357.364357] Code: ed 75 27 e9 6a d3 ff ff 0f 1f 40 00 0f b6 42 19 83 e3 01
01 db 83 e0 fd 09 c3 88 5a 19 48 8b 6d 00 48 85 ed 0f 84 48 d3 ff ff <0f> b6 55
18 48 89 e8 80 fa 07 75 08 48 8b 45 28 0f b6 50 18 45 31

[27599.972532] ld[543684]: segfault at 0 ip 00007f65d770fac4 sp
00007ffccb357fe8 error 4 in libbfd-2.34-system.so[7f65d76de000+b1000]
[27599.972541] Code: 48 21 f0 48 83 c1 01 48 31 d0 0f b6 51 ff 84 d2 75 d8 89
c0 c3 90 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa <0f> b6 17
48 8d 77 01 b8 05 15 00 00 84 d2 74 2c 0f 1f 40 00 48 89

[28912.103007] ld[712964]: segfault at 0 ip 00007f9baddfbac4 sp
00007ffdcea71148 error 4 in libbfd-2.34-system.so[7f9baddca000+b1000]
[28912.103016] Code: 48 21 f0 48 83 c1 01 48 31 d0 0f b6 51 ff 84 d2 75 d8 89
c0 c3 90 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa <0f> b6 17
48 8d 77 01 b8 05 15 00 00 84 d2 74 2c 0f 1f 40 00 48 89

[29086.396713] ld[716997]: segfault at c9 ip 00007f330b1b4133 sp
00007ffc8ea24e90 error 4 in libbfd-2.34-system.so[7f330b165000+b1000]
[29086.396719] Code: 18 45 31 e4 45 31 ed 80 fa 05 75 0b 48 8b 50 28 4c 8b 68
30 44 8b 22 41 8b 56 20 0f b6 58 19 4c 89 fe 48 89 ef e8 8d 3d fb ff <45> 8b 46
20 0f b6 45 18 d0 eb 83 e3 01 48 89 ea 4d 01 c7 3c 07 74



I've already tried to re-install binutils, gcc, installed a superior version of
gcc (was on 9.4.0 and tried 10.5.0), and did some research about those errors
but i can't find anything useful. Maybe you have an idea ?

Best regards

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to