Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15559 - ebuilds, gimp, jpeg-mmx and lame fail on k6-2 with -fomit-frame-pointer
Summary: ebuilds, gimp, jpeg-mmx and lame fail on k6-2 with -fomit-frame-pointer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-12 07:18 UTC by sinterklaas
Modified: 2003-03-10 07:02 UTC (History)
2 users (show)

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


Attachments
.ebuild for -fomit-frame-pointer on the k6-2 error fix (jpeg-mmx-1.1.2-r2.ebuild,1.39 KB, text/plain)
2003-02-26 18:33 UTC, Mark McKenna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sinterklaas 2003-02-12 07:18:50 UTC
Emerge of the following packages fails on my k6-2 if -fomit-frame-pointer is  in
my CFLAGS.
lame
jpeg-mmx
gimp
It only seems to occur with -march=k6-2 on my Pentium system there are no problems.

Reproducible: Always
Steps to Reproduce:
1.in CFLAGS put -fomit-frame-pointer
2.emerge gimp lame jpeg-mmx
3.

Actual Results:  
ebuilds fail


Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i586 AMD-K6(tm) 3D processor
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups gif gpm jpeg libg++ libwww mikmod mmx
motif ncurses nls pdflib png spell truetype xml2 xmms zlib gdbm berkdb slang
readline java guile X tcpd pam ssl perl python esd imlib oggvorbis gnome gtk
opengl mozilla -kde -qt -qtmt -arts -alsa mpeg encode dvd matrox quicktime sdl
svga xv"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-12 11:12:18 UTC
and if -march=i586?
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-17 01:46:27 UTC
I have not been able to confirm this error. Can you show me a log of your errors with jpeg-mmx, lame and gimp?
Comment 3 sinterklaas 2003-02-17 15:29:36 UTC
Here's where lame fails, I'll post the error log of jpg-mmx and gimp asap..

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I. -I../mpglib/ -I.. -Wall -march=k6-2 -O3 -pipe -fomit-frame-pointer -c vbrquantize.c -MT vbrquantize.lo -MD -MP -MF .deps/vbrquantize.TPlo -o vbrquantize.o >/dev/null 2>&1
make[3]: *** [vbrquantize.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/lame-3.93.1-r1/work/lame-3.93.1/libmp3lame'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lame-3.93.1-r1/work/lame-3.93.1/libmp3lame'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lame-3.93.1-r1/work/lame-3.93.1'
make: *** [all] Error 2
 
!!! ERROR: media-sound/lame-3.93.1-r1 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)
 
Comment 4 sinterklaas 2003-02-17 15:36:41 UTC
here's the log of jpeg-mxx failing ... If you want the full log let me know.

Jeroen

gcc -march=k6-2 -O3 -pipe -fomit-frame-pointer -I. -c -fPIC -DPIC ./jccolor.c
mv -f jcmarker.o jcmarker.lo
./libtool --mode=compile gcc -march=k6-2 -O3 -pipe -fomit-frame-pointer  -I. -c
./jcsample.c
gcc -march=k6-2 -O3 -pipe -fomit-frame-pointer -I. -c -fPIC -DPIC ./jcsample.c
{standard input}: Assembler messages:
{standard input}:266: Error: value of ffffffffffffff7f too large for field of 1
bytes at 00000000000002c0
make: *** [jccolor.lo] Error 1
make: *** Waiting for unfinished jobs....
mv -f jcsample.o jcsample.lo
 
!!! ERROR: media-libs/jpeg-mmx-1.1.2-r1 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! make failed
 
Calculating dependencies  ...done!
>>> emerge (1 of 1) media-libs/jpeg-mmx-1.1.2-r1 to /
>>> md5 ;-) jpeg-mmx-1.1.2.tar.gz
(END)

Comment 5 sinterklaas 2003-02-18 07:06:07 UTC
finally gimp :

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..                             -I../../intl-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include                         -I/usr/include -DLOCALEDIR=\""/usr/share/locale"\" -DGTK_DISABLE_COMPAT_H  -march=k6-2 -O3 -pipe -fomit-frame-pointer -Wall -c rcm_gdk.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..                             -I../../intl-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include                         -I/usr/include -DLOCALEDIR=\""/usr/share/locale"\" -DGTK_DISABLE_COMPAT_H  -march=k6-2 -O3 -pipe -fomit-frame-pointer -Wall -c rcm_misc.c
{standard input}: Assembler messages:
{standard input}:1045: Error: value of ffffffffffffff7f too large for field of 1 bytes at 0000000000000e5e
make[3]: *** [rcm_misc.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3/plug-ins/rcm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-1.2.3-r3/work/gimp-1.2.3'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-gfx/gimp-1.2.3-r3 failed.
!!! Function src_compile, Line 115, Exitcode 2
!!! (no error message)

Calculating dependencies  ...done!
>>> emerge (1 of 1) media-gfx/gimp-1.2.3-r3 to /
>>> md5 ;-) gimp-1.2.3.tar.bz2
Comment 6 Mark McKenna 2003-02-26 18:32:38 UTC
I can confirm this error with jpeg-mmx and several other packages (whose names elude me presently) on the k6-2 using -march=k6-2.  I tried jpeg-mmx without -fomit-frame-pointer and it compiled just fine.

I'll attach a new .ebuild which strips -fomit-frame-pointer only if it finds -march=k6-2; I hear this happens with the k6 as well, but I can't confirm it, so someone should adjust it accordingly, perhaps?

I've also repaired media-libs/imlib2, which has the same issue.
Comment 7 Mark McKenna 2003-02-26 18:33:45 UTC
Created attachment 8753 [details]
.ebuild for -fomit-frame-pointer on the k6-2 error fix
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-10 07:02:35 UTC
ok lame, jpeg-mmx and gimp ebuilds have been altered.

Mark, sinterklaas, please re-open this bug report if you find more packages with this issue.