[mythtv] cvs AMD64 compilation - mpegvideo.c error unrecognizable insn

Eric STEIMER steimer at club-internet.fr
Mon Feb 7 22:02:01 UTC 2005


Eric STEIMER wrote:
> I'm currently trying to build the mythtv cvs version on AMD64 system 
> pure64 (Debian alioth)
> gcc is 3.3
> 
> I apt-get'ed libqt3-mt-dev libmysqlclient10-dev liblircclient-dev
>      libartsc0-dev liblame0 liblame-dev
> $PATH and $QTDIR points respectively to :$PATH:/usr/share/qt3/bin and 
> /usr/share/qt3
> 
> When I try to make mythtv cvs I get an "unrecognizable insn" error: (see 
> below)
> 
> Figuera:/usr/local/cvs/mythtv/mythtv# ./configure
> Please note that these settings only deal with libavcodec, not MythTV.
> CPU              x86_64
> Big Endian       no
> MMX enabled      yes
> Vector Builtins  no
> Creating config.mak and config.h
> config.h is unchanged
> Figuera:/usr/local/cvs/mythtv/mythtv# qmake mythtv.pro
> Figuera:/usr/local/cvs/mythtv/mythtv# make
> cd libs && make -f Makefile
> make[1]: Entering directory `/usr/local/cvs/mythtv/mythtv/libs'
> cd libavcodec && make -f Makefile
> make[2]: Entering directory `/usr/local/cvs/mythtv/mythtv/libs/libavcodec'
> qmake -o Makefile libavcodec.pro
> make[2]: Leaving directory `/usr/local/cvs/mythtv/mythtv/libs/libavcodec'
> make[2]: Entering directory `/usr/local/cvs/mythtv/mythtv/libs/libavcodec'
> gcc -c -pipe -w -O3 -march=pentiumpro -fomit-frame-pointer -O3 -Wall 
> -Wno-switch             -DPIC -fPIC -fomit-frame-pointer 
> -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -D_GNU_SOURCE -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BI            
> TS=64 -DPREFIX=\"/usr/local\" -DMMX -DUSING_IVTV -DQT_NO_DEBUG 
> -DQT_THREAD_SUPPO            RT -DQT_SHARED 
> -I/usr/share/qt3/mkspecs/default -I. -I../.. -I../../../../../../      
> include/qt3 -o utils.o utils.c
> gcc -c -pipe -w -O3 -march=pentiumpro -fomit-frame-pointer -O3 -Wall 
> -Wno-switch             -DPIC -fPIC -fomit-frame-pointer 
> -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -D_GNU_SOURCE -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BI            
> TS=64 -DPREFIX=\"/usr/local\" -DMMX -DUSING_IVTV -DQT_NO_DEBUG 
> -DQT_THREAD_SUPPO            RT -DQT_SHARED 
> -I/usr/share/qt3/mkspecs/default -I. -I../.. -I../../../../../../      
> include/qt3 -o mem.o mem.c
> gcc -c -pipe -w -O3 -march=pentiumpro -fomit-frame-pointer -O3 -Wall 
> -Wno-switch             -DPIC -fPIC -fomit-frame-pointer 
> -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -D_GNU_SOURCE -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BI            
> TS=64 -DPREFIX=\"/usr/local\" -DMMX -DUSING_IVTV -DQT_NO_DEBUG 
> -DQT_THREAD_SUPPO            RT -DQT_SHARED 
> -I/usr/share/qt3/mkspecs/default -I. -I../.. -I../../../../../../      
> include/qt3 -o allcodecs.o allcodecs.c
> gcc -c -pipe -w -O3 -march=pentiumpro -fomit-frame-pointer -O3 -Wall 
> -Wno-switch             -DPIC -fPIC -fomit-frame-pointer 
> -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -D_GNU_SOURCE -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BI            
> TS=64 -DPREFIX=\"/usr/local\" -DMMX -DUSING_IVTV -DQT_NO_DEBUG 
> -DQT_THREAD_SUPPO            RT -DQT_SHARED 
> -I/usr/share/qt3/mkspecs/default -I. -I../.. -I../../../../../../      
> include/qt3 -o mpegvideo.o mpegvideo.c
> mpegvideo.c: In function `select_input_picture':
> mpegvideo.c:2112: error: unrecognizable insn:
> (insn:HI 1654 1653 880 85 0x2a972347e0 (set (reg:SI 294)
>     (plus:SI (mult:SI (reg:SI 294)
>         (const_int 2 [0x2]))
>     (reg:SI 294))) -1 (insn_list 1653 (nil))
>     (nil))
> mpegvideo.c:2112: internal compiler error: in extract_insn, at recog.c:2175
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> For Debian GNU/Linux specific bug reporting instructions, see
> <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
> make[2]: *** [mpegvideo.o] Error 1
> make[2]: Leaving directory `/usr/local/cvs/mythtv/mythtv/libs/libavcodec'
> make[1]: *** [sub-libavcodec] Error 2
> make[1]: Leaving directory `/usr/local/cvs/mythtv/mythtv/libs'
> make: *** [sub-libs] Error 2
> Figuera:/usr/local/cvs/mythtv/mythtv#
> 
> Maybe the fact that my system is pure64 could explain the problem? I 
> prefer to ask here before initiating a bug report on gcc.
> 
> I initially built mythtv-cvs on a PIII-450 and was pretty amazed with 
> the results. This made me decide to go for a whole new config with 
> AMD64, which was supposed to be well supported by MythTV (apart from 
> some Mythmusic issue).
> I've spent the whole week-end trying to figure it out before resulting 
> myself to post here and ask for some help.
> May I add I'm eager to test/validate the whole thing on my architecture 
> (Asus K8N-E Deluxe, PVR350) and help the mythtv community. Still I first 
> have to make it work :)
> Thanks
> Eric
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 
> 


Any idea/ressource to point me to?
I tried to build the 0.16 sources, and ran into the kind of trouble 
(unrecognizable	insn, this time in generictree.cpp file)

Should I consider submitting a bug to gcc/Debian gcc? Many people seem 
to build AMD64 flawlessly... Did anyone succed on a Debian pure64 system?


More information about the mythtv-dev mailing list