I am trying to emerge mythtv, but i get a segfault in every try ----- gcc -c -pipe -march=k8 -pipe -w -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -DMMX -DUSING_IVTV -DUSING_DVB -DUSING_DVB_EIT -DUSING_XRANDR -DUSING_XVMC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I.. -I../.. -I/usr/qt/3/include -o vp3dsp_sse2.o i386/vp3dsp_sse2.c motion_est_template.c: In function `hpel_motion_search': motion_est_template.c:221: internal compiler error: Segmentation fault 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.18.1-r1/temp/ccXLlLGg.out file, please attach this to your bugreport. make[2]: *** [motion_est.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/mythtv-0.18.1-r1/work/mythtv-0.18.1/libs/libavcodec' make[1]: *** [sub-libavcodec] Error 2 make[1]: Leaving directory `/var/tmp/portage/mythtv-0.18.1-r1/work/mythtv-0.18.1/libs' make: *** [sub-libs] Error 2 !!! ERROR: media-tv/mythtv-0.18.1-r1 failed. !!! Function src_compile, Line 156, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. --------- I also tried with mythtv-0.18.1-r2... same result. I followed all the instructions of Gentoo Wiki about preparing system for mythtv except having a XFS partition because that's only for capturing or recording.
Portage 2.0.53 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5-mitarro x86_64) ================================================================= System uname: 2.6.14-gentoo-r5-mitarro x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.es.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa apache2 arts audiofile avi bash-completion bitmap-fonts bzip2 cdr crypt cups divx4linux dvb dvd dvdr dvdread eds emboss encode expat fam foomaticdb ftp gdbm gif gpm gstreamer icq idn imap imlib innodb java javascript joystick jpeg junit kde lcms libwww lirc lzw lzw-tiff mad mhash mime mng motif mozilla mp3 mpeg msn mysql mysqli mythtv ncurses nls nvidia ogg opengl pam pcre pdflib perl php png python qt quicktime readline ruby samba scanner sdl session simplexml soap sockets spell ssl svn tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev usb userlocales v4l vorbis xml xml2 xmlrpc xmms xosd xpm xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
You didn't follow the instructions in the error message. There's more stuff you're suppose to include. Also, Internal Compiler Errors generally point to too many CFLAGS or bad hardware. It's not a bug in software.
Created attachment 77543 [details] Preprocessed source of mythtv-0.18.1-r1
(In reply to comment #2) > You didn't follow the instructions in the error message. There's more stuff > you're suppose to include. > > Also, Internal Compiler Errors generally point to too many CFLAGS or bad > hardware. It's not a bug in software. > Did you mean for the preprocessed source? I forgot that... this is the first time i report a bug. I uploaded it. My CFLAGS as you can see in emerge info, are the same that the gentoo handbook recommend to install the system. I don't think hardware is bad, because works just fine in other OS (from wich I'm trying to escape...). If you think i should include something else please tell me.
This was the first ebuild that fails me, but since then, with other some other ebuilds i also had these errors. Finally, it seems that my RAM wasn't stable enough for mythtv, so i drastically lower their latency and now i can compile mythtv.... sorry for this bug report that actually it wasn't....