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/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects


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

--- Comment #4 from Takaki Makino <t-gcc-bugzilla at snowelm dot com> 2013-02-19 15:22:38 UTC ---
Created attachment 29499
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29499
reduced testcase

I tried to made a fairly reduced testcase from boost.
Attached please find the tarball.

make CXX=/your/head/gcc

two programs are built and run.
The statically linked one, a.out.static, runs happily, 
while a.out.dynamic, the dynamically linked one, fails with SIGSEGV.
Tested on linux x86_64.


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