Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81597 - emerging "xorg-x11-6.8.2" fails with error: cmsMath.c:91: internal compiler error: in try_split, at emit-rtl.c:3343
Summary: emerging "xorg-x11-6.8.2" fails with error: cmsMath.c:91: internal compiler e...
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on: 80655
Blocks:
  Show dependency tree
 
Reported: 2005-02-11 03:10 UTC by Manuel Wächter
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
Preprocessed source (cciKbEV0.out,153.88 KB, application/octet-stream)
2005-02-11 03:14 UTC, Manuel Wächter
Details
compiled preprocessed source (cciKbEV0.o,2.02 KB, application/x-object)
2005-02-11 04:00 UTC, Manuel Wächter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Wächter 2005-02-11 03:10:38 UTC
Hi,

tried to update xorg-x11 from 6.8.1.902 to 6.8.2.
Tried it different times with the most recent love-sources and the latest stable 2.6.10(only added Reiser4-Support).
The same error also occured with xorg-x11-6.8.1.904, but it seems that it hasn't been fixed yet.

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -upvt world
3. emerge -u xorg-x11

Actual Results:  
PROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DMALLOC_0_
                                             
RETURNS_NULL  -DHAS_SNPRINTF -DLIBX11                   -DPOSTLOCALELIBDIR=\"lib
                                             
\"     -fPIC cmsLkCol.c
rm -f cmsMath.o unshared/cmsMath.o
i686-pc-linux-gnu-gcc -c -ansi -pedantic -Wno-return-type -w    -I../.. -I../../
                                             
exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L          -D_POSIX
                                             
_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SO
                                             
URCE                             -D_GNU_SOURCE                            -DFUNC
                                             
PROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DMALLOC_0_
                                             
RETURNS_NULL  -DHAS_SNPRINTF -DLIBX11                   -DPOSTLOCALELIBDIR=\"lib
                                             
\"      -march=pentium4 -O3 -fomit-frame-pointer -pipe -mno-sse2 -mno-sse3 -fno-
                                             
strict-aliasing   cmsMath.c -o unshared/cmsMath.o
cmsMath.c: In function `_XcmsCubeRoot':
cmsMath.c:91: internal compiler error: in try_split, at emit-rtl.c:3343
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/xorg-x11-6.8.2/temp/cciKbEV0.ou
                                             
t file, please attach this to your bugreport.
make[4]: *** [cmsMath.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2/work/xc/lib/X11'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2 failed.
!!! Function build, Line 959, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
Xorg should have been updated cleanly!

My 'emerge info':

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.11-rc1-love1-ph030-babylove i686)
=================================================================
System uname: 2.6.11-rc1-love1-ph030-babylove i686 Intel(R) Pentium(R) M
processor 1400MHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 01:22:15)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -funroll-loops -ffast-math -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/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=pentium4 -O3 -funroll-loops -ffast-math -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acpi apm avi bash-completion berkdb bitmap-fonts cdr cdrom chroot
crypt encode esd f77 fam font-server foomaticdb fortran gdbm gif gpm gtk gtk2
hardened hardenedphp imagemagick imlib ipv6 java jpeg kerberos krb4 libg++
libwww mad mikmod mmx mmx2 motif mpeg ncurses nls nptl offensive oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline ruby sdl spell sse
sse2 ssl stroke svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode
wxwindows xface xml2 xmms xosd xv zeo zlib zvbi video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Manuel Wächter 2005-02-11 03:14:52 UTC
Created attachment 50991 [details]
Preprocessed source
Comment 2 Roland Bär 2005-02-11 03:34:23 UTC
Can you compile the preprocessed attachemt:
gcc -c attachment.c 
or
gcc -c attachment.i 
Comment 3 Manuel Wächter 2005-02-11 04:00:05 UTC
Created attachment 50992 [details]
compiled preprocessed source
Comment 4 Roland Bär 2005-02-11 05:41:23 UTC
Same story as Bug #80655
I doubt that this is x11, more likely gcc... If you are able to compile the 
preprocessed source, so not able to reproduce or trigger that bug with the 
preprocessed source, then the big guess is => gcc
I would try to up/downgrade gcc a bit, also the used version is not stable on x86.....
Comment 5 Manuel Wächter 2005-02-11 06:18:54 UTC
Thanks for the tip, but it didn't help!

I switched back to the stable gcc 3.3.4 and done the "source /etc/profile" but the process stops at the same line with the same error as before.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-14 23:49:38 UTC
It should work if youu use -O2 instead of -O3 -funroll-loops

*** This bug has been marked as a duplicate of 20600 ***
Comment 7 Alexander Ivanchev 2005-03-26 02:04:07 UTC
I've removed unroll-loops and switched to -02, but same thing here:

dmz / # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 22:17:53)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O2 -pipe -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.itdnet.net/gentoo/ http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo.itdnet.net/gentoo-portage"
USE="x86 3dnow GAPING_SECURITY_HOLE X X509 Xaw3d aalib acl acpi apache2 authdaemond bcmath berkdb bitmap-fonts bzip2 bzlib calendar caps cdb chroot clamav crypt curl curlwrappers dba dbx ecc emboss erandom ethereal exif extensions fbcon flatfile font-server ftp gd gd-external gdbm gif gmp gnome gtk gtk2 hal hardened howl hub iconv icq idea imagemagick imap imlib innodb ipalias ithreads javascript jbig jpeg justify lcms ldap libclamav libg++ libwww logrotate lzw lzw-tiff maildir mcal memlimit mhash mime mmx motif mp3 mssql mysql ncurses nfsv4 nls no-old-linux nocardbus nomac nomultilib nptl nptlonly ntlm oav odbc opengl pam pam_chroot pam_console pam_timestamp pcntl pcre pdflib perl perlsuid php pic png posix prelude pwdb python qmail quotas readline samba sasl session sftplogging shared sharedmem skey slang sockets socks5 spamassassin spell sse ssl symlink tcpd threads tiff tokenizer toolbar truetype truetype-fonts type1-fonts unicode urandom wmf xml xml2 xosd xpm xrandr xscreensaver xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY