Summary: | dev-lang/ruby-2.1.1 adds '-msse2 -mfpmath=sse' to CFLAGS unconditionally (?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Guy <defuebr> |
Component: | [OLD] Development | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bircoph |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | https://bugs.ruby-lang.org/issues/8358 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/var/tmp/portage/dev-lang/ruby-2.1.1/temp/build.log
build.log emerge --info ruby-2.1.1-no-forced-sse2.patch |
Description
Guy
2014-03-08 02:06:52 UTC
"This is not the same as bug# 503854" is wrong and should be "This is not the same as bug# 503584" ...well, the *initial* problem is obvious: '-msse2 -mfpmath=sse' disagres with your processor. The question is "does it need to ?". Created attachment 374874 [details]
build.log
Same here on ~x86 and Athlon-XP (sse only, no sse2).
Created attachment 374876 [details]
emerge --info
Created attachment 374880 [details, diff]
ruby-2.1.1-no-forced-sse2.patch
This patch disables forced sse2 and sse flags.
It is Gentoo policy not to force CFLAGS on users, most people will use -march=native anyway.
I've applied Andrew's patch to ruby-2.1.1-r1, similar to what Arch Linux is doing. Thanks for the report and for providing the patch. |