bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/27160] New: NOCROSSREFS 1 fail on ia64-linux after commit cd6d53


From: amodra at gmail dot com
Subject: [Bug ld/27160] New: NOCROSSREFS 1 fail on ia64-linux after commit cd6d537c48fa
Date: Fri, 08 Jan 2021 10:55:41 +0000

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

            Bug ID: 27160
           Summary: NOCROSSREFS 1 fail on ia64-linux after commit
                    cd6d537c48fa
           Product: binutils
           Version: 2.36 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: amodra at gmail dot com
  Target Milestone: ---

$ ./ld-new   -o tmpdir/cross1 -T
/home/alan/src/binutils-virgin/ld/testsuite/ld-scripts/cross1.t tmpdir/cross1.o
tmpdir/cross2.o
./ld-new: final link failed: bad value

The fail is from bfd_set_section_contents returning false on attempting to
write contents past the end of the output section.  elf_fixup_link_order causes
that by reordering .IA_64.unwind later.  .IA_64.unwind has alignment of 8 and
the new order happens to require more alignment padding.

I know that ia64 is marked obsolete, but the same situation may arise with
other targets.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]