The following message is displayed and fails to compile on Gentoo/FBSD (AMD64). x86_64-gentoo-freebsd8.0-gcc -fpic -DPIC -O2 -pipe -fno-strict-aliasing -isystem '/var/tmp/portage/sys-freebsd/freebsd-lib-8.0/work/include_proper' -I/var/tmp/portage/sys-freebsd/freebsd-lib-8.0/work/lib/msun/ld80 -I/var/tmp/portage/sys-freebsd/freebsd-lib-8.0/work/lib/msun/src -I/var/tmp/portage/sys-freebsd/freebsd-lib-8.0/work/lib/msun/../libc/include -I/var/tmp/portage/sys-freebsd/freebsd-lib-8.0/work/lib/msun/../libc/amd64 -std=gnu99 -fstack-protector -Wsystem-headers -Wno-pointer-sign -c /var/tmp/portage/sys-freebsd/freebsd-lib-8.0/work/lib/msun/src/s_fma.c -o s_fma.So /usr/include/fenv.h: Assembler messages: /usr/include/fenv.h:130: Error: suffix or operands invalid for `fnstsw' /usr/include/fenv.h:130: Error: suffix or operands invalid for `fnstsw' /usr/include/fenv.h:130: Error: suffix or operands invalid for `fnstsw' *** Error code 1 /usr/include/fenv.h: Assembler messages: /usr/include/fenv.h:130: Error: suffix or operands invalid for `fnstsw' /usr/include/fenv.h:130: Error: suffix or operands invalid for `fnstsw' /usr/include/fenv.h:130: Error: suffix or operands invalid for `fnstsw' *** Error code 1 3 errors *** Error code 2 1 error Reproducible: Always Steps to Reproduce: 1.cd /usr/portage/sys-freebsd/freebsd-lib 2.ebuild freebsd-lib-8.0.ebuild compile 3.
Created attachment 270051 [details] files/freebsd-lib-new_as.patch New freebsd-lib-new_as.patch
does it still fail with 8.2 ?
(In reply to comment #2) > does it still fail with 8.2 ? No. 8.2 doesn't have this problem. This problem was solved with FreeBSD 8.1. FYI, http://svnweb.freebsd.org/base/release/8.1.0/lib/msun/amd64/fenv.h?limit_changes=0&view=log&pathrev=218822
good, closing then, thx :)