Bug 1427285
Summary: | Rust TLS accesses are badly initialized | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Josh Stone <jistone> | ||||
Component: | binutils | Assignee: | Nick Clifton <nickc> | ||||
Status: | CLOSED ERRATA | QA Contact: | Miloš Prchlík <mprchlik> | ||||
Severity: | high | Docs Contact: | Vladimír Slávik <vslavik> | ||||
Priority: | high | ||||||
Version: | 6.10 | CC: | bgollahe, fweimer, mcermak, mnewsome, mprchlik, nickc, vslavik | ||||
Target Milestone: | rc | Keywords: | ZStream | ||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Executable files created using the "-pie" option now start correctly
Previously, the linker included in the *binutils* package produced incorrect dynamic relocations for position-independent binaries for the 32-bit Intel architecture. As a consequence, building code with the "-pie" compiler option produced binary files that failed to start. The linker has been fixed and now generates position-independent executable files that run correctly.
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 1433075 (view as bug list) | Environment: | |||||
Last Closed: | 2018-06-19 05:08:44 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1433075, 1504312 | ||||||
Attachments: |
|
Description
Josh Stone
2017-02-27 19:10:44 UTC
Created attachment 1258185 [details]
object files and saved "link-command"
I'm sure it's this binutils bug: https://sourceware.org/bugzilla/show_bug.cgi?id=12654 Upstream fix in the Git repository: commit 959b0961c9c714aa735ebb59e925fdf6f5117d99 Author: H.J. Lu <hjl.tools> Date: Fri Apr 8 16:14:49 2011 +0000 Properly handle R_386_TLS_LDO_32 for PIE. https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=959b0961c9c714aa735ebb59e925fdf6f5117d99 Thanks! The testsuite parts of that patch don't apply cleanly, but I applied just the relevant hunk in bfd/elf32-i386.c, and this works great! Verified with build binutils-2.20.51.0.2-5.48.el6. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1858 |