I recently compiled SDL 1.08 w/ egcs 1.1.2 on an rh-6.2 system.
However, any SDL program that uses SDL’s threading capabilities seems to
seg. Here’s the gdb output for the testhread program:
Breakpoint 1, main (argc=1, argv=0xbffff8d4) at testhread.c:38
38 if ( SDL_Init(0) < 0 ) {
42 atexit(SDL_Quit);
44 alive = 1;
45 thread = SDL_CreateThread(ThreadFunc, “#1”);
[New Thread 13950 (manager thread)]
[New Thread 13949 (initial thread)]
[New Thread 13951]
Program received signal SIGSEGV, Segmentation fault.
0x400b2442 in __pthread_create_2_0 (thread=0x4, attr=0xbffff818,
start_routine=0x40053a60 , arg=0x1ff000) at pthread.c:488
488 pthread.c: No such file or directory.