[PlanetCCRMA] Error compiling Jack on X86_64

Janina Sajka janina@rednote.net
Fri Jul 30 10:39:01 2004


I suppose it's arugable whether I'm a masochist, but I do have a Opteron
box here and I'm trying to compile some of the CCRMA packages for this
platform. So far, alsa-driver/kernel-module and libsndfile have
compiled, but jack fails with an error that makes me want to say,
"Duh-uh?" ...

mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../config -I.. -I.. -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -DREENTRANT -O3 -fomit-frame-pointer
-ffast-math -funroll-loops -fmove-all-movables -I../config -I.. -I..
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -march=x86_64
-mcpu=i686 -O3 -ffast-math -funroll-loops -fprefetch-loop-arrays -mmmx
-msse -mfpmath=sse -DJACK_LOCATION=\"/usr/bin\" -I../config -I.. -I..
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -DREENTRANT -O3
-fomit-frame-pointer -ffast-math -funroll-loops -fmove-all-movables
-I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g
-march=x86_64 -mcpu=i686 -O3 -ffast-math -funroll-loops
-fprefetch-loop-arrays -mmmx -msse -mfpmath=sse -MT libjack_la-shm.lo
-MD -MP -MF .deps/libjack_la-shm.Tpo -c shm.c  -fPIC -DPIC -o
.libs/libjack_la-shm.o
cc1: error: bad value (x86_64) for -march= switch
cc1: error: CPU you selected does not support x86-64 instruction set

To me, a most inexpert coder, this looks like a trivial oversight
somewhere in the code. march and mcpu are clearly unmatched. But, I'm
also thinking I shouldn't go on appearances. So, mindful that the Jack
FAQ notes issues with 2.6.7 kernels (which mine is, from the Fedora
development tree), is this something likely to be fairly easy to
resolve? Or shall I wait on the experts to resolve a larger tangle than
I currently comprehend?

			Janina, Lost on the frontiers ...