error: invalid option `tune=athlon-xp'

sp4rc sammyshome@gmx.net
Thu Apr 27 15:49:00 GMT 2006


Dear list-members,

i am trying to build mplayer via distcc (gcc-3.4.5) and 2 other hosts
(alpha, i386 smp both running gcc version 3.4.5). It always stucks with
the following error. 

[...]
make[1]: Leaving directory
`/var/tmp/portage/mplayer-1.0.20060217/work/mplayer-1.0.20060217/libmenu'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE  -I.      -I/usr/include/freetype2
-I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil
-I./libavcodec   -o mplayer.o mplayer.c
cc1: error: invalid option `tune=athlon-xp'
distcc[16587] ERROR: compile mplayer.c on hydra failed
make: *** [mplayer.o] Error 1

So i have tried to recompile my crosscompiler on hydra(i386-smp with
NetBSD) with the following options

# ../../gcc-3.4.5/configure --prefix=/usr/pkg/cross
--target=i686-pc-linux-gnu --with-gnu-ld --with-gnu-as --disable-nls

[...]

# gmake -j6 CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"

[...]

# gmake install

But still the same error shows up. My local compiler was build with
CFLAGS="-02 -march=athlon-xp -fomit-frame-pointer" (i am not quite sure
about this, how can proof this?) How am I able to bring this "tune"
option into my cross-gcc?

Any hints on this would be greatly appreciated.

-- 
/sp4rc



More information about the Gcc-help mailing list