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 1552648 - libcxl: Incomplete Fedora build flags injection
Summary: libcxl: Incomplete Fedora build flags injection
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libcxl
Version: 28
Hardware: ppc64le
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Normand
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PPCTracker Fedora28BuildFlags
TreeView+ depends on / blocked
 
Reported: 2018-03-07 13:28 UTC by Florian Weimer
Modified: 2018-04-17 00:11 UTC (History)
2 users (show)

Fixed In Version: libcxl-1.5-4.fc29 libcxl-1.5-4.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-17 00:11:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2018-03-07 13:28:02 UTC
/usr/lib64/libcxl.so.1.5 in libcxl-1.5-3.fc28.ppc64le has not been linked with the standard Fedora linker flags (LDFLAGS) from redhat-rpm-config:

gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fstack-clash-protection -fPIC  -shared libcxl.o libcxl_sysfs.o -o libcxl.so.1.5 -Wl,--version-script symver.map -Wl,-soname,libcxl.so.1

The LDFLAGS settings are completely absent.

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.

Comment 1 Than Ngo 2018-03-08 08:57:44 UTC
it's fixed in libcxl-1.5-4.fc29

Comment 2 Fedora Update System 2018-03-08 09:11:06 UTC
libcxl-1.5-4.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-97242054a6

Comment 3 Fedora Update System 2018-03-08 15:29:54 UTC
libcxl-1.5-4.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-97242054a6

Comment 4 Fedora Update System 2018-04-17 00:11:47 UTC
libcxl-1.5-4.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


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