Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43555 - mozilla 1.6-r1 doesn't compile with gcc3.3.3
Summary: mozilla 1.6-r1 doesn't compile with gcc3.3.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-02 20:06 UTC by François Bissey
Modified: 2004-04-30 01:42 UTC (History)
2 users (show)

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


Attachments
file that emerge suggested to attach to this bug (ccw44xmq.out,275.36 KB, text/plain)
2004-03-02 20:15 UTC, François Bissey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description François Bissey 2004-03-02 20:06:33 UTC
After emerging the new version of gcc on ppc I decided to rebuild a few applications. Of which mozilla 1.6-r1 (which compiled with gcc3.2) an emerge mozilla ends up with the following message:

gcc -o jsobj.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DEXPORT_JS_API  -DJS_USE_SAFE_ARENA   -I../../dist/include/js -I../../dist/include -I/var/tmp/portage/mozilla-1.6-r1/work/mozilla/dist/include/nspr     -I. -I/usr/X11R6/include   -fPIC -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -O2 -pipe -mcpu=7450 -s -fforce-addr -fno-strict-aliasing -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -I/usr/X11R6/include -include ../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jsobj.pp jsobj.c
jsobj.c: In function `js_DefineNativeProperty':
jsobj.c:2315: error: Attempt to delete prologue/epilogue insn:
(insn/f 692 691 693 0 (nil) (set (mem:SI (plus:SI (reg/f:SI 1 r1)
                (const_int 32 [0x20])) [0 S4 A8])
        (reg:SI 20 r20)) -1 (nil)
    (expr_list:REG_FRAME_RELATED_EXPR (set (mem:SI (plus:SI (reg/f:SI 1 r1)
                    (const_int 32 [0x20])) [0 S4 A8])
            (reg:SI 20 r20))
        (nil)))
jsobj.c:2315: internal compiler error: in propagate_one_insn, at flow.c:1741
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
jsinterp.c: In function `js_Interpret':
jsinterp.c:1377: warning: `sp' might be used uninitialized in this function
jsinterp.c:1385: warning: `id' might be used uninitialized in this function
Preprocessed source stored into /var/tmp/portage/mozilla-1.6-r1/temp/ccw44xmq.out file, please attach this to your bugreport.
make[3]: *** [jsobj.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/mozilla-1.6-r1/work/mozilla/js/src'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/var/tmp/portage/mozilla-1.6-r1/work/mozilla/js'
make[1]: *** [tier_2] Error 2
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.6-r1/work/mozilla'
make: *** [default] Error 2

!!! ERROR: net-www/mozilla-1.6-r1 failed.
!!! Function src_compile, Line 378, Exitcode 2
!!! (no error message)


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

Actual Results:  
Always the same message as in details, since the first instance of the problem I
also upgraded glibc to glibc-2.3.3_pre20040207-r0, rebuild gcc and binutils and
various libraries and still have the same result when emerging mozilla

Expected Results:  
compiled.

emerge info gives:
Portage 2.0.50-r1 (default-ppc-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.4.24-benh0)
=================================================================
System uname: 2.4.24-benh0 ppc 7450, altivec supported
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo
ftp://203.16.234.20/pub/gentoo/ http://203.16.234.20/pub/gentoo/
http://203.16.234.19/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X aalib arts berkdb cups dvd esd foomaticdb gdbm gif gnome-libs gpm gtk2
imlib jpeg kde libwww mitshm motif mozilla ncurses nls oggvorbis opengl oss pam
perl png ppc python qt readline sdl slang ssl tcpd tetex truetype xml xml2 xv"
Comment 1 François Bissey 2004-03-02 20:15:00 UTC
Created attachment 26743 [details]
file that emerge suggested to attach to this bug
Comment 2 Luca Barbato gentoo-dev 2004-03-19 19:00:14 UTC
is that gcc-3.3.3 or gcc-3.3.3_pre20040215 ?
Comment 3 François Bissey 2004-03-19 20:20:35 UTC
gcc --version says 
gcc (GCC) 3.3.3 (Gentoo Linux 3.3.3_pre20040215)
I did emerge it from the gentoo ~ppc tree.
However to a lot of people it only appears as
gcc 3.3.3 .
Comment 4 Luca Barbato gentoo-dev 2004-04-19 09:08:34 UTC
fixed in the latest snapshot. it is still p.masked but works fine.
Comment 5 solar (RETIRED) gentoo-dev 2004-04-29 13:45:06 UTC
Can this be closed now?
Comment 6 Luca Barbato gentoo-dev 2004-04-30 01:42:21 UTC
given there isn't any ebuild for gcc-3.3.3 not p.masked I guess so