Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14554 - jpeg/gcc issue
Summary: jpeg/gcc issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-25 20:30 UTC by David Bauman
Modified: 2003-02-04 19:42 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 David Bauman 2003-01-25 20:30:27 UTC
While trying to emerge mod_php, I came across the media-libs/jpeg dependancy 
that will not build. It appears that jpeg-6b-r3 as well as the older -r2 are 
both failing in the same place, with the same error. 
 
The exact error (for both ebuilds) is: 
jcphuff.c: In function 'encode_mcu_AC_refine': 
jcphuff.c:738: internal error: Illegal instruction 
<thing about reporting bug> 
make: *** [jcphuff.lo] Error 1 
 
!!! ERROR: media-libs/jpeg-6b-r3 failed. 
!!! Function src_compile, Line 35, Exitcode 2 
!!! (no error message)
Comment 1 David Bauman 2003-01-25 21:49:51 UTC
Version of gcc used: 3.2.1 (On a Celeron 800 / 256 megs RAM) 
Also checked: gcc 3.2.1 (On P3 1GHz / 1024 megs RAM) - Failed 
Also checked: gcc 2.95.3 (On P3 800 / 512 megs RAM) - This one worked 
 
It may be a gcc 3.2.1 issue. 
Comment 2 SpanKY gentoo-dev 2003-01-26 16:10:14 UTC
what does `emerge info` show ? 
Comment 3 David Bauman 2003-01-27 02:04:10 UTC
Here's the info you requested. 
 
Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)  
=================================================================  
System uname: 2.4.19-gentoo-r10 i686 Pentium III (Coppermine)  
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"  
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 encode gif gpm imlib jpeg libg++ mikmod  
mmx motif mpeg ncurses nls oggvorbis pdflib png qt qtmt quicktime sdl spell   
svga truetype xml2 zlib gdbm berkdb slang readline java mysql tcpd pam libwww  
ssl perl python"  
COMPILER="gcc3"  
CHOST="i686-pc-linux-gnu"  
CFLAGS="-O2 -mcpu=i686 -pipe"  
CXXFLAGS=""  
ACCEPT_KEYWORDS="x86"  
MAKEOPTS="-j2"  
AUTOCLEAN="yes"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
FEATURES="sandbox ccache"  
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-28 15:03:38 UTC
Try to set the arch in CFLAGS:  CFLAGS="-march=i686 -O2 -pipe".  Same for
CXXFLAGS.  Then remerge gcc, and try again.
Comment 5 David Bauman 2003-01-28 15:45:05 UTC
Same error as before, on both ebuilds, with the following set in make.conf:  CFLAGS="-march=i686 -O2 -pipe" CXXFLAGS="-march=i686 -O2 -pipe" 
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-02 03:01:21 UTC
Any chance to try with gcc-3.2.2_pre20030131 ?
Comment 7 David Bauman 2003-02-02 20:37:52 UTC
gcc-3.2.2_pre20030131 compiled jpeg6b-r3 successfully, on both machines it 
failed on. 
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-03 16:42:20 UTC
Ok, great to hear.