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

--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
Hi Dongliang,

> first let me show my concrete instructions to convince you it is reproducible.
> And then I will post it to GCC Bugzilla.
> 
> ```
> wget https://ftp.gnu.org/gnu/binutils/binutils-2.29.tar.gz
> tar -xvf binutils-2.29.tar.gz 
> cd binutils-2.29/
> CC=clang CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address"
> ./configure
> make
> cd binutils/
> ls
> ./cxxfilt < ~/Downloads/poc

I followed this outline almost exactly and the problem did not occur.
The difference was that I used "CC=gcc" rather than "CC=clang".  I did
try using clang, but it would not run with the -fsanitize=address option.
Possibly something to do with the sanitization libraries that I have
installed on my machine.

Anyway - it looks like you have stumbled across a clang bug.  If possible,
please could you check that compiling with gcc does work for you, and if
so, please can you report this problem to the clang developers ?

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to