This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects
- From: "t-gcc-bugzilla at snowelm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Feb 2013 15:22:38 +0000
- Subject: [Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects
- Auto-submitted: auto-generated
- References: <bug-56393-4@http.gcc.gnu.org/bugzilla/>
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.