Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43282 - gcc-3.3.3_pre20040215 fails to compile
Summary: gcc-3.3.3_pre20040215 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-29 06:01 UTC by Tassilo Horn
Modified: 2004-06-02 13:32 UTC (History)
2 users (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 Tassilo Horn 2004-02-29 06:01:19 UTC
The compile fails with the output:

gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/config -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/../include /var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/recog.c -o recog.o
gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/config -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/../include /var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/reg-stack.c -o reg-stack.o
gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/config -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/../include /var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/regclass.c -o regclass.o
gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/config -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/../include /var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/regmove.c -o regmove.o
/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/regmove.c: In function `fixup_match_1':
/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/regmove.c:1685: warning: `newconst' might be used uninitialized in this function
gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/config -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/../include /var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/regrename.c -o regrename.o
gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/config -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/../include /var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/reload.c -o reload.o
gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/. -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/config -I/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/../include /var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/reload1.c -o reload1.o
/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/reload.c: In function `find_valid_class':
/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/reload.c:710: warning: comparison between signed and unsigned
/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/reload.c: In function `update_auto_inc_notes':
/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/reload.c:5229: warning: comparison between signed and unsigned
/var/tmp/portage/gcc-3.3.3_pre20040215/temp/ccaOrPji.s: Assembler messages:
/var/tmp/portage/gcc-3.3.3_pre20040215/temp/ccaOrPji.s:4250: Error: ignoring least significant bits in branch offset
make[2]: *** [reload.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/reload1.c: In function `reload_as_needed':
/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/reload1.c:3991: warning: comparison between signed and unsigned
/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/reload1.c:4058: warning: comparison between signed and unsigned
/var/tmp/portage/gcc-3.3.3_pre20040215/work/gcc-20040215/gcc/reload1.c:3847: warning: `prev' might be used uninitialized in this function
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.3_pre20040215/work/build/gcc'
make[1]: *** [stage1_build] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.3_pre20040215/work/build/gcc'
make: *** [bootstrap-lean] Fehler 2

!!! ERROR: sys-devel/gcc-3.3.3_pre20040215 failed.
!!! Function src_compile, Line 453, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1.emerge -u gcc
2.
3.




ibook nicre # emerge info 
Portage 2.0.50-r1 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.2_rc1-benh1) 
================================================================= 
System uname: 2.6.2_rc1-benh1 ppc 750FX 
Gentoo Base System version 1.4.3.13p1 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="ppc ~ppc" 
AUTOCLEAN="yes" 
CFLAGS="-mcpu=750 -O2 -pipe -fsigned-char -mpowerpc-gfxopt" 
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/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/lib/pbbuttonsd /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-mcpu=750 -O2 -pipe -fsigned-char -mpowerpc-gfxopt" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="ccache sandbox" 
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://
mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/
mirrors/gentoo http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.uni-erlangen.de/
pub/mirrors/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="X alsa arts berkdb cups de dga emacs fbcon foomaticdb freetype gdbm gif 
gnome-libs gtk gtk2 imagemagick imap imlib jpeg libwww linguas_de mad maildir 
mitshm motif mpeg mpeg4 ncurses nls nptl oggvorbis opengl pam pdflib perl png 
ppc python qt quicktime radeon readline sdl slang spell ssl tcpd tetex tiff 
truetype type1 usb wmf xml2 xmms xosd xv xvid zlib"
Comment 1 Luca Barbato gentoo-dev 2004-02-29 12:02:06 UTC
use a sane CFLAG settings

please remove -fsigned-char and keep in mind that -mpowerpc-gfxopt could be problematic too
Comment 2 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-06-02 13:32:07 UTC
20040408-r1 and glibc-20040420-r1 is a stable combinations, this will probably be reflected by masking both stable on ppc.