#emerge mythtv >>> emerge (1 of 1) media-tv/mythtv-0.13-r1 to / [..] gcc -c -pipe -w -Wall -O3 -mcpu=pentium2 -funroll-loops -pipe -g -O3 -DHAVE_AV_ CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENT RANT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DQT_NO_DEBU G -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I../.. -I/usr/qt/3/inc lude -o mjpeg.o mjpeg.c gcc -c -pipe -w -Wall -O3 -mcpu=pentium2 -funroll-loops -pipe -g -O3 -DHAVE_AV_ CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENT RANT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DQT_NO_DEBU G -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I../.. -I/usr/qt/3/inc lude -o resample.o liba52/resample.c gcc -c -pipe -w -Wall -O3 -mcpu=pentium2 -funroll-loops -pipe -g -O3 -DHAVE_AV_ CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENT RANT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DQT_NO_DEBU G -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I../.. -I/usr/qt/3/inc lude -o dsputil.o dsputil.c dsputil.c: In function `put_no_rnd_qpel16_mc31_c': dsputil.c:2877: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. gcc: Internal error: Segmentation fault (program as) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[2]: *** [dsputil.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/mythtv-0.13-r1/work/mythtv-0.13/libs/libavcodec' make[1]: *** [sub-libavcodec] Error 2 make[1]: Leaving directory `/var/tmp/portage/mythtv-0.13-r1/work/mythtv-0.13/li bs' make: *** [sub-libs] Error 2 !!! ERROR: media-tv/mythtv-0.13-r1 failed. !!! Function src_compile, Line 94, Exitcode 2 !!! compile problem # #gcc -v Reading specs from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/specs Configured with: /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/configure --prefix=/usr --bindir=/usr/i486-pc-linux-gnu/gcc-bin/3.2 --includedir=/usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include --datadir=/usr/share/gcc-data/i486-pc-linux-gnu/3.2 --mandir=/usr/share/gcc-data/i486-pc-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/i486-pc-linux-gnu/3.2/info --enable-shared --host=i486-pc-linux-gnu --target=i486-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext Thread model: posix gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice) # # as -v GNU assembler version 2.14.90.0.6 (i486-pc-linux-gnu) using BFD version 2.14.90.0.6 20030820 Reproducible: Always Steps to Reproduce: Just try to emerge the actual mythtv-0.13-r1 with gcc 3.2.3 Actual Results: failed to compile Expected Results: compile? :-) Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r4) ================================================================= System uname: 2.4.22-gentoo-r4 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium2 -funroll-loops -pipe" CHOST="i486-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 /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /usr/X11R6/bin/startx /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium2 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apache2 apm arts avi berkdb bttv cdr crypt cups curl dga directfb doc dvd encode esd etheral fastcgi fbcon flash foomaticdb g++ gd gdbm ggi gif gnome gpm gtk gtk2 imap imlib innodb ipv6 java jpeg kde lcms ldap lib libg++ libgda libwww lirc mad maildir mbox mikmod mmx motif mozctl mozilla mozilla-builtin mozirc mozxmlterm mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl php php4 png pvr python qt quicktime readline sasl sdl slang slp sock5 spell ssl svga tcltk tcpd tetex textex tiff truetype usb v4l video4linux videos wxwindos x86 xface xml xml2 xmms xosd xv zlib"
usual question for this: do you overclock ?
nope,its a PII@400 Mhz,nothing tuned
why did you use CHOST="i486-pc-linux-gnu" ?
Yes, its set in /etc/make.conf.
uhm, sorry, didn't read the question completely..... too early in the morning. hm... dunno. i didn't change that, left this setting 'as is was' after installation. ok, i changed that now to 'i686-pc-linux-gnu' and tried again, but same result..
Same result in the same exactly spot? Generally ICEs are caused by faulty hardware (memory/cpu). Any chance you can try it on another machine? Besides, a PII 400Mhz may be a little below spec for MythTV requirements...
hi, can i have CFLAGS from make.conf, emerge info and did you try with more recent gcc versions? also make sure you dont use hardened-gcc, -fstack-protector or -fPIC in CFLAGS. additionally, you may try to precede the emerge with the CFLAGS="-fno-stack-protector" and tell me what it brings thank you in advance, Alex
Try removing -funroll-loops from CFLAGS.
Tino: Did you get this resolved?
Please retry with the latest versions of gcc and mythtv.