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 driver/55379] -static -static-libasan pass -Bdynamic to linker


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55379

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-18 19:35:21 UTC ---
(In reply to comment #3)
> Note: fully static linking is not supported by libsanitizer at all and I don't
> think it will. 
> Reason: on linux asan uses "dlsym(RTLD_NEXT, ...)" and on Mac it uses 
> (will soon use) function inerposition. 
> Neither works for fully static binaries, afaict.

Then we should issue an error if -static is used with -faddress-sanitizer.


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