Summary: | fftw 3.1.1 "double" compilation fails under PPC32 with altivec option enabled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fausto Saporito <fausap> |
Component: | New packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | castan.o, ppc, robbat2 |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Fausto Saporito
2006-04-26 05:02:39 UTC
I noticed in double/simd/simd-altivec.h file, the following statement: #ifndef FFTW_SINGLE #error "ALTIVEC only works only in single precision" #endif so i modified the ebuild file to force the single precision even in the "double" case with --enable-float flag, in this way: elif use altivec; then myconfdouble="$myconfdouble --enable-float" fi In this way the configure process doesn't fail, but I'm not sure this is the correct way to fix the problem. No, that fix is not correct. The correct fix is to not use altivec for double or higher precision. I've fixed this in the tree now. |