Red Hat Bugzilla – Bug 107332
get the following error while exec'ing. unexpected PLT reloc type 0x00
Last modified: 2007-11-30 17:06:53 EST
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):
2.4.9-e.27smp #1 SMP
happens every time.
Steps to Reproduce:
1. Exec the application.
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.