Description of problem: A simple OpenGL program (attached) will generate an unaligned access (even though RedHat's kernel won't display it anywhere by default ;o). This has a pretty large effect on performance, and/or will cause a core dump if the program is run with "prctl --unaligned=signal". This appears to be fixed in Mesa, if it's compiled with the "-D__GLX_ALIGN64" option. Version-Release number of selected component (if applicable): Mesa-3.4.2-10 How reproducible: Always Steps to Reproduce: 1. Save the following program as "test.c" --snip-- void display( void ) {glScaled( 1.0, 1.0, 1.0 );} main( int argc, char *argv[] ) { glutInit( &argc, argv ); glutCreateWindow( "test" ); glutDisplayFunc( display ); glutMainLoop(); } --snip-- 2. Compile test.c... $ gcc -lglut -lGLU -lGL -lm -o test test.c 3. Run the program with prctl... $ prctl --unaligned=signal ./test Actual results: Core dump. Expected results: No core dump. Additional info:
Mesa is compiled with this option by default in RHEL 3 and RHEL 4. Setting status to "CURRENTRELEASE".