[mythtv] CVS broken for -march=athlonxp
Jesper Sörensen
jesper at datapartner.se
Mon Nov 15 21:25:52 UTC 2004
Isaac Richards wrote:
>On Saturday 13 November 2004 11:56 pm, Mark Spieth wrote:
>
>
>>ahh. now I understand why before when it was part of libmyth that it didnt
>>preserve ebx even though its perfectly safe to do so. ebx now not used at
>>all.
>>2.95 seems to be ok too so not sure why olli did some things like preserve
>>esi explicitly for some reason.
>>patch is attached with options forced to include -fomit_frame_pointer
>>hopefully you will like this one better.
>>
>>
>
>Seems to compile fine, it's in CVS now..
>
>
I'm having problems compiling CVS right now. I'm guessing it's related
to the soundtouch asm checkin...?
Compiling with -march=pentiumpro instead of -march=athlonxp seems to fix
it but athlonxp always worked before so it would be nice if it could be
fixed again. :)
g++ (GCC) 3.3.4 (Debian 1:3.3.4-13)
/usr/src/linux is 2.6.10-rc2
With "CONFIG += release":
make[3]: Entering directory
`/home/yeppe/mythtv/cvs/mythtv/libs/libmythsoundtouch'
g++ -c -pipe -w -O3 -march=athlonxp -fomit-frame-pointer -fPIC -DPIC
-fomit-frame-pointer -D_REENTRANT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_OSS -DUSING_DVB
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-I/usr/share/qt3/mkspecs/default -I. -I/usr/include -I/usr/local/include
-I/usr/src/linux/include -I../.. -I/usr/include/qt3 -o AAFilter.o
AAFilter.cpp
cc1plus: error: bad value (athlonxp) for -march= switch
cc1plus: error: bad value (athlonxp) for -mcpu= switch
make[3]: *** [AAFilter.o] Error 1
With "CONFIG += debug":
g++ -c -pipe -Wall -W -g -D_REENTRANT -fPIC -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DCONFIG_VIDEO4LINUX
-DUSING_OSS -DUSING_DVB -DUSE_ALSA -DUSE_JOYSTICK_MENU -DUSE_JACK
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG
-I/usr/share/qt3/mkspecs/default -I. -I/usr/include -I/usr/local/include
-I/usr/src/linux/include -I../libmythsamplerate -I../libmythsoundtouch
-I/usr/include/qt3 -o mythcdrom-linux.o mythcdrom-linux.cpp
In file included from /usr/include/asm/byteorder.h:68,
from /usr/src/linux/include/linux/cdrom.h:14,
from mythcdrom-linux.cpp:3:
/usr/src/linux/include/linux/byteorder/little_endian.h:43: error: syntax
error
before `(' token
/usr/src/linux/include/linux/byteorder/little_endian.h:47: error: parse
error
before `*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__u64
__le64_to_cpup(...)':
/usr/src/linux/include/linux/byteorder/little_endian.h:49: error: `p'
undeclared (first use this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:49: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
/usr/src/linux/include/linux/byteorder/little_endian.h: At global scope:
/usr/src/linux/include/linux/byteorder/little_endian.h:51: error: syntax
error
before `(' token
/usr/src/linux/include/linux/byteorder/little_endian.h:55: error: parse
error
before `*' token
/usr/src/linux/include/linux/byteorder/little_endian.h:59: error: syntax
error
before `(' token
/usr/src/linux/include/linux/byteorder/little_endian.h:63: error: parse
error
before `*' token
/usr/src/linux/include/linux/byteorder/little_endian.h:67: error: syntax
error
before `(' token
/usr/src/linux/include/linux/byteorder/little_endian.h:71: error: parse
error
before `*' token
/usr/src/linux/include/linux/byteorder/little_endian.h:75: error: syntax
error
before `(' token
/usr/src/linux/include/linux/byteorder/little_endian.h:79: error: parse
error
before `*' token
/usr/src/linux/include/linux/byteorder/little_endian.h:83: error: syntax
error
before `(' token
/usr/src/linux/include/linux/byteorder/little_endian.h:87: error: parse
error
before `*' token
make[3]: *** [mythcdrom-linux.o] Error 1
More information about the mythtv-dev
mailing list