Bug 1548117 - compat-openssl10: Partial injection of Fedora build flags
Summary: compat-openssl10: Partial injection of Fedora build flags
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: compat-openssl10
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Fedora28BuildFlags
TreeView+ depends on / blocked
 
Reported: 2018-02-22 18:35 UTC by Florian Weimer
Modified: 2018-02-23 14:52 UTC (History)
1 user (show)

Fixed In Version: compat-openssl10-1.0.2n-3.fc28
Clone Of:
Environment:
Last Closed: 2018-02-23 14:52:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2018-02-22 18:35:22 UTC
/usr/lib64/libcrypto.so.1.0.2n in compat-openssl10-1.0.2n-2.fc28.x86_64 was not linked with the standard Fedora linker flags (LDFLAGS) from redhat-rpm-config.

I don't quite see where this happens in the build, but the -specs=/usr/lib/rpm/redhat/redhat-hardened-ld which brings in -Wl,-z,now appears to be missing, leading to missing NOW/BIND_NOW flags, as seen with “readelf -d”.

See https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md for information on RPM macros and environment variables provided by the build environment.


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