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

            Bug ID: 19549
           Summary: ld.gold internal error on ARM with recursive linking
           Product: binutils
           Version: 2.27 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: arnd at arndb dot de
  Target Milestone: ---

Created attachment 8948
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8948&action=edit
shell script to provoke internal error in ld.gold

recursively linking multiple objects that together exceed 32MB of .text causes
an internal error with ld.gold:

CROSS=/home/arnd/cross-gcc/bin/arm-linux-gnueabi- bash test.sh
/home/arnd/cross-gcc/bin/arm-linux-gnueabi-ld.gold: internal error in
arm_branch_common, at /home/arnd/git/binutils/gold/arm.cc:4046

I created the test case to simulate a failure to link an 'allyesconfig' Linux
kernel, however the failure is slightly different. However, the failure case in
the kernel is different, there we get a relocation overflow because of missing
trampolines from the recursive linking.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to