Re: Segfault in _Unwind_* code called from pthread_exit

2017-08-23 Thread Mark Millard
Tijl Coosemans tijl at FreeBSD.org wrote on Wed Aug 23 14:38:27 UTC 2017 : > The following program segfaults for me on amd64 when linked like this: > > cc -o test test.c -lpthread -L/usr/local/lib/gcc5 -lgcc_s -rpath > /usr/local/lib/gcc5 > > > #include > #incl

Segfault in _Unwind_* code called from pthread_exit

2017-08-23 Thread Tijl Coosemans
Hi, The following program segfaults for me on amd64 when linked like this: cc -o test test.c -lpthread -L/usr/local/lib/gcc5 -lgcc_s -rpath /usr/local/lib/gcc5 #include #include void * thr( void *arg ) { return( NULL ); } int main( void ) { p