bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/25975] --dynamic-list doesn't work correctly


From: hjl.tools at gmail dot com
Subject: [Bug gold/25975] --dynamic-list doesn't work correctly
Date: Sat, 27 Jun 2020 13:49:15 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i at maskray dot me
            Summary|clang -fsanitze=address     |--dynamic-list doesn't work
                   |prints warning only with    |correctly
                   |gold                        |

--- Comment #18 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to dilyan.palauzov@aegee.org from comment #17)
> libclang_rt.asan-x86_64.a.syms, included in
> https://mail.aegee.org/dpa/pr25975/pr-gold-25975.tar.xz, does not contain
> “spill".

I got


[hjl@gnu-cfl-2 pr-gold-25975]$ ld.bfd -Llib64 --hash-style=both --eh-frame-hdr
-m elf_x86_64 -dynamic-linker ./ld-linux-x86-64.so.2 -o a.out ./crt1.o ./crti.o
./crtbegin.o --whole-archive ./libclang_rt.asan-x86_64.a --no-whole-archive
--dynamic-list=./libclang_rt.asan-x86_64.a.syms i.o --no-as-needed -lpthread
-lrt -lm -ldl -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed 
-lgcc_s --no-as-needed ./crtend.o ./crtn.o
[hjl@gnu-cfl-2 pr-gold-25975]$ ld.gold -Llib64 --hash-style=both --eh-frame-hdr
-m elf_x86_64 -dynamic-linker ./ld-linux-x86-64.so.2 -o a.out ./crt1.o ./crti.o
./crtbegin.o --whole-archive ./libclang_rt.asan-x86_64.a --no-whole-archive
--dynamic-list=./libclang_rt.asan-x86_64.a.syms i.o --no-as-needed -lpthread
-lrt -lm -ldl -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed 
-lgcc_s --no-as-needed ./crtend.o ./crtn.o
ld.gold: warning: Cannot export local symbol '__asan_extra_spill_area'
[hjl@gnu-cfl-2 pr-gold-25975]$ 

It looks like a gold --dynamic-list bug.

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