Summary: | dev-util/gperf-3.0.4 - Assembler messages: {standard input}:960: Error: no such instruction: `vfmadd312sd .LC23(%rip),%xmm1,%xmm0' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Stein <himbeere> |
Component: | [OLD] Development | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | toolchain |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build.log |
Description
Thomas Stein
2013-07-25 13:32:54 UTC
Created attachment 354176 [details]
emerge --info
emerge --info
Created attachment 354178 [details]
build.log
build.log
Too old sys-devel/gcc and/or sys-devel/binutils for your CPU, see for example http://forums.gentoo.org/viewtopic-t-961210-start-0.html As in, stop using -march=native which isn't safe for you, or upgrade sys-devel/gcc Was getting this same vfmadd312sd error when compiling cmake (had enabled the -mfma CFLAG). According to the wikipedia article on the FMA instruction set, you have to use gcc >= 4.7 for FMA support. I installed gcc-4.7.3 and was able to get past this error. This kinda has me confused on why gcc < 4.7 even accepts the -mfma flag if it's not supported. It's not. 4.6 has -mfma4 but -mfma was added in 4.7. Not sure why it's not giving an error for 4.6. I would close this as CANTFIX and tell people to use a later version. 4.7 will go stable soon. Please use gcc >= 4.7 |