bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/18102] New: gold -r generates wrong relocatable file


From: hjl.tools at gmail dot com
Subject: [Bug gold/18102] New: gold -r generates wrong relocatable file
Date: Tue, 10 Mar 2015 12:18:32 +0000

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

            Bug ID: 18102
           Summary: gold -r generates wrong relocatable file
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at google dot com
          Reporter: hjl.tools at gmail dot com
                CC: ian at airs dot com

On Linux/x86-64, when gold is used to generate libc_pic.os:

gcc -fuse-ld=gold   -nostdlib -nostartfiles -r -o
/export/build/gnu/glibc-test/build-x86_64-linux/libc_pic.os \
 -Wl,-d -Wl,--whole-archive
/export/build/gnu/glibc-test/build-x86_64-linux/libc_pic.a -o
/export/build/gnu/glibc-test/build-x86_64-linux/libc_pic.os

libc_pic.os is corrupted.

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