On 07/29/2011 01:50 PM, Andrew Haley wrote:
gcj still doesn't work because, for some reason I don't yet
understand, backtraces are broken. When backtrace is called from a
thread, it wanders off the end of the stack and segfaults. This
doesn't happen with F13.
When I find out what's broken it, I'll let you know.
To compile the example, use
gcc thread.c -lpthread -fexceptions
FYI, this is extremely unlikely to be a gcc bug, given that trunk
gcc works perfectly well on F13. It's probably a change to glibc.
Andrew.