Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 298807 Details for
Bug 438308
changes in rhel5.2 gcc caused gdb.base/prelink.exp to FAIL
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
GDB testcase fix.
gdb-prelink-i386.patch (text/plain), 1.42 KB, created by
Jan Kratochvil
on 2008-03-21 20:25:25 UTC
(
hide
)
Description:
GDB testcase fix.
Filename:
MIME Type:
Creator:
Jan Kratochvil
Created:
2008-03-21 20:25:25 UTC
Size:
1.42 KB
patch
obsolete
>2008-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> > > Fix random false FAILs on i386. > * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink. > >--- ./gdb/testsuite/gdb.base/prelink.exp 1 Jan 2008 22:53:19 -0000 1.7 >+++ ./gdb/testsuite/gdb.base/prelink.exp 21 Mar 2008 20:09:59 -0000 >@@ -47,7 +47,15 @@ if { [gdb_compile "${srcdir}/${subdir}/$ > return -1 > } > >-if {[catch "system \"prelink -qNR ${libfile}\""] != 0} { >+# `--no-exec-shield' is for i386 where prelink in the exec-shield mode is >+# forced to push all the libraries tight together to fit into the first two >+# memory areas (either the ASCII Shield area or at least below the executable). >+# In this case its -R option cannot be applied and we falsely FAIL here as if >+# the system is already prelinked prelink has no choice how to randomize the >+# single new unprelinked library address without wasting the first one/two >+# memory areas. We do not care of the efficiency of loading such resulting >+# exec-shield unfriendly prelinked library. >+if {[catch "system \"prelink -qNR --no-exec-shield ${libfile}\""] != 0} { > # Maybe we don't have prelink. > return -1 > } >@@ -92,7 +100,7 @@ if {[catch "system \"prelink -uN ${libfi > untested "${testfile}.so was not prelinked, maybe system libraries are not prelinked?" > return 0 > } >-catch "system \"prelink -qNR ${libfile}\"" >+catch "system \"prelink -qNR --no-exec-shield ${libfile}\"" > > # Start with a fresh gdb >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 438308
:
298681
|
298682
| 298807