Bug 125539
Summary: | not compiled with -fPIC | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 2.1 | Reporter: | James Willcox <james> | ||||
Component: | glib2 | Assignee: | Matthias Clasen <mclasen> | ||||
Status: | CLOSED WONTFIX | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2.1 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-10-19 19:22:24 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
James Willcox
2004-06-08 16:24:17 UTC
Actually, I was wrong, it was one of our packages. Sigh. Hmm, I can't make up my mind here. The rhel3 packages don't seem to be compiled with either, or so the linker says. Reopening. I will need more information to make sense of this. The object files are definitively compiled with -fPIC, at least thats what I'm seeing here. And the produced object files show up as REL (Relocatable file) in readelf -h Am I missing something here ? What exactly is the problem you're seeing ? When trying to statically link to glib and create a shared object, I get the following messages: /usr/bin/ld: /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/../../../../lib64/libglib-2.0.a(gmessages.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC I've a test case, which I will attach. Created attachment 101300 [details]
Test case (tarball)
Matthias: Is it compiled with "-fPIC" or is it compiled with "-fpic"? I'd check the rpm build logs directly to be sure. This bug is filed against RHEL2.1, which is in maintenance phase. During the maintenance phase, only security errata and select mission critical bug fixes will be released for enterprise products. Since this bug does not meet that criteria, it is now being closed. For more information of the RHEL errata support policy, please visit: http://www.redhat.com/security/updates/errata/ If you feel this bug is indeed mission critical, please contact your support representative. You may be asked to provide detailed information on how this bug is affecting you. |