Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 94243

Summary: gcc-3.3.x calls the wrong make target in toolchain.eclass
Product: Gentoo Linux Reporter: Andrew D Kirch <trelane>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: blocker CC: avdija, sam.walters
Priority: Highest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew D Kirch 2005-05-27 22:00:04 UTC
bootstrap.sh exits out when it appears a portage variable makes it into gcc's
automake

Reproducible: Always
Steps to Reproduce:
1. unbzip2 stage1
2. chroot
3. edit make.conf to change to 1686 / -mcpu=pentium4
4. sh /usr/portage/scripts/bootstrap.sh

Actual Results:  
* Compiling gcc ...
/var/tmp/portage/gcc-3.3.5.20050130-r1/work/build
/var/tmp/portage/gcc-3.3.5.20050130-r1/work/build
/var/tmp/portage/gcc-3.3.5.20050130-r1/work/gcc-3.3.5
 * Running make LDFLAGS="" STAGE1_CFLAGS="-O"
LIBPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130" BOOT_CFLAGS=" -O2
-mcpu=pentium4" profiledbootstrap
make: *** No rule to make target `profiledbootstrap'.  Stop.


Portage 2.0.51.19 (hardened/x86/2.6, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 1800MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 23 2005, 04:49:06)]
dev-lang/python:     2.3.4
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium4 -fomit-frame-pointer -fforce-addr -fstack-protector-all"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium4 -fomit-frame-pointer -fforce-addr
-fstack-protector-all"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo
ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.netnitco.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="berkdb crypt dlloader hardened ncurses nls pam pic python readline ssl tcpd
userlocales x86 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Ian P. Christian 2005-05-28 08:37:51 UTC
this is not hardened only, this appears to be a common issue at the moment 
 
http://forums.gentoo.org/viewtopic-t-342561-highlight-emake+profiledbootstrap.html 
Comment 2 Simon Strandman 2005-05-28 10:51:43 UTC
Check my post on the forums for a workaround:
http://forums.gentoo.org/viewtopic-p-2449036.html#2449036
Comment 3 SpanKY gentoo-dev 2005-05-28 14:26:40 UTC
fixed in cvs
Comment 4 SpanKY gentoo-dev 2005-05-28 16:17:57 UTC
*** Bug 94318 has been marked as a duplicate of this bug. ***