Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237877 - sys-devel/gcc-3.4.6 fails building gcc-4.1.2 with profiledbootstrap : error: stray '\226' in program
Summary: sys-devel/gcc-3.4.6 fails building gcc-4.1.2 with profiledbootstrap : error: ...
Status: RESOLVED FIXED
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:
: 237970 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-16 21:14 UTC by Matt
Modified: 2008-12-29 22:47 UTC (History)
3 users (show)

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


Attachments
build.log.txt (build.log,1.52 MB, text/plain)
2008-09-17 14:11 UTC, Matt
Details
environment.txt (environment,177.59 KB, text/plain)
2008-09-17 14:13 UTC, Matt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2008-09-16 21:14:38 UTC
Here's what happens:


/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -shared-libgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc -nostdinc++ -L/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/src -L/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -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-include -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++ -O2 -mtune=pentium4 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/src/codecvt.cc  -fPIC -DPIC -o .libs/codecvt.o
In file included from /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/memory:61,
                 from /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/string:48,
                 from /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/bits/locale_classes.h:47,
                 from /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/locale:46,
                 from /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/src/codecvt.cc:30:
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/limits:990: error: stray '\226' in program
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/limits:1047: error: stray '\374' in program
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/limits:1104: error: stray '\226' in program
make[5]: *** [codecvt.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-target-libstdc++-v3] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
make: *** [profiledbootstrap] Error 2
 *
 * ERROR: sys-devel/gcc-4.1.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4560:  Called toolchain_src_compile
 *             environment, line 5077:  Called gcc_src_compile
 *             environment, line 2917:  Called gcc_do_make
 *             environment, line 2740:  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 profiledbootstrap
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment'.
 *

I'll attach the logs if I'm able.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-16 21:33:03 UTC
(In reply to comment #0)
> I'll attach the logs if I'm able.

Please do, and post your `emerge --info' in a comment too.
Comment 2 Matt 2008-09-17 14:08:53 UTC
Portage 2.1.4.4 (default/linux/x86/2008.0/server, gcc-3.4.6, glibc-2.6.1-r0, 2.6.25-gentoo-r5 i686)
=================================================================
System uname: 2.6.25-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Timestamp of tree: Wed, 17 Sep 2008 05:34:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer prelink sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa apache2 atm avi bzip2 bzlib cdr crypt cups cvs dga dhcp divx4linux dv dvd dvdr encode extrafilters ffmpeg flac flash foomaticdb gd gif hal imagemagick imlib insecure-drivers ithreads ivtv jpeg libwww lzo maildir mjpeg mmx mmxext mp3 mpeg mpm-prefork mppe-mppc mysql mythtv nagios-dns nagios-ping nagios-ssh ncurses netboot nptl nptlonly ogg oggvorbis opengl oss pam parport pdflib perl perlsuid php pic png posix ppds python qmail quicktime readline rtc samba sdk sdl shared spamassassin spell sqlite3 sse sse2 ssl subversion svnserve swat tcpd theora threads tiff tokenizer transcode truetype unichrome unicode unzip ups usb v4l v4l2 vorbis wifi win32codecs x264 x86 xml xml2 xosd xsl xv xvid zip 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Matt 2008-09-17 14:11:16 UTC
Created attachment 165642 [details]
build.log.txt
Comment 4 Matt 2008-09-17 14:13:49 UTC
Created attachment 165643 [details]
environment.txt
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-18 05:54:42 UTC
*** Bug 237970 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2008-12-29 22:47:13 UTC
the issue should "go away" now

http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.370&r2=1.371