Summary: | dev-util/boost-build-1.34.1 fails to compile w/ CFLAGS="-combine" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John R. Graham <john_r_graham> |
Component: | [OLD] Library | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch adds missing function prototypes and/or header file includes.
Modified ebuild applies the new patch. Ebuild comments updated for posterity. |
Description
John R. Graham
![]() Created attachment 142140 [details, diff]
Patch adds missing function prototypes and/or header file includes.
Created attachment 142141 [details, diff]
Modified ebuild applies the new patch.
(In reply to comment #0) > CXXFLAGS="-O2 -march=prescott -mtune=prescott -msse2 -frename-registers -fweb > -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident > -combine -fvisibility-inlines-hidden" Reopen once you've reproduces this with *sane* C[XX]FLAGS. http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/build-environment/index.html Jakub, It's reproducible with CFLAGS/CXXFLAGS set to just "-O2 -combine", so I guess it comes down to whether Gentoo currently considers "-combine" to be sane. What say you? - John No, we don't support stuff like -combine at all. Created attachment 142167 [details]
Ebuild comments updated for posterity.
The ebuild comments have been updated to show that the patch is only necessary when experimenting with the unsupported -combine compiler flag.
- John
If you want this fixed, take it upstream. Thanks. Will do it. Thanks, Jakub. - John P.S.: -combine is CFLAGS, not CXXFLAGS. |