This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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 dynamic-link/19679] gcc-4.9.3 C++ exception handling broken due to unaligned stack


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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #5 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
(In reply to H.J. Lu from comment #4)
> Please verify hjl/pr19679/2.23 branch before I backport it to 2.23 branch.

Without your patch:
markus@x4 tmp %
LD_PRELOAD=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6.0.20
/var/tmp/glibc-build/elf/ld.so ./a.out
[1]    14085 segmentation fault 
LD_PRELOAD=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6.0.20  ./a.out

With your patch:
markus@x4 tmp %
LD_PRELOAD=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6.0.20
/var/tmp/glibc-build/elf/ld.so ./a.out
Caught exception e=foo

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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