http://sourceware.org/bugzilla/show_bug.cgi?id=14746

             Bug #: 14746
           Summary: ld: internal error in address, at gold/output.h:72
                    while building Linux kvm tool
           Product: binutils
           Version: 2.24 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: i...@airs.com
        ReportedBy: mar...@trippelsdorf.de
                CC: ccout...@google.com
    Classification: Unclassified


...
ld -T x86/bios/rom.ld.S -o x86/bios/bios.bin.elf x86/bios/memcpy.o
x86/bios/entry.o x86/bios/e820.o x86/bios/int10.o x86/bios/int15.o
ld: internal error in address, gold/output.h:72

markus@x4 kvm % cat x86/bios/rom.ld.S
OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH(i386)

SECTIONS {
        .text 0 : {
                *(.text)
        }

        /DISCARD/ : {
                *(.debug*)
                *(.data)
                *(.bss)
                *(.eh_frame*)
        }
}

To reproduce you need an up-to-date kernel git tree.
Then:
 git checkout -b kvm_tool
 git pull git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux.git
kvmtool/next
 make -C tools/kvm

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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