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]

Re: c++/9588: memory fault when user throws exception from terminate()


I would guess that you have a library, most likely libc, built with
a buggy toolchain that didn't terminate .eh_frame with a zero.  You
can use a recent (later than 2002-11-04) version of readelf to
display the terminator with something like

powerpc64-linux-readelf --debug-dump=frames \
 /usr/local/powerpc64-linux/lib/libc.so.6 | grep ZERO

which should result in

xxxxxxxx ZERO terminator

As far as I know, Jakub Jelinek fixed the toolchain problem 2002-04-22.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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