Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 955458
Summary: | racoon2 package should be built with PIE flags | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dhiru Kholia <dkholia> | ||||||
Component: | racoon2 | Assignee: | Pavel Šimerda (pavlix) <psimerda> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 19 | CC: | bressers, dhiru, psimerda | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | racoon2-20100526a-28.fc19 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-04-02 09:25:57 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: | |||||||||
Bug Depends On: | 914426 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Dhiru Kholia
2013-04-23 05:31:48 UTC
Created attachment 748293 [details]
this should enable PIE
Created attachment 748294 [details]
this should fix the build
Pavel, The attached patches should fix the build (which is currently failing) and enable PIE. Please test them. Thanks! Hi, Is there any progress on this? Does the attached modified .spec file works? This should wait until racoon2 actually builds on recent Fedora systems, see bug #914426. Hardened build won't work for me without further tweaking: gcc -o spmd -g -Wall -DSPMD_DEBUG -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" main.o dns.o udp.o query.o task.o signal.o shell.o utils.o cache.o spmd_pfkey.o fqdn_query.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib -lcrypto -lracoon -lcrypto /bin/ld: spmdctl.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC spmdctl.o: could not read symbols: Bad value /bin/ld: main.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC main.o: could not read symbols: Bad value c Suggestions welcome. Works for me now, fixed in rawhide. racoon2-20100526a-27.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/racoon2-20100526a-27.fc19 Package racoon2-20100526a-27.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing racoon2-20100526a-27.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3616/racoon2-20100526a-27.fc19 then log in and leave karma (feedback). Package racoon2-20100526a-28.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing racoon2-20100526a-28.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3616/racoon2-20100526a-28.fc19 then log in and leave karma (feedback). racoon2-20100526a-28.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |