Bug 107332 - get the following error while exec'ing. unexpected PLT reloc type 0x00
get the following error while exec'ing. unexpected PLT reloc type 0x00
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: glibc (Show other bugs)
i686 Linux
high Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-10-16 19:20 EDT by Shailesh Phansalkar
Modified: 2007-11-30 17:06 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-28 04:15:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Shailesh Phansalkar 2003-10-16 19:20:58 EDT
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 

How reproducible:

happens every time.

Steps to Reproduce:
1. Exec the application.
Actual results:

Expected results:

Additional info:
Comment 1 Ulrich Drepper 2004-09-28 04:15:21 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.