Created attachment 452408 [details] build.log guile-1.8.8-r2 builds fine. guile-2.0.12 fails with: -L "/var/tmp/portage/dev-scheme/guile-2.0.12-r1/work/guile-2.0.12/guile-readline" \ -o "language/ecmascript/impl.go" "language/ecmascript/impl.scm" %% Reduce/Reduce conflict (reduce 11, reduce 7) on '--' in state 422 %% Reduce/Reduce conflict (reduce 11, reduce 7) on '++' in state 422 %% Reduce/Reduce conflict (reduce 11, reduce 7) on '-' in state 422 %% Reduce/Reduce conflict (reduce 11, reduce 7) on '+' in state 422 %% Reduce/Reduce conflict (reduce 11, reduce 7) on 'semicolon' in state 422 %% Reduce/Reduce conflict (reduce 11, reduce 7) on 'dot' in state 422 %% Reduce/Reduce conflict (reduce 11, reduce 7) on 'lbracket' in state 422 %% Reduce/Reduce conflict (reduce 11, reduce 7) on 'lparen' in state 422 %% Reduce/Reduce conflict (reduce 9, reduce 6) on '--' in state 397 %% Reduce/Reduce conflict (reduce 9, reduce 6) on '++' in state 397 %% Reduce/Reduce conflict (reduce 9, reduce 6) on '-' in state 397 %% Reduce/Reduce conflict (reduce 9, reduce 6) on '+' in state 397 %% Reduce/Reduce conflict (reduce 9, reduce 6) on 'semicolon' in state 397 %% Reduce/Reduce conflict (reduce 9, reduce 6) on 'dot' in state 397 %% Reduce/Reduce conflict (reduce 9, reduce 6) on 'lbracket' in state 397 %% Reduce/Reduce conflict (reduce 9, reduce 6) on 'lparen' in state 397 %% Shift/Reduce conflict (shift 367, reduce 49) on 'else' in state 319 %% Shift/Reduce conflict (shift 144, reduce 177) on 'in' in state 242 %% Shift/Reduce conflict (shift 144, reduce 178) on 'in' in state 241 %% Shift/Reduce conflict (shift 144, reduce 179) on 'in' in state 240 %% Shift/Reduce conflict (shift 144, reduce 180) on 'in' in state 239 %% Shift/Reduce conflict (shift 80, reduce 119) on 'colon' in state 125 %% Shift/Reduce conflict (shift 170, reduce 139) on '++' in state 85 %% Shift/Reduce conflict (shift 169, reduce 139) on '--' in state 85 %% Shift/Reduce conflict (shift 153, reduce 159) on '+' in state 49 %% Shift/Reduce conflict (shift 152, reduce 159) on '-' in state 49 %% Shift/Reduce conflict (shift 144, reduce 176) on 'in' in state 47 make[2]: *** [Makefile:2235: language/ecmascript/impl.go] Floating point exception make[2]: *** Waiting for unfinished jobs.... wrote `language/ecmascript/parse.go' make[2]: Leaving directory '/var/tmp/portage/dev-scheme/guile-2.0.12-r1/work/guile-2.0.12/module' make[1]: *** [Makefile:1838: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-scheme/guile-2.0.12-r1/work/guile-2.0.12' make: *** [Makefile:1724: all] Error 2 * ERROR: dev-scheme/guile-2.0.12-r1::gentoo failed (compile phase): CFLAGS (extracted from native): CFLAGS="-Ofast -march=armv7-a -mtune=cortex-a9 -mfpu=neon-fp16 -mtls-dialect=gnu -mfloat-abi=hard -pipe -fomit-frame-pointer -fstack-protector-strong" Tried to reduce the used USE-flags to: regex and networking. Dropping regex fails with https://bugs.gentoo.org/show_bug.cgi?id=596322. Networking is needed for gnutls and autogen.
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. ***