bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/25975] clang -fsanitze=address prints warning only with gold


From: hjl.tools at gmail dot com
Subject: [Bug gold/25975] clang -fsanitze=address prints warning only with gold
Date: Sat, 27 Jun 2020 13:22:58 +0000

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

--- Comment #16 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to dilyan.palauzov@aegee.org from comment #12)
> Calling ./chroot-gold-asan from
> https://mail.aegee.org/dpa/pr25975/pr-gold-25975.tar.xz (39MB), which is the
> same as calling
> 
>   chroot . ./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
> 
> prints:
>   ./ld.gold: warning: Cannot export local symbol '__asan_extra_spill_area'
> 
> ld.gold is from binutils-gdb.master, commit
> 607b483327fdfc75fb193870b3c4e7445ce3f64d.

Do you have __asan_extra_spill_area in ./libclang_rt.asan-x86_64.a.syms?

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