Ardour 2.0.3 fails to build on x86_64

1 reply [Last post]
Erdie
Erdie's picture
User offline. Last seen 2 days 12 hours ago. Offline
Joined: 2006-03-27
Posts:

Hi,

I got the following error:

x86_64-pc-linux-gnu-g++ -march=athlon64 -O2 -pipe -DARCH_X86 -mmmx -m3dnow -msse -mfpmath=sse -DUSE_XMMINTRIN -Wall -DHAVE_LIBLO -DENABLE_NLS -DHAVE_GETMNTENT -Woverloaded-virtual -DPACKAGE=\"libpbd\" -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DLIBSIGC_DISABLE_DEPRECATED -DHAVE_EXECINFO -fPIC -I/usr/include/glib-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/lib64/glib-2.0/include -Ilibs/pbd -I/usr/include/sigc++-2.0 -I/usr/include/libxml2 -I/usr/lib64/sigc++-2.0/include -c -o libs/pbd/fpu.os libs/pbd/fpu.cc
libs/pbd/fpu.cc: In constructor 'PBD::FPU::FPU()':
libs/pbd/fpu.cc:65: warning: dereferencing type-punned pointer will break strict-aliasing rules
{standard input}: Assembler messages:
{standard input}:91: Error: suffix or operands invalid for `push'
{standard input}:93: Error: suffix or operands invalid for `mov'
{standard input}:94: Error: suffix or operands invalid for `pop'
{standard input}:167: Error: suffix or operands invalid for `push'
{standard input}:169: Error: suffix or operands invalid for `mov'
{standard input}:170: Error: suffix or operands invalid for `pop'
scons: *** [libs/pbd/fpu.os] Error 1
scons: building terminated because of errors.

!!! ERROR: media-sound/ardour-2.0.3 failed.

could perhaps someone help here?

thanks
Erdie

Erdie
Erdie's picture
User offline. Last seen 2 days 12 hours ago. Offline
Joined: 2006-03-27
Posts:

Issue is fixed, it was caused by a missing (gentoo) USE flag so the build system trys to build x86 assembler into a x8_64 build. After defining the SSE use flag it compiles fine.

-Erdie