Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349069 - gradm fails to compile with "-combine" flag
Summary: gradm fails to compile with "-combine" flag
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-19 09:58 UTC by Przemysław Borkowski
Modified: 2010-12-19 19:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Przemysław Borkowski 2010-12-19 09:58:48 UTC
Like in summary. When I use system wide flag in CFLAGS like "-combine" gradm fails to compile with following error:

lex.grlearn_config.c: In function ‘grlearn_configlex’:
/usr/include/bits/stdio2.h:274: sorry, unimplemented: inlining failed in call to ‘fread’: function not inlinable
lex.grlearn_config.c:1166: sorry, unimplemented: called from here



Reproducible: Always

Steps to Reproduce:
1. Put in /etc/make.conf in CFLAGS "-combine" flag
2. emerge gradm
3.




This should be unset for gradm compilation
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-12-19 11:06:25 UTC
Seems to be glibc-related. Toolchain, do we even support the '-combine' flag?
Comment 2 Rafał Mużyło 2010-12-19 14:07:32 UTC
(In reply to comment #1)
> Seems to be glibc-related. Toolchain, do we even support the '-combine' flag?
> 

Should we ?
See http://gcc.gnu.org/gcc-4.6/changes.html.
OK, so 4.6 is yet to be released, but this is not the only package that failed with '-combine'.
Comment 3 SpanKY gentoo-dev 2010-12-19 19:43:26 UTC
no, global CFLAGS=-combine isnt supported and doesnt really make sense to