Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9972 - libiconv doesn't compile - suspecting it's gcc3.2 fault
Summary: libiconv doesn't compile - suspecting it's gcc3.2 fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-30 11:45 UTC by Philipp Morger
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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 Philipp Morger 2002-10-30 11:45:46 UTC
ok - this is one I think needs black magic... and as of yet am just a level 3
mage... 

iconv.c: In function `cp932ext_mbtowc':
iconv.c:404: unrecognizable insn:
(insn 238 236 240 (set (reg:QI 90)
        (const_int 128 [0x80])) -1 (nil)
    (nil))
iconv.c:404: Internal compiler error in extract_insn, at recog.c:2148
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
iconv.c: In function `cp932ext_mbtowc':
iconv.c:379: unrecognizable insn:
(insn 238 236 240 (set (reg:QI 90)
        (const_int 128 [0x80])) -1 (nil)
    (nil))
iconv.c:379: Internal compiler error in extract_insn, at recog.c:2148
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [iconv.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [libiconv_plug_linux.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/libiconv-1.7/work/libiconv-1.7/lib'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -159, Exitcode 2
!!! (no error message)

my make.conf:
USE="bonobo crypt cups dga dvd evo esd gb gnome gtk gtkhtml imap ipv6 gif jpeg
maildir mozilla mysql oggvorbis opengl oss pam png readline sasl spell ssl tcpd
truetype X cface xml2 xmms zlib tcltk xface -arts -kde -svga -qt -qtmt"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="${CFLAGS}"

my make.global:
MAKEOPTS="-j2"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS=${CFLAGS}
FEATURES="sandbox ccache"

I also had in the past no gcc options in the make.conf (so the global settings
were in use... same thing)

can someone please confirm this as an gcc bug or is this gentoo related?
Comment 1 Philipp Morger 2002-11-01 10:01:51 UTC
ok.. I made a new ebuild... with 1.8 and there it's the same.... I played around
with compile flags and discovered that -O0 leads to success.... a small patch
for the libtool-stuff in the Makefile was also needed and eh voila... it merged... 
Comment 2 Spider (RETIRED) gentoo-dev 2002-12-11 23:31:43 UTC
well, good that you got it to work, but libiconv is perm-masked due to odd
side-effects.