Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37578 - MythTV will not compile under a amd64 system useing gcc 3.3.2-r5
Summary: MythTV will not compile under a amd64 system useing gcc 3.3.2-r5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-08 01:44 UTC by Jeff Blair
Modified: 2004-02-17 01:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Preprocessed source (ccq4AwtE.out,1.67 MB, application/octet-stream)
2004-01-08 01:49 UTC, Jeff Blair
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Blair 2004-01-08 01:44:53 UTC
When I emerge MythTV it is erroring out with the following error message:

NuppelVideoPlayer.cpp: In member function `int 
   NuppelVideoPlayer::ReencodeFile(char*, char*, QString, bool, bool, bool, 
   QString)':
NuppelVideoPlayer.cpp:3245: error: unrecognizable insn:
(insn:HI 25080 25079 15291 1384 0x2a981473c0 (set (reg/v:SI 2417)
        (plus:SI (mult:SI (reg/v:SI 2417)
                (const_int 2 [0x2]))
            (const_int -1 [0xffffffffffffffff]))) -1 (insn_list 25079 (nil))
    (nil))
NuppelVideoPlayer.cpp:3245: internal compiler error: in extract_insn, at 
   recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/mythtv-0.13/temp/ccq4AwtE.out f
ile, please attach this to your bugreport
make[2]: *** [NuppelVideoPlayer.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mythtv-0.13/work/mythtv-0.13/libs/l
ibmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/tmp/portage/mythtv-0.13/work/mythtv-0.13/libs'
make: *** [sub-libs] Error 2

!!! ERROR: media-tv/mythtv-0.13 failed.
!!! Function src_compile, Line 92, Exitcode 2
!!! compile problem

I am using linux-2.6.1-rc1-mm2 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.49-r20 (default-amd64-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.
6.1-mm2)
=================================================================
System uname: 2.6.1-mm2 x86_64 5
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1
/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://oss.redundant.com/pub/gent
oo http://gentoo.netnitco.net http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X alsa amd64 apache2 apm arts avi berkdb cdr crypt cups dvd dvdr enco
de esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmo
d mmx motif mozilla mpeg multilib mysql ncurses nls nvidia oggvorbis opengl oss 
pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl t
cltk tcpd truetype xml2 xmms xv zlib"
Comment 1 Jeff Blair 2004-01-08 01:49:07 UTC
Created attachment 23367 [details]
Preprocessed source
Comment 2 Tasso Karkanis 2004-01-08 16:11:37 UTC
There are two problems here:

1) The qmake build system specifies -march=pentiumpro, which causes gcc on amd64 to crash on a source file.  This is a known problem with the compiler, and the workaround is not to specify -march.

2) There is some assembly code in at least one source file (filter_linearblend.c).  The source doesn't show any attempt are non-x86 portability.  We could make a patch, but this is might be something that should be addressed by the mythtv authors.
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2004-02-17 01:44:51 UTC
I've just commited some changes to 0.14-r1 that makes mythtv compile on my amd64 with gcc 3.3.2.