Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13424 - stage1-x86-1.4_pre20030107.tar.bz2
Summary: stage1-x86-1.4_pre20030107.tar.bz2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 All
: Lowest blocker (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-07 11:14 UTC by Tony Clark
Modified: 2003-02-04 19:42 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 Tony Clark 2003-01-07 11:14:16 UTC
Just tried to build a system using this stage1 and it fell over badly.  Got as
far as build binutils then tried to install gcc2.95-3 for some reason.  gcc2.95
failed to build because I have athlon-mp for CFLAGS from the looks of it.

USE="X gtk -gnome alsa kde mozilla mysql ssl xmms xv qtmt dvd motif acpi cdr
-pcmcia -arts -cups -esd"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O3 -pipe"
CXXFLAGS="${CFLAGS}"
DISTDIR=/pub/portage/distfiles
MAKEOPTS="-j4"

rest of make.conf is commented out

ake[3]: Entering directory `/var/tmp/portage/gcc-2.95.3-r7/work/gcc-2.95.3/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r7/work/gcc-2.95.3/gcc/intl'
ln -s ./../libiberty/obstack.c obstack.c
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c  -DIN_GCC     -O2
-march=athlon-mp  -pipe  -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include
obstack.c
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c  -DIN_GCC     -O2
-march=athlon-mp  -pipe  -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include
./gengenrtl.c
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c  -DIN_GCC     -O2
-march=athlon-mp  -pipe  -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include
version.c
cc1: bad value (athlon-mp) for -march= switch
cc1: bad value (athlon-mp) for -march= switch
cc1: bad value (athlon-mp) for -march= switch
make[2]: *** [version.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [obstack.o] Error 1
make[2]: *** [gencheck.o] Error 1
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r7/work/gcc-2.95.3/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-2.95.3-r7 failed.
!!! Function src_compile, Line 108, Exitcode 2
!!! (no error message)
Comment 1 Tony Clark 2003-01-07 11:30:11 UTC
It seems to be picking up gcc2.95 because
MYPROFILEDIR=/usr/portage/profiles/default-1.0
Comment 2 Tony Clark 2003-01-07 11:36:56 UTC
Actually I think this is the problem.

/etc/make.profile/packages
*=sys-devel/gcc-2.95.3-r7
*=sys-libs/glibc-2.2.5-r7
Comment 3 Tony Clark 2003-01-07 12:04:01 UTC
it is just a broken symlink for make.profile
Comment 4 Tony Clark 2003-01-07 13:02:50 UTC
Just another thing.  The install docs say do env-update before emerge sync. 
This does not seem to work in practise, you have to do it after emerge sync.
Comment 5 Jared H. Hudson (RETIRED) gentoo-dev 2003-01-08 17:06:41 UTC
fixed