Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246446 - sys-devel/gcc-4.1.2 emake failed with profiledbootstrap (/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory)
Summary: sys-devel/gcc-4.1.2 emake failed with profiledbootstrap (/usr/include/gnu/stu...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 00:02 UTC by Antonio Pezo
Modified: 2008-12-07 20:32 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 Antonio Pezo 2008-11-12 00:02:48 UTC
gcc 4.1.2 emake failed with profiledbootstrap (/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory)

Reproducible: Always

Steps to Reproduce:
1. emerge gcc
2.
3.

Actual Results:  
make[4]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
./xgcc -B./ -B/usr/x86_64-pc-linux-gnu/bin/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -L/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc/../ld -O2 -O2 -O2 -pipe  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I32 -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/32 -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../libcpp/include  -m32 -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time  -fno-omit-frame-pointer -fno-asynchronous-unwind-tables \
	  -c /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/crtstuff.c -DCRT_BEGIN \
	  -o 32/crtbegin.o
In file included from /usr/include/features.h:345,
                 from /usr/include/stdio.h:28,
                 from /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/tsystem.h:90,
                 from /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/crtstuff.c:68:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make[4]: *** [32/crtbegin.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[3]: *** [extra32] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make: *** [profiledbootstrap] Error 2
 * 
 * ERROR: sys-devel/gcc-4.1.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4649:  Called toolchain_src_compile
 *             environment, line 5167:  Called gcc_src_compile
 *             environment, line 2975:  Called gcc_do_make
 *             environment, line 2798:  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


Expected Results:  
emerge completed

gentoo64 ~ # emerge --info
Portage 2.1.4.5 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz
Timestamp of tree: Tue, 11 Nov 2008 18:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
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.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
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="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups directfb doc doxygen dri dvd dvdr dvdread dvi eds emboss encode epiphany esd evo examples fam fbcon ffmpeg firefox flac fontconfig fortran fuse gcdmaster gd gdbm gedit gif gnome gnomecd gphoto2 gpm graphviz gstreamer gtk hal hdb iconv ipv6 isdnlog jadetex java jpeg jpeg2k kde ldap libnotify mad midi mikmod mmx motif mp3 mpeg mudflap multilib mysql nautilus ncurses network nls nntp nptl nptlonly nsplugin ogg opengl openmp pam paste64 pcre pda pdf perl php pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection remote samba sdl session spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcl tcpd tiff tk toolbar truetype unicode usb vim-syntax vim-with-x vorbis wmf xattr xcb xcomposite xft xinerama xinetd xml xorg xpm xprint xrandr xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga vmware nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Bomba 2008-11-19 23:01:21 UTC
 *                                                                                 
 * ERROR: sys-devel/gcc-4.3.2 failed.                                              
 * Call stack:                                                                     
 * ebuild.sh, line   49:  Called src_compile                                       
 * environment, line 4667:  Called toolchain_src_compile                           
 * environment, line 5183:  Called gcc_src_compile                                 
 * environment, line 2999:  Called gcc_do_make                                     
 * environment, line 2822:  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.3.2/temp/build.log'.                                                                          
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2/temp/environment'.                                                                 
 *                                                                                 

>>> Failed to emerge sys-devel/gcc-4.3.2, Log file:

>>>  '/var/tmp/portage/sys-devel/gcc-4.3.2/temp/build.log'

 * Messages for package sys-devel/gcc-4.3.2:

 * 
 * ERROR: sys-devel/gcc-4.3.2 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 4667:  Called toolchain_src_compile
 * environment, line 5183:  Called gcc_src_compile
 * environment, line 2999:  Called gcc_do_make
 * environment, line 2822:  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.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2/temp/environment'.
 *
Comment 2 SpanKY gentoo-dev 2008-12-07 20:32:47 UTC
gnu/stubs-32.h is provided by glibc.  if yours isnt providing it, you dont have a multilib glibc.  that means your gcc wont build with multilib support, so you shouldnt have a multilib profile selected.