Bug 955282
| Summary: | gogoc package should be built with PIE flags | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dhiru Kholia <dkholia> | ||||
| Component: | gogoc | Assignee: | Juan Orti <jorti> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 19 | CC: | bressers, jorti | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-05-03 23:58:37 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
Dhiru Kholia
2013-04-22 17:16:54 UTC
This package is already built with the macro _hardened_build An example from the build log: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -O2 -Wall ... I think "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" does the -fPIE compiling, right? Can be something wrong in your script? I will give it a look in more detail tomorrow. Created attachment 739803 [details]
this should enable PIE
gogoc-1.2-24.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/gogoc-1.2-24.fc18 (In reply to comment #2) > Created attachment 739803 [details] > this should enable PIE You are right. I have submitted an update with the fix, now the security analysis gives this output: Analyzing gogoc-1.2-24.fc18.x86_64.rpm ... gogoc,gogoc-1.2-24.fc18.x86_64.rpm,/usr/bin/gogoc,NX=Enabled,CANARY=Enabled,RELRO=Enabled,PIE=Enabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=network-ip Package gogoc-1.2-24.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gogoc-1.2-24.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-6656/gogoc-1.2-24.fc18 then log in and leave karma (feedback). gogoc-1.2-24.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. gogoc-1.2-24.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/gogoc-1.2-24.fc19 gogoc-1.2-24.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |