bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/32111] New: --incremental-full doesn't work


From: hjl.tools at gmail dot com
Subject: [Bug gold/32111] New: --incremental-full doesn't work
Date: Thu, 22 Aug 2024 15:39:52 +0000

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

            Bug ID: 32111
           Summary: --incremental-full doesn't work
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: hjl.tools at gmail dot com
                CC: ian at airs dot com
  Target Milestone: ---
            Target: aarch64

gcctestdir/collect-ld --build-id --no-add-needed --eh-frame-hdr
--hash-style=gnu -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL
-maarch64linux -o incremental_test /lib/../lib64/crt1.o /lib/../lib64/crti.o
/opt/rh/gcc-toolset-13/root/usr/lib/gcc/aarch64-redhat-linux/13/crtbegin.o
-Lgcctestdir -L/opt/rh/gcc-toolset-13/root/usr/lib/gcc/aarch64-redhat-linux/13
-L/opt/rh/gcc-toolset-13/root/usr/lib/gcc/aarch64-redhat-linux/13/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64
-L/opt/rh/gcc-toolset-13/root/usr/lib/gcc/aarch64-redhat-linux/13/../../..
--incremental-full -z norelro -no-pie incremental_test_1.o incremental_test_2.o
-lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state
--as-needed -lgcc_s --pop-state
/opt/rh/gcc-toolset-13/root/usr/lib/gcc/aarch64-redhat-linux/13/crtend.o
/lib/../lib64/crtn.o
gcctestdir/collect-ld: internal error in got_entry_count, at
/home/hjl/git/binutils-gdb/gold/target.h:1038
collect2: error: ld returned 1 exit status

  // Return the number of entries in the GOT.  This is only used for
  // laying out the incremental link info sections.  A target needs
  // to implement this to support incremental linking.

  virtual unsigned int
  got_entry_count() const
  { gold_unreachable(); }

aarch64 doesn't provide got_entry_count.

-- 
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]