Description of problem: Get this error message while exec'ing my application and exec fails. error while loading shared libraries: unexpected PLT reloc type 0x00 I get this only when I compile the app using -g and not when I use any optimization flags like +O2. Version-Release number of selected component (if applicable): glibc-2.2.4-32.8 gcc-2.96-118.7.2 2.4.9-e.27smp #1 SMP How reproducible: happens every time. Steps to Reproduce: 1. Exec the application. 2. 3. Actual results: Expected results: Additional info:
This means your binary is not build correctly. In the relocation section containing the PLT relocations you have an entry encoded with 0 instead of R_386_JMP_SLOT. This is a bug of the linker. If you can reproduce this with recent AS2.1 versions with all updates, file a new bug against binutils and include the output of readelf -r BINARY and the object files used (or a recipe to produce them). I'm closing the bug since it's no glibc issue at all.