Closed Bug 359275 Opened 13 years ago Closed 4 years ago

Issues causing bad relocations when building with WRAP_SYSTEM_INCLUDES

Categories

(Core Graveyard :: Tracking, defect)

x86
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: dbaron, Assigned: dbaron)

References

Details

This is a meta-bug to track issues that cause bad relocations when configure determines that we can build with WRAP_SYSTEM_INCLUDES, which causes us to set the default visibility to hidden and wrap system includes to mark their contents as having visibility default.  This happens on Linux distros whose gcc has https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175442 fixed, such as Fedora Core 6.

These bugs generally show up as:
 * linker errors on x86_64
 * runtime problems on i386:
   * failure to run when SELinux is enabled and the library has not
     been marked with "chcon -t textrel_shlib_t"
   * failure to prelink the libraries

Builds with WRAP_SYSTEM_INCLUDES (when it can be enabled and fully works) have fewer relocations that need to be resolved at library load time and fewer function calls that need to go through the PLT (an extra level of indirection).
No longer depends on: 358934
Depends on: 358934
No longer depends on: 384172
Marking all tracking bugs which haven't been updated since 2014 as INCOMPLETE.
If this bug is still relevant, please reopen it and move it into a bugzilla component related to the work
being tracked. The Core: Tracking component will no longer be used.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.