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 1277182 - libsedml- clang++ ignores flags for harden package
Summary: libsedml- clang++ ignores flags for harden package
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libsedml
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Antonio T. (sagitter)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1277179
Blocks: harden-failure
TreeView+ depends on / blocked
 
Reported: 2015-11-02 15:33 UTC by Antonio T. (sagitter)
Modified: 2016-01-01 19:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-01 19:34:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Antonio T. (sagitter) 2015-11-02 15:33:38 UTC
Description of problem:
libsedml must be compiled with clang++ compiler on Fedora > 22 x86_64 and aarch64, but flags for hardened builds are ignored:

clang: warning: -Wl,-z,relro: 'linker' input unused
clang: warning: -Wl,-z,now: 'linker' input unused
clang: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1'
clang: warning: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld'

Version-Release number of selected component (if applicable):
libsedml-0.3.1-4

How reproducible:
Always on Fedora >22 x86_64 aarch64

Note:
Current checksec output seems good:

 checksec --file libsedml.so.0.3.1
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    DSO             No RPATH   No RUNPATH   ./libsedml.so.0.3.1

Comment 1 Antonio T. (sagitter) 2016-01-01 19:34:59 UTC
Fixed with release 0.3.1-9.


Note You need to log in before you can comment on or make changes to this bug.