Summary: | media-libs/alsa-oss-1.0.25: fails to build with fortify due to error: inlining failed in call to always_inline 'open': function not inlinable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aladjev.andrew, alsa-bugs, b.buschinski, crabbedhaloablution |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://gcc.gnu.org/PR33763 | ||
See Also: | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33763 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 390247, 435002 | ||
Attachments: | build.log |
Description
Diego Elio Pettenò (RETIRED)
2012-06-28 09:21:29 UTC
Same here Created attachment 319178 [details]
build.log
I can confirm this related bug is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33763 The "error: inlining failed in call to always_inline 'open': function not inlinable" is reporting a bug in GCC which should inline the function but does not because of implementation bugs. I think this bug should be re-assigned to toolchain@gentoo.org and the patch used by fedora should be applied since the patch adopted by Debian causes miscompilation of glibc. The fedora patch just suppresses the error and silently does not inline the function. Link to fedora patch: http://pkgs.fedoraproject.org/cgit/gcc.git/plain/gcc47-pr33763.patch i'm not keen on picking up that patch. maybe Ryan has a different opinion. i'm pretty sure this has come up before, but i can't find the earlier report. not really a 4.7 regression. What alternative do we have? (In reply to comment #7) hack around it in alsa as this bug isn't gentoo-specific i probably would be happier with the patch if we could make it only kick in when fortify was enabled, but i've never hacked on gcc, so i don't know how to make that happen. Looks like it went in upstream and got backported to the branches. Fixed in 4.7.2 p1.3. |