Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] fftw fails to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
pactoo
Guru
Guru


Joined: 18 Jul 2004
Posts: 553

PostPosted: Mon Jun 06, 2005 3:39 pm    Post subject: [solved] fftw fails to compile Reply with quote

On my no-multilib system. Anyone similar experiences ?

Code:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../kernel -O2 -march=k8 -m64 -pipe -O2 -pthread -msse -MT sse.lo -MD -MP -MF .deps/sse.Tpo -c sse.c  -fPIC -DPIC -o .libs/sse.lo
{standard input}: Assembler messages:
{standard input}:81: Error: suffix or operands invalid for `push'
{standard input}:83: Error: suffix or operands invalid for `pop'
make[2]: *** [sse.lo] Error 1
make[2]: Leaving directory `/daten/lokal/gentoo/tmp/portage/fftw-3.0.1-r1/work/fftw-3.0.1-single/simd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/daten/lokal/gentoo/tmp/portage/fftw-3.0.1-r1/work/fftw-3.0.1-single'
make: *** [all] Error 2

!!! ERROR: sci-libs/fftw-3.0.1-r1 failed.
!!! Function src_compile, Line 74, Exitcode 2


Last edited by pactoo on Fri Jul 01, 2005 8:33 am; edited 1 time in total
Back to top
View user's profile Send private message
Bad_Byte
n00b
n00b


Joined: 28 Dec 2003
Posts: 69
Location: Norway

PostPosted: Mon Jun 13, 2005 4:00 pm    Post subject: Reply with quote

Got it to compile (at last!!!) after modifying the "mmx mmx2 sse sse2 3dnow 3dnow! 3dnowext" in my make.conf to "-mmx -mmx2 -sse -sse2 -3dnow -3dnow! -3dnowext", just disabling the sse and sse2 didn't work for me, so I disabled them all and then it worked (for me).

Hope this help you out.
_________________
The sentence below this one is true.
The sentence above this one is false.
Back to top
View user's profile Send private message
pactoo
Guru
Guru


Joined: 18 Jul 2004
Posts: 553

PostPosted: Fri Jul 01, 2005 8:31 am    Post subject: Reply with quote

Late reply, as my mainboard died and I wasn't able to test earlier, but not using sse, sse2 and 3dnow helped for me, too. fftw is installed
Back to top
View user's profile Send private message
ycUygB1
Apprentice
Apprentice


Joined: 27 Jul 2005
Posts: 276
Location: Portland, Oregon

PostPosted: Fri Oct 21, 2005 4:00 am    Post subject: Not the Fastest Fourier Transform in the West without SSE. Reply with quote

Um, not having SSE and SSE2 completely defeats the purpose of FFTW, which is to be the
fastest Fourier transform in the West, which is what FFTW stands for.

So, this needs to be fixed, which shouldn't be too difficult since the tarball from fftw.org
compiles fine.
Back to top
View user's profile Send private message
Xandão
n00b
n00b


Joined: 20 Apr 2005
Posts: 16
Location: São Carlos - SP

PostPosted: Wed Aug 23, 2006 12:58 pm    Post subject: Reply with quote

I´m trying to install fftw-3.0.1 with double precision and sse2 support on an AMD 64 X2 using tar ball from web site.
When I enable sse2 support it cries:

Code:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../kernel -O3 -fomit-frame-pointer -fno-schedule-insns -fstrict-aliasing -mpreferred-stack-boundary=4 -pthread -msse2 -MT sse2.lo -MD -MP -MF .deps/sse2.Tpo -c sse2.c -o sse2.o
/tmp/ccpVZYbj.s: Assembler messages:
/tmp/ccpVZYbj.s:83: Error: suffix or operands invalid for `push'
/tmp/ccpVZYbj.s:85: Error: suffix or operands invalid for `pop'
make[2]: *** [sse2.lo] Error 1
make[2]: Leaving directory `/installs/gromacs/fftw-3.0.1/simd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/installs/gromacs/fftw-3.0.1'
make: *** [all] Error 2


I think other people have the same problem.
Did anyone solved this????
hnaparst, I saw you discussing this issue in other topics.... did you successfully compile fftw with sse2 support for amd 64?

Thank´s
_________________
[]s
Xandão
Back to top
View user's profile Send private message
Xandão
n00b
n00b


Joined: 20 Apr 2005
Posts: 16
Location: São Carlos - SP

PostPosted: Wed Aug 23, 2006 1:47 pm    Post subject: [Solved] Reply with quote

I was trying the 3.0.1 version... with the 3.1.2 version it´s compiled.
Thanks!
_________________
[]s
Xandão
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum