bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle relate


From: nickc at redhat dot com
Subject: [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions
Date: Thu, 29 Mar 2018 07:12:17 +0000

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

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

> When I try to reproduce this problem with Address Sanitizer in GCC, there
> are some wired errors when I compiled binutils:

> /usr/bin/ld: ../bfd/.libs/libbfd.a(plugin.o): undefined reference to symbol
> 'dlsym@@GLIBC_2.2.5'

This is because the address sanitizer needs the "dl" library.  Change your
configure command line so that LDLFLAGS is defined as:

  LDFLAGS="-fsanitize=address -ldl"

That should fix the problem.

Cheers
  Nick

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