64bit compiling error

5 replies [Last post]
Muadib
User offline. Last seen 2 years 11 weeks ago. Offline
Joined: 2006-12-02
Posts:

Hello!

I am trying to build ardour2.8.11 from source on an i7 running Gentoo Linux 64bit, and I encountered these errors:

libs/pbd/fpu.cc: Assembler messages:
libs/pbd/fpu.cc:36: Error: suffix or operands invalid for `push'
libs/pbd/fpu.cc:38: Error: suffix or operands invalid for `mov'
libs/pbd/fpu.cc:39: Error: suffix or operands invalid for `pop'
libs/pbd/fpu.cc:36: Error: suffix or operands invalid for `push'
libs/pbd/fpu.cc:38: Error: suffix or operands invalid for `mov'
libs/pbd/fpu.cc:39: Error: suffix or operands invalid for `pop'
scons: *** [libs/pbd/fpu.os] Error 1
scons: building terminated because of errors.

Has anyone encountered this? As I searched the net a bit, it seems like a 64bit assembler error!

All best!
/Muadib

paul
paul's picture
User offline. Last seen 3 hours 44 min ago. Offline
Joined: 2006-03-16
Posts:

@muadib: this means that your system does not correctly identify itself as 64 bit. we've run into this a few times in the past. what is the output of the following command: uname -a

Muadib
User offline. Last seen 2 years 11 weeks ago. Offline
Joined: 2006-12-02
Posts:

@Paul: Hey there! :)

it returns:

moria orpheus # uname -a
Linux moria 2.6.37-gentoo-r4 #9 SMP PREEMPT Mon Apr 25 14:39:33 CEST 2011 x86_64 Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz GenuineIntel GNU/Linux

paul
paul's picture
User offline. Last seen 3 hours 44 min ago. Offline
Joined: 2006-03-16
Posts:

@muadib: what i meant to say was: run this command from the top of the Ardour source tree: ./tools/config.guess

Muadib
User offline. Last seen 2 years 11 weeks ago. Offline
Joined: 2006-12-02
Posts:

@Paul: Oh... it returns: "x86_64-unknown-linux-gnu"

Muadib
User offline. Last seen 2 years 11 weeks ago. Offline
Joined: 2006-12-02
Posts:

Is this correct, or should I fix it with some Scons flag? :)