SDL 1.1.4 problems with RedHat 7 Beta

I’m having some trouble with SDL 1.1.4, which I compiled from the source
rpms, under RedHat 7 Beta. Every SDL application that uses SDL_mixer
segfaults upon startup. SDL 1.1.3 works perfectly, but I’m trying to
play Aleph One/SDL, which I could do fine under RedHat 6.2. I’m
assuming that this is an interaction between SDL and SDL_mixer, since
apps like ‘fire’ work as expected.

Does anyone have any ideas ? I suspected a glibc problem, but a
backtrace in gdb reveals the segfault as occuring within an SDL_mixer
function. Any ideas ?

I’ll try the CVS version.–
Ian Pitcher, 0.33333333 of Technician
@Ian_Pitcher | http://www.technician.org/
“Soon it will work everywhere!” - Konstantin Raudive, via. clock radio

This problem appears to be due to the fact that the .spec file for the
rpm (source or otherwise) specifies “–disable-pthread-sem” as an option
for configure. Disabling pthread semaphores when compiling SDL under
RedHat 7 Beta causes everything linked against SDL to crash. I don’t
know what this has to do with, but removing that option fixed the
problem. The build environment consists of glibc 2.1.91 and gcc 2.96.

Why is this option enabled by default in the configure script, but
disabled in the rpm .spec ? In any event, the OpenGL support in 1.1.5
is looking great !–
Ian Pitcher, 0.33333333 of Technician
@Ian_Pitcher | http://www.technician.org/
“Soon it will work everywhere!” - Konstantin Raudive, via. clock radio

This problem appears to be due to the fact that the .spec file for the
rpm (source or otherwise) specifies “–disable-pthread-sem” as an option
for configure. Disabling pthread semaphores when compiling SDL under
RedHat 7 Beta causes everything linked against SDL to crash. I don’t
know what this has to do with, but removing that option fixed the
problem. The build environment consists of glibc 2.1.91 and gcc 2.96.

Why is this option enabled by default in the configure script, but
disabled in the rpm .spec ?

This is a workaround for binary incompatibility between glibc 2.1.2
and glibc 2.1.1. I’ll look into the crash.

In any event, the OpenGL support in 1.1.5 is looking great !

Thanks!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software