Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63935 - Failure to compile gcc-3.4.2-r1
Summary: Failure to compile gcc-3.4.2-r1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 14:12 UTC by Brandon Low (RETIRED)
Modified: 2004-09-13 16:53 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 Brandon Low (RETIRED) gentoo-dev 2004-09-13 14:12:33 UTC
/var/tmp/portage/gcc-3.4.2-r1/work/build/gcc/xgcc -B/var/tmp/portage/gcc-3.4.2-r                                                                                                                                         
1/work/build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -i                                                                                                                                         
system /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-includ                                                                                                                                         
e -c -DHAVE_CONFIG_H -O2 -O2 -pipe -freorder-blocks -fprefetch-loop-arrays -I. -                                                                                                                                         
I/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/../include  -W -Wall -Wt                                                                                                                                         
raditional -pedantic /var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/rege                                                                                                                                         
x.c -o regex.o
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/regex.c:1: warning: -fpre                                                                                                                                         
fetch-loop-arrays not supported for this target (try -march switches)
In file included from /var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/../                                                                                                                                         
include/xregex.h:26,
                 from /var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/reg                                                                                                                                         
ex.c:195:
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/../include/xregex2.h:548:                                                                                                                                         
 warning: ISO C90 does not support `static' or type qualifiers in parameter arra                                                                                                                                         
y declarators
In file included from /var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/reg                                                                                                                                         
ex.c:649:
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/regex.c: In function `byt                                                                                                                                         
e_compile_range':
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/regex.c:4548: warning: si                                                                                                                                         
gned and unsigned type in conditional expression
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/regex.c:4558: warning: si                                                                                                                                         
gned and unsigned type in conditional expression
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/regex.c:4558: warning: si                                                                                                                                         
gned and unsigned type in conditional expression
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/regex.c: In function `xre                                                                                                                                         
gcomp':
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/regex.c:8043: warning: si                                                                                                                                         
gned and unsigned type in conditional expression
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/regex.c: At top level:
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/regex.c:8178: warning: un                                                                                                                                         
used parameter 'preg'
if [ x"-fpic" != x ]; then \
  /var/tmp/portage/gcc-3.4.2-r1/work/build/gcc/xgcc -B/var/tmp/portage/gcc-3.4.2                                                                                                                                         
-r1/work/build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/                                                                                                                                          
-isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-incl                                                                                                                                         
ude -c -DHAVE_CONFIG_H -O2 -O2 -pipe -freorder-blocks -fprefetch-loop-arrays -I.                                                                                                                                         
 -I/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/../include  -W -Wall -                                                                                                                                         
Wtraditional -pedantic -fpic /var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libibe                                                                                                                                         
rty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/cplus-dem.c:1: warning: -                                                                                                                                         
fprefetch-loop-arrays not supported for this target (try -march switches)
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/cplus-dem.c:55: error: co                                                                                                                                         
nflicting types for 'malloc'
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/cplus-dem.c:55: error: co                                                                                                                                         
nflicting types for 'malloc'
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/cplus-dem.c: In function                                                                                                                                          
`code_for_qualifier':
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/cplus-dem.c:630: warning:                                                                                                                                         
 implicit declaration of function `abort'
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/cplus-dem.c: In function                                                                                                                                          
`squangle_mop_up':
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/cplus-dem.c:1154: warning                                                                                                                                         
: implicit declaration of function `free'
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/cplus-dem.c: In function                                                                                                                                          
`demangle_qualified':
/var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/libiberty/cplus-dem.c:3310: warning                                                                                                                                         
: implicit declaration of function `atoi'
make[1]: *** [cplus-dem.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.2-r1/work/build/i686-pc-lin                                                                                                                                         
ux-gnu/libiberty'
make: *** [all-target-libiberty] Error 2

emerge --info:

Portage 2.0.51_pre23 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8.1-mm1 i686)
=================================================================
System uname: 2.6.8.1-mm1 i686 mobile AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer -fgcse -fgcse-lm -fgcse-sm -freorder-blocks -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/openjms/config /usr/X11R6/lib/X11/xkb /usr/kde/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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer -fgcse -fgcse-lm -fgcse-sm -freorder-blocks -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs digest fixpackages sandbox usersandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="cvs://lostlogic@cvs.gentoo.org:/home/cvsroot"
USE="x86 3dnow X aalib acpi alsa apache2 avi berkdb cdr crypt cups curl dga directfb dllloader dvd encode ethereal fbcon flash gd gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml imap imlib innodb java jikes jpeg libg++ libwww lirc mbox mmx mozilla mpeg mysql ncurses oci8 oggvorbis opengl pam pcmcia pdflib perl plotutils png pnp postgres python quicktime readline samba sdl spell sse ssl svga tcltk tetex tiff truetype usb xinerama xml xml2 xmms xprint xv zlib"
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-09-13 16:53:13 UTC
your cflags are broke.