Red Hat Bugzilla – Bug 1307394
compat-guile18: FTBFS in rawhide
Last modified: 2016-02-17 09:41:40 EST
Your package compat-guile18 failed to build from source in current rawhide.
For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Created attachment 1124252 [details]
Created attachment 1124253 [details]
Created attachment 1124254 [details]
It looks like the problem is in scm_to_int64() (libguile/conv-integer.i.c) as it depends on -LLONG_MIN being less than zero, which is undefined behavior and it fails with the new gcc. Adding -fwrapv to the CFLAGS seems to fix it.
Interestingly, the code in guile-2.0.11 looks identical, but the test doesn't fail.