Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29407 - gcc dies when trying to build imlib
Summary: gcc dies when trying to build imlib
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-23 00:04 UTC by Colin Fox
Modified: 2003-09-23 20:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Fox 2003-09-23 00:04:16 UTC
gcc -DSYSTEM_IMRC=\"/etc/imlib/imrc\" -DIMLIB_LIB=\"/usr/lib\"
-DSYSCONFDIR=\"/etc/imlib\" -I. -I. -I.. -I./.. -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/include -I/usr/include -mcpu=k6 -march=k6 -O2 -pipe
-fomit-frame-pointer -c io-bmp.c  -fPIC -DPIC -o .libs/io-bmp.lo
{standard input}: Assembler messages:
{standard input}:637: Error: value of ffffffffffffff70 too large for field of 1
bytes at 00000000000008dc
make[2]: *** [io-bmp.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .libs/rend.lo rend.lo
make[2]: Leaving directory
`/var/tmp/portage/imlib-1.9.14-r1/work/imlib-1.9.14/gdk_imlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/imlib-1.9.14-r1/work/imlib-1.9.14'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: media-libs/imlib-1.9.14-r1 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)
 


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

Actual Results:  
It compiles for a while, then dies on this.

gcc v. 3.3.1


Portage 2.0.49-r5 (default-x86-1.4, gcc-3.3.1, glibc-2.2.5-r4,2.3.2-r1,
2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Duron(tm) Processor
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=k6 -march=k6 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/opt/jakarta/tomcat/conf /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=k6 -march=k6 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs userpriv"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif imlib jpeg libg++ mad
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib gtkhtml gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile
postgres sdl gpm tcpd pam libwww perl python esd oggvorbis gnome gtk qt kde
motif opengl mozilla gphoto2 ldap gtk2 alsa gnome2 X mozsvg ssl"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-09-23 10:05:25 UTC
change k6 to i586
Comment 2 Colin Fox 2003-09-23 16:49:33 UTC
Ok, changing the flags from K6 to i586 allowed the emerge to finish.

Does that mean I can't use any AMD optimizations? Is this a known issue with GCC?
Comment 3 SpanKY gentoo-dev 2003-09-23 20:42:47 UTC
it's a known issue with k6
Comment 4 SpanKY gentoo-dev 2003-09-23 20:44:51 UTC
also, march implies mcpu so only use march=k6