[Ardour-Dev] weird asm error on core2 in FPU_OPTIMIZATION code (2.0-ongoing)

Jörn Nettingsmeier nettings at stackingdwarves.net
Sat Jun 20 03:17:32 PDT 2009


hi!

the current stable branch (r5218) gives me this weird error:

g++ -o libs/pbd/fpu.os -c -Woverloaded-virtual -DGTK_NEW_TOOLTIP_API
-DPACKAGE=\"libpbd\" -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DLIBSIGC_DISABLE_DEPRECATED -DHAVE_EXECINFO -DHAVE_LV2 -g -DARCH_X86 -msse
-mfpmath=sse -DUSE_XMMINTRIN -DBUILD_SSE_OPTIMIZATIONS -DUSE_X86_64_ASM
-Wall -DHAVE_LIBLO -Ilibs -DENABLE_NLS -DHAVE_GETMNTENT -pthread -fPIC
-I/usr/include/glib-2.0 -Ilibs/sigc++2 -Ilibs/glibmm2
-I/usr/lib/glib-2.0/include -Ilibs/pbd -I/usr/include/libxml2
libs/pbd/fpu.cc
libs/pbd/fpu.cc: Assembler messages:
libs/pbd/fpu.cc:47: Error: bad register name `%rbx'
libs/pbd/fpu.cc:48: Error: bad register name `%rax'
libs/pbd/fpu.cc:50: Error: bad register name `%rdx'
libs/pbd/fpu.cc:51: Error: bad register name `%rbx'
libs/pbd/fpu.cc:47: Error: bad register name `%rbx'
libs/pbd/fpu.cc:48: Error: bad register name `%rax'
libs/pbd/fpu.cc:50: Error: bad register name `%rdx'
libs/pbd/fpu.cc:51: Error: bad register name `%rbx'
scons: *** [libs/pbd/fpu.os] Error 1
scons: building terminated because of errors.


it's the first time i've attempted to build on a core2 duo (the base
distro is 32bits here). maybe the problem is that ardour thinks we're
64bit and the assembler thinks we're 32?

using FPU_OPTIMIZATION=0 works around this issue and now i've got a
complete build.

best,

jörn



-- 
Jörn Nettingsmeier

Verantwortlicher für Veranstaltungstechnik

Audio and event engineer
Ambisonic surround recordings

http://stackingdwarves.net
+49 177 7937487




More information about the Ardour-Dev mailing list