Hello, I apologize if the issue was already reported, but I didn't find a previous record.
At Gentoo, users build packages themselves, and have the freedom to choose the CFLAGS they want. We had several reports [1,2] from users unable to build guile with -Ofast. Adding -fno-fast-math make the build pass. Compiling with -O0 -ffast-math also fails. I'm not sure if you can solve this. On our side, we will append -fno-fast-math to compiler's flags. GUILE_AUTO_COMPILE=0 \ ../meta/build-env \ guild compile --target="x86_64-pc-linux-gnu" \ -O1 \ -L "/var/tmp/portage/dev-scheme/guile-2.2.5/work/guile-2.2.5/module" \ -L "/var/tmp/portage/dev-scheme/guile-2.2.5/work/guile-2.2.5/guile-readline" \ -o "language/cps/types.go" "../module/language/cps/types.scm" make[2]: *** [Makefile:1931: language/cps/types.go] Aborted make[2]: Leaving directory '/var/tmp/portage/dev-scheme/guile-2.2.5/work/guile-2.2.5/bootstrap' make[1]: *** [Makefile:1857: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-scheme/guile-2.2.5/work/guile-2.2.5' make: *** [Makefile:1743: all] Error 2 omega /var/tmp/portage/dev-scheme/guile-2.2.5/work/guile-2.2.5 # ./build-aux/config.guess x86_64-pc-linux-gnu omega /var/tmp/portage/dev-scheme/guile-2.2.5/work/guile-2.2.5 # ./config.status --config '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-dependency-tracking' '--disable-silent-rules' '--docdir=/usr/share/doc/guile-2.2.5' '--htmldir=/usr/share/doc/guile-2.2.5/html' '--with-sysroot=/' '--libdir=/usr/lib64' '--program-suffix=-2.2' '--infodir=/usr/share/info/guile-2.2' '--disable-error-on-warning' '--disable-rpath' '--disable-static' '--enable-posix' '--without-libgmp-prefix' '--without-libiconv-prefix' '--without-libintl-prefix' '--without-libltdl-prefix' '--without-libreadline-prefix' '--without-libunistring-prefix' '--disable-guile-debug' '--disable-debug-malloc' '--enable-deprecated' '--enable-networking' '--disable-nls' '--enable-regex' '--with-threads' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-Ofast -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS=' 'PKG_CONFIG_PATH=/usr/lib64/pkgconfig' 1. in 2003 https://forums.gentoo.org/viewtopic-t-72916-start-0.html 2. in 2016 https://bugs.gentoo.org/598986 Thanks, Cyprien