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 14:04:42 +0000

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-06-27
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #19 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #18)
> (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.

The problem is

  _Unwind_RaiseException;
  __asan_*;
  ^^^^^^^^^^^^^ This matches __asan_extra_spill_area.

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