Bug 109457
Summary: | libaio DSO has text relocation | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Ulrich Drepper <drepper> | ||||||
Component: | libaio | Assignee: | Jeff Moyer <jmoyer> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
Severity: | low | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i686 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-08-26 07:42:25 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Ulrich Drepper
2003-11-07 23:42:51 UTC
Created attachment 95808 [details]
Patch to fix the problem
Haven't done much testing but the code passed visual inspection.
Created attachment 98017 [details]
change libaio to use syscall(2)
This patch gets rid of the inline assembler and changes it to use syscall(2).
I've also added the -fpic as suggested by Uli. Uli, does this fix the problem
equally as well?
The patch looks OK. Using syscall() is a little bit less efficient but the costs vanish compared to the syscall cost itself. I haven't tested the patch but if it builds on all archs and the test using readelf described in the report everything should be fine. The second patch is in the current release (0.3.99). |