Bug 1190039 - boost package doesn't honor optflags
Summary: boost package doesn't honor optflags
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: boost
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Machata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-06 07:24 UTC by Ralf Corsepius
Modified: 2016-05-09 23:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-09 22:29:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1305019 0 unspecified CLOSED boost-build gcc.jam file no longer translates compile options such as O3 and -g for release and debug builds with the GC... 2021-02-22 00:41:40 UTC

Internal Links: 1305019

Description Ralf Corsepius 2015-02-06 07:24:43 UTC
Description of problem:
The boost package doesn't honor %optflags:

From a build.log on x86_64:
...
"g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pedantic -g -fno-strict-aliasing -pthread -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_HAS_ICU=1 -DBOOST_REGEX_DYN_LINK=1 -DNDEBUG  -I"." -I"/usr/include" -c -o "serial/boost/bin.v2/libs/regex/build/gcc-5.0.0/release/debug-symbols-on/pch-off/python-2.7/threading-multi/c_regex_traits.o" "libs/regex/build/../src/c_regex_traits.cpp"
..

Note:
* -O3 instead of -O2. This is likely to trigger sporadic compiler bugs.

* -m64 is missing. This would break multilibs in case Fedora used a gcc non-default multilib as system default (Fedora currently doesn't have one, but Fedora/RHEL once had such architectures - IIRC, the ppc or the sparc)


Version-Release number of selected component (if applicable):
boost-1.54.0-10.fc20
boost-1.55.0-8.fc21
boost-1.57.0-2.fc22

How reproducible:
Always.

Steps to Reproduce:
Rebuild the boost package and check the build.logs.

Expected results:
Package to honor %optflags.

Additional info:
ATM, these issues don't seem to have visibile effects. -O3 is likely to cause hidden bugs, esp. during compiler upgrades, the missing arch-flags (-m64) under some circumstances will cause problems when Fedora will be added new architectures.


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