This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/78532] [7 Regression] libsanitizer fails to build on sparc64-linux-gnu


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78532

--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Tue, 29 Nov 2016, m.ostapenko at samsung dot com wrote:

> /home/max/src/glibc/resolv/ns_print.c:99: undefined reference to
> `__stack_chk_guard'

You get this if glibc and GCC have mismatched stack checking 
configuration.  To avoid that, use the --with-glibc-version=<major.minor> 
option when configuring a bootstrap GCC to be used to build glibc.

Mainline glibc's build-many-glibcs.py knows how to configure GCC and glibc 
for building many different configurations.  It uses 
--disable-libsanitizer, but if libsanitizer is meant to work for all glibc 
configurations you could try removing it (adding it back for the initial 
bootstrap GCC only) and seeing what libsanitizer problems it shows up.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]