Bug 79225 - Prelinking can break C++ apps
Prelinking can break C++ apps
Product: Red Hat Linux
Classification: Retired
Component: prelink (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2002-12-08 01:49 EST by Nicholas Miell
Modified: 2008-05-01 11:38 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-19 10:34:46 EST
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 Nicholas Miell 2002-12-08 01:49:05 EST
Prelink is supposed to fall back to normal linking whenever a library an
executable has been prelinked against is changed. This doesn't work in C++

What happened:
I prelinked everything on my system, and the basically forgot about it.

Several months later, I decided to rebuild the freetype library with the
bytecode interpreter enabled.

After building and installing the package, prelinked C++ executables which
linked to freetype no longer worked. (They died at startup with a message along
the lines of "Unknown reloc type: 0x5" -- I know it was a unknown relocation
type error, and I'm pretty sure it was 0x5)

Undoing the prelink "fixes" the problem, which lead me to undo prelinking
everything on my system.

This is with prelink-0.2.0-8, and I discovered the problem with xpdf and
openoffice before and disabled prelinking entirely.
Comment 1 Jakub Jelinek 2003-02-19 10:34:46 EST
This should be fixed in glibc-2.3.1-7 and later.

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