Summary: | dev-scheme/guile-2.0.12-r1 fails to build with -ffast-math (from -Ofast) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sven Müller <musv> |
Component: | Current packages | Assignee: | Scheme Project <scheme> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | hougelangley1987, jstein, tslabinski |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
URL: | https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36338 | ||
See Also: | https://github.com/gentoo/gentoo/pull/12401 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info |
Description
Sven Müller
2016-11-05 10:14:05 UTC
Created attachment 452410 [details]
emerge --info
I have experienced the same issue on AMD64. It seems to be cause by -ffast-math being enabled in -Ofast. Adding -fno-fast-math to my CFLAGs eliminated the issue. I've found -O2 also can prevent compilation. -O1 worked. (In reply to James Cloos from comment #3) > I've found -O2 also can prevent compilation. > > -O1 worked. Is this still present for new versions 2.0.13-r2 and 2.0.14-r2 which are in tree? (In reply to Amy Liffey from comment #4) > (In reply to James Cloos from comment #3) > > I've found -O2 also can prevent compilation. > > > > -O1 worked. > > Is this still present for new versions 2.0.13-r2 and 2.0.14-r2 which are in > tree? I have done several builds on amd64 for 2.0.14-r3, my findings: I'm unable to reproduce any issue with only -O2. I can reproduce the failure with only -Ofast, and make it pass using -Ofast -fno-fast-math. *** Bug 793179 has been marked as a duplicate of this bug. *** |