[llvm-bugs] [Bug 45901] New: clang shall not pass --hash-style to the linker
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed May 13 06:27:12 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45901
Bug ID: 45901
Summary: clang shall not pass --hash-style to the linker
Product: clang
Version: 10.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: dilyan.palauzov at aegee.org
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
I compile binutils with ./configure --enable-default-hash-style=gnu . I
compile gcc with ./configure --with-linker-hash-style=gnu. So when I call gcc,
or just ld.bfd, or ld.gold I get no sysv hashes.
When I call `clang -v` I see that it passes to the linker --hash-style=both .
During the configuration (before the build) of clang I see no option to set the
default hash style.
• Add a CMAKE option to set the default hash style, when calling the linker,
with default of not sending --hash-style= to the linker
• Do not pass -hash-style= when calling the linker, unless explicitly told to
do so.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200513/2ff2250e/attachment.html>
More information about the llvm-bugs
mailing list