Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303177 - sys-devel/gcc-4.4.2 fails to build (on a slightly outdated installation)
Summary: sys-devel/gcc-4.4.2 fails to build (on a slightly outdated installation)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-02 04:03 UTC by Rumi Szabolcs
Modified: 2010-03-04 20:54 UTC (History)
0 users

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


Attachments
Full build log (sys-devel:gcc-4.4.2:20100201-234823.log,1.52 MB, text/plain)
2010-02-02 08:21 UTC, Rumi Szabolcs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rumi Szabolcs 2010-02-02 04:03:51 UTC
In file included from /usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/cp-lang.c:26:
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/cp-tree.h:4197: error: expected '=', ',', ';', 'asm' or '__attribute__' before '}' token
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/cp-tree.h:4197: warning: data definition has no type or storage class
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/cp-tree.h:4198: warning: type defaults to 'int' in declaration of 'ild_special_member_call'
make[3]: *** [cp/cp-lang.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/call.c:32:
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/cp-tree.h:4197: error: expected '=', ',', ';', 'asm' or '__attribute__' before '}' token
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/cp-tree.h:4197: warning: data definition has no type or storage class
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/cp-tree.h:4198: warning: type defaults to 'int' in declaration of 'ild_special_member_call'
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/call.c: In function 'build_temp':
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/call.c:4515: warning: implicit declaration of function 'build_special_member_call'
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/call.c:4518: warning: assignment makes pointer from integer without a cast
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/call.c: In function 'convert_like_real':
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/call.c:4724: warning: assignment makes pointer from integer without a cast
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/call.c: At top level:
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/call.c:5703: warning: no previous prototype for 'build_special_member_call'
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/call.c:5703: error: conflicting types for 'build_special_member_call'
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/call.c:4515: note: previous implicit declaration of 'build_special_member_call' was here
make[3]: *** [cp/call.o] Error 1
rm gcc.pod gfortran.pod
make[3]: Leaving directory `/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/build'
make: *** [bootstrap-lean] Error 2
 * 
 * ERROR: sys-devel/gcc-4.4.2 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 4908:  Called toolchain_src_compile
 *             environment, line 5470:  Called gcc_src_compile
 *             environment, line 3111:  Called gcc_do_make
 *             environment, line 2901:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with bootstrap-lean
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/sys-devel:gcc-4.4.2:20100201-234823.log'.
 * The ebuild environment file is located at '/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/temp/environment'.
 * 

>>> Failed to emerge sys-devel/gcc-4.4.2



# emerge --info
Portage 2.1.6.11 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.10.1-r1, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r4-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-glibc2.0
Timestamp of tree: Mon, 01 Feb 2010 20:30:02 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc:       4.1.2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/mc/mc.ext"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/src/gentoo/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="en hu"
MAKEOPTS="-j3"
PKGDIR="/usr/src/gentoo/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/src/gentoo/tmp/medion"
PORTDIR="/usr/src/gentoo/portage"
PORTDIR_OVERLAY="/nfs/gentoo/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amr amrnb amrwb berkdb bluetooth bzip2 cairo cdio cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dts dv dvb dvd dvdr eds encode exif ffmpeg firefox flac fontconfig fortran gd gdbm gif glitz glut gnome gpm gs gstreamer gtk gtk2 hal iconv id3 id3tag idea ieee1394 ipv6 irda ithreads java jbig jpeg jpeg2k kerberos lame lcms ldap libgda libnotify lzo matroska mmx mmx2 mmxext mng modules mono moonlight mp2 mp3 mp4 mpeg mudflap musepack ncurses nls nntp nptl nptlonly ogg opengl openmp pam pcre pdf perl png policykit pppd python quicktime readline reflection rle samba sasl sdl session smp speex spl sse sse2 ssl svg sysfs t1lib tcpd theora threads tiff truetype unicode urandom usb v4l v4l2 vcd vcdx vorbis win32codecs wma wmf x264 x86 xattr xinerama xml xorg xprint xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hu" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-02-02 07:10:10 UTC
Please, attach full build.log.
Comment 2 Rumi Szabolcs 2010-02-02 08:21:10 UTC
Created attachment 218139 [details]
Full build log
Comment 3 SpanKY gentoo-dev 2010-02-10 03:34:36 UTC
i cant see any reason why that would fail.  please run:

cd /usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/build/gcc
/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/build/./prev-gcc/xgcc -B/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/build/./prev-gcc/ -B/usr/i686-pc-linux-gnu/bin/ -c  -march=i686 -O2 -pipe -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Icp -I/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc -I/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp -I/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/../include -I/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/../libcpp/include  -I/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/../libdecnumber -I/usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/../libdecnumber/bid -I../libdecnumber    /usr/src/gentoo/tmp/medion/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/gcc/cp/cp-lang.c -o cp/cp-lang.o

if that still fails for the same reason, change the "-c" to "-E -dD", the "cp-lang.o" to "cp-lang.i", and post the resulting file as an attachment
Comment 4 Rumi Szabolcs 2010-02-12 14:08:21 UTC
Well, I didn't see any reason for it to fail either but it did...

This may be a rare situation as most people probably went to gcc-4.4
through gcc-4.3 and not straight from 4.1. I suspect that the problem
may be related to this because those installations with whom I went
through 4.3.x I haven't experienced this error.

I'm terribly sorry but I cannot provide any more feedback as I had to
make the affected machine usable so it's not in this particular state
anymore. It's up to you whether you close this bug or wait for somebody
else to confirm and help to diagnose it further.
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2010-03-04 20:54:29 UTC
Can't reproduce this either.