[gentoo-user] difficulty installing gentoo on AMD sempron

2005-06-04 Thread Allan Gottlieb
I have installed gentoo a few times without difficulty, but always on
pentium 4s.  My son is installing it on an AMD sempron and we are
having trouble involving i686 vs i386.

In make.conf we have

CFLAGS="-march=athlon-xp -pipe -O2"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPT="-j2"
PORT_LOGDIR="/var/log/portage"

We used the install-x86-minimal-2005.0.iso live CD
and downloaded

stage1-x86-20005.0.tar.bz2

We unpacked the tar and ran bootstrap.sh

The compile of glibc fails trying to access the file

/etc/env.d/gcc/i386-pc-linux-gnu-3.3.5

The file does not exist.  Instead we have the file

/etc/env.d/gcc/i686-pc-linux-gnu-3.3.5-20050130

The directory /etc/env.d/gcc also contains two config files

config

and

config-i386-pc-linux-gnu-3.3.5

These files are identical and contain one line

CURRENT=i386-pc-linux-gnu-3.3.5

I realize that the bootstrap builds the compiler twice and we did
define PORT_LOGDIR, but I don't have the machine available now.  If it
is needed to send some output from one of the logs that can be done.

Thanks in advance,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] difficulty installing gentoo on AMD sempron

2005-06-04 Thread Zac Medico


--- Allan Gottlieb <[EMAIL PROTECTED]> wrote:

> The compile of glibc fails trying to access the file
> 
> /etc/env.d/gcc/i386-pc-linux-gnu-3.3.5
> 
> The file does not exist.  Instead we have the file
> 
> /etc/env.d/gcc/i686-pc-linux-gnu-3.3.5-20050130
> 
> The directory /etc/env.d/gcc also contains two
> config files
> 
> config
> 
> and
> 
> config-i386-pc-linux-gnu-3.3.5
> 
> These files are identical and contain one line
> 
> CURRENT=i386-pc-linux-gnu-3.3.5
> 

Looks like the new compiler is not properly
configured.  Try this:

gcc-config i686-pc-linux-gnu-3.3.5-20050130

Zac



__ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] difficulty installing gentoo on AMD sempron

2005-06-04 Thread Ted Ozolins
Zac Medico wrote:

>--- Allan Gottlieb <[EMAIL PROTECTED]> wrote:
>
>  
>
>>The compile of glibc fails trying to access the file
>>
>>/etc/env.d/gcc/i386-pc-linux-gnu-3.3.5
>>
>>The file does not exist.  Instead we have the file
>>
>>/etc/env.d/gcc/i686-pc-linux-gnu-3.3.5-20050130
>>
>>The directory /etc/env.d/gcc also contains two
>>config files
>>
>>config
>>
>>and
>>
>>config-i386-pc-linux-gnu-3.3.5
>>
>>These files are identical and contain one line
>>
>>CURRENT=i386-pc-linux-gnu-3.3.5
>>
>>
>>
>
>Looks like the new compiler is not properly
>configured.  Try this:
>
>gcc-config i686-pc-linux-gnu-3.3.5-20050130
>
>Zac
>
>
>   
>  
>
Thanks Zac, I was having the same problem and this fixed it for me.  It
makes me wonder why was this necessary?

-- 
Ted Ozolins(VE7TVO)
Westbank, B. C

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] difficulty installing gentoo on AMD sempron

2005-06-04 Thread Zac Medico


--- Ted Ozolins <[EMAIL PROTECTED]> wrote:

> Thanks Zac, I was having the same problem and this
> fixed it for me.  It
> makes me wonder why was this necessary?
> 

The bootstrap script probably works fine with the
2005.0 portage snapshot.  Apparenly there's a bug when
the script upgrades the compiler to a new version.

Zac



__ 
Discover Yahoo! 
Have fun online with music videos, cool games, IM and more. Check it out! 
http://discover.yahoo.com/online.html
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] difficulty installing gentoo on AMD sempron

2005-06-05 Thread Allan Gottlieb
At Sat, 04 Jun 2005 18:54:21 -0700 (PDT) Zac Medico <[EMAIL PROTECTED]> wrote:

> --- Ted Ozolins <[EMAIL PROTECTED]> wrote:
>
>> Thanks Zac, I was having the same problem and this
>> fixed it for me.  It
>> makes me wonder why was this necessary?
>
> The bootstrap script probably works fine with the
> 2005.0 portage snapshot.  Apparenly there's a bug when
> the script upgrades the compiler to a new version.

I agree.  Should I file a bug (I was the OP)?  It seems unfortunate to
have problems in the initial install.  I know that gcc-config can be
needed when you upgrade gcc.  If this problem can't be fixed in the
bootstrap script, perhaps the handbook can give a warning.

Thanks for your advice to try gcc-config.  It fixed the problem.

allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] difficulty installing gentoo on AMD sempron

2005-06-05 Thread Zac Medico


--- Allan Gottlieb <[EMAIL PROTECTED]> wrote:

> At Sat, 04 Jun 2005 18:54:21 -0700 (PDT) Zac Medico
> <[EMAIL PROTECTED]> wrote:
> 
> > --- Ted Ozolins <[EMAIL PROTECTED]> wrote:
> >
> >> Thanks Zac, I was having the same problem and
> this
> >> fixed it for me.  It
> >> makes me wonder why was this necessary?
> >
> > The bootstrap script probably works fine with the
> > 2005.0 portage snapshot.  Apparenly there's a bug
> when
> > the script upgrades the compiler to a new version.
> 
> I agree.  Should I file a bug (I was the OP)?  It
> seems unfortunate to
> have problems in the initial install.  I know that
> gcc-config can be
> needed when you upgrade gcc.  If this problem can't
> be fixed in the
> bootstrap script, perhaps the handbook can give a
> warning.
> 
> Thanks for your advice to try gcc-config.  It fixed
> the problem.
> 

It looks like it might be related to bug 94861.  See
comment 5:
http://bugs.gentoo.org/show_bug.cgi?id=94861#c5

Zac




__ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 

-- 
gentoo-user@gentoo.org mailing list