Summary: | fftw-3.0.1: USE=3dnow yields "gcc -m3dnow", not supported by 2.95.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Håkon A. Hjortland <hahjortland> |
Component: | New packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pappy |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Håkon A. Hjortland
2004-01-13 06:18:37 UTC
dear Hakon, i can change the following for you in the gcc ebuilds: for USE 3dnow we say: if has_version sys-devel/gcc higher than 3.2.3 then emit -m3dnow else emit --enable-k7 fi or do you want the ebuild to be changed to explicitly use --enable-k7 for all gcc versions supported? maybe you could find me if recent versions of gcc 3.2.x and 3.3.x support both flags so that we could decide together. thanks, Alex --enable-3dnow supports a greater range of CPUs (from the FAQ). But, it seems to require gcc-3-something. --enable-k7 is faster, but only works on K7 processors. Supported by all versions of gcc? The ebuild should then maybe look something like this: if USE=3dnow then if machine=k7 then myconf += "--enable-k7" else if gcc supports -m3dnow then myconf += "--enable-3dnow" else # Bummer! endif endif endif This is not a problem with me anymore. I made fftw compile when I wrote the bugreport. It would be nice to get it fixed, though, in case someone out there can't do a complete "emerge world" just because they haven't upgraded their gcc. Since people who explicitly ask for 3dnow by setting the USE flag I'd say we take the --enable-k7 stuff. Alexander, what do you think? Did this in -r1. Ok, let's wait what explodes. Thanks for the hint, H Did this in -r1. Ok, let's wait what explodes. Thanks for the hint, Håkon! |