Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-11 Thread Matthias Bethke
Hi michael,
on Friday, 2006-09-08 at 08:44:05, you wrote:
> I hope my experience is better than yours. I'm in the middle of this process
> on a live system, been building since Monday (it's an old 600MHz box)

I just upgraded one Pentium-M laptop; went fine save for a few hitches
like Richard mentioned, packages such as Glame that won't work with gcc4
in the stable version.
My own laptop which I'm writing this on is just working on the upgrade
and it's looking fine, should be done by tomorrow. And this morning I
started the upgrade on a 132 MHz HPPA machine---it's still at 15% of the
system compile but working flawlessly, hope it will be ready before the
weekend ;-)

cheers!
  Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpYp4WP3iZRJ.pgp
Description: PGP signature


Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Mark Kirkwood

Michael Crute wrote:



Methinks there is just a bit of FUD swirling around. I can't speak to
GCC 4.1 (may do it this afternoon) but the last time I did a GCC
upgrade (following the documentation) I had absolutely no problems
whatsoever. If you are really worried tar up your system as a backup
before you start.



Yeah - I did this for the first time (gcc 3.4 -> 4.1). The documentation 
is very good - particularly the highlight section that told me to use 
the general instructions for the 4.1 upgrade.


The only issues I had were:
- oprofile-0.9 makes world emerge fail (known bug).
- after unmerging oprofile, I forgot to add "--resume" to my 2nd world 
merge attempt!(sigh).


It took about 1 and 1/2 days all up (counting 2 world builds!) on a dual 
PIII. It is a server, so no Gnome or KDE etc, which I guess made the 
whole think much easier.


Cheers

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



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Richard Fish

On 9/8/06, Timothy A. Holmes <[EMAIL PROTECTED]> wrote:

I have a system that I apparently built using the wrong stage 3

Make.conf  has chost as i386 but it's a Pentium 4 box

Im just about to start the emerge eav system

Should I wait and /or fix something b4 I proceed?


You'll need to resolve this first, or the glibc update in system will fail.

Your options are:

1. mask >=sys-libs/glibc-2.4 in /etc/portage/package.mask

2. Change your CHOST to i686-pc-linux-gnu, and then run
/usr/portage/scripts/bootstrap.sh.  This should rebuild your toolchain
for the new CHOST, and then you can proceed with the emerge -e system
; emerge -e world steps.

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



RE: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Timothy A. Holmes

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf
> Of Richard Fish
> Sent: Friday, September 08, 2006 3:50 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Remerge the system with gcc-4.1?
> 
> On 9/8/06, Grant <[EMAIL PROTECTED]> wrote:
> > I've followed the GCC upgrade guide before without problems, but now
> > I'm scared.  Is all the trouble because of how Gentoo works or how
GCC
> > works?  What is the trouble like?  Packages that won't compile, or
> > different things breaking in the system?
> 
> There are a few classes of problems here:
> 
> 1. Packages failing to build with gcc-4.1.  Usually the ~arch version
> of that package will build fine, so you may need to accept ~arch
> keywords for some packages in package.keywords.  This is by far the
> most common and serious issue.
> 
> 2. C++ ABI issues.  While the system is in the process of being
> rebuilt, you can have some C++ programs using a different ABI than the
> libraries they link to, or the libraries can have conflicting ABIs.
> This should not be a problem once the emerge -e world completes, but
> can make it difficult to use the system while this is happening.
> 
> 3. Problems with other packages being blamed on the gcc upgrade.  FEX
> glibc-2.4 is now nptl only, and will no longer work in i386 hosts
> (must be i586 or better), and probably conflicts with no-nptl
> profiles, etc.
> 
> You might want to take a look at the tracker bugs:
> 
> http://bugs.gentoo.org/show_bug.cgi?id=140707
> http://bugs.gentoo.org/show_bug.cgi?id=117482
> 
> -Richard
> --
> gentoo-user@gentoo.org mailing list
Richard:

I have a system that I apparently built using the wrong stage 3 

Make.conf  has chost as i386 but it's a Pentium 4 box

Im just about to start the emerge eav system

Should I wait and /or fix something b4 I proceed?

TIM


Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
Medina Christian Academy
A Higher Standard...


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Richard Fish

On 9/8/06, Grant <[EMAIL PROTECTED]> wrote:

I've followed the GCC upgrade guide before without problems, but now
I'm scared.  Is all the trouble because of how Gentoo works or how GCC
works?  What is the trouble like?  Packages that won't compile, or
different things breaking in the system?


There are a few classes of problems here:

1. Packages failing to build with gcc-4.1.  Usually the ~arch version
of that package will build fine, so you may need to accept ~arch
keywords for some packages in package.keywords.  This is by far the
most common and serious issue.

2. C++ ABI issues.  While the system is in the process of being
rebuilt, you can have some C++ programs using a different ABI than the
libraries they link to, or the libraries can have conflicting ABIs.
This should not be a problem once the emerge -e world completes, but
can make it difficult to use the system while this is happening.

3. Problems with other packages being blamed on the gcc upgrade.  FEX
glibc-2.4 is now nptl only, and will no longer work in i386 hosts
(must be i586 or better), and probably conflicts with no-nptl
profiles, etc.

You might want to take a look at the tracker bugs:

http://bugs.gentoo.org/show_bug.cgi?id=140707
http://bugs.gentoo.org/show_bug.cgi?id=117482

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



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Bo Ørsted Andresen
On Friday 08 September 2006 20:07, Timothy A. Holmes wrote:
> > > The guide that I followed is:
> > >
> > > http://www.gentoo.org/doc/en/gcc-upgrading.xml
> > >
> > > Under section 3 Upgrading from GCC-3.3 to 3.4 or greater
> >
> > [SNIP]
> >
> > > This particular rebuild was going from 3.3 to 4.0 so revdep-rebuild was
> > > indicated -
> >
> > That part is for gcc-3.3 -> 3.4 ONLY. It is NOT for an upgrade to gcc-4.x
> > or
> > any other gcc upgrade. You were supposed to follow "2. General Upgrade
> > Instructions". Might consider reading [1] too.
> >
> > [1] http://forums.gentoo.org/viewtopic-t-493662.html
> >
> > PS: Please stop top-posting.
>
> [Timothy A. Holmes]
> Sorry bout the top post -- outlook strikes again !!!

Outlook clearly sucks. Really would be nice if you could configure it
differently. Unfortunately I can't tell you how since I haven't used it for
years.. Would be appreciated if you could make your signature shorter.
Generally it be preceded by a line separate line with: "--" and at most 4
lines after that...

> I'll defiantly read the indicated section

I decided to file a bug [1] because the gcc upgrade guide can be a bit
confusing if you don't read every letter in it. Of course it turns out I was
wrong... :-/ So to summarize:

Going from gcc 3.3.x to 3.4.x you should follow [2] or [3].
Going from gcc 3.3.x to 4.1.x you should follow [3].
Going from gcc 3.4.x to 4.1.x you should follow [4].

Unfortunately making the guide more clear doesn't seem to be a trivial task
then... :-(

[1] http://bugs.gentoo.org/show_bug.cgi?id=146857
[2] 
http://www.gentoo.org/doc/en/gcc-upgrading.xml#upgrade-3.3-to-3.4-revdep-rebuild
[3] http://www.gentoo.org/doc/en/gcc-upgrading.xml#upgrade-3.3-to-3.4-emerge-e
[4] http://www.gentoo.org/doc/en/gcc-upgrading.xml#doc_chap2

-- 
Bo Andresen


pgpK398ADFnZG.pgp
Description: PGP signature


RE: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Timothy A. Holmes

> -Original Message-
> From: Bo Ørsted Andresen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 08, 2006 1:36 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Remerge the system with gcc-4.1?
> 
> On Friday 08 September 2006 19:09, Timothy A. Holmes wrote:
> > The guide that I followed is:
> >
> > http://www.gentoo.org/doc/en/gcc-upgrading.xml
> >
> > Under section 3 Upgrading from GCC-3.3 to 3.4 or greater
> [SNIP]
> > This particular rebuild was going from 3.3 to 4.0 so revdep-rebuild was
> > indicated -
> 
> That part is for gcc-3.3 -> 3.4 ONLY. It is NOT for an upgrade to gcc-4.x
> or
> any other gcc upgrade. You were supposed to follow "2. General Upgrade
> Instructions". Might consider reading [1] too.
> 
> [1] http://forums.gentoo.org/viewtopic-t-493662.html
> 
> PS: Please stop top-posting.

[Timothy A. Holmes] 



Sorry bout the top post -- outlook strikes again !!!

I'll defiantly read the indicated section

Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Bo Ørsted Andresen
On Friday 08 September 2006 19:09, Timothy A. Holmes wrote:
> The guide that I followed is:
>
> http://www.gentoo.org/doc/en/gcc-upgrading.xml
>
> Under section 3 Upgrading from GCC-3.3 to 3.4 or greater
[SNIP]
> This particular rebuild was going from 3.3 to 4.0 so revdep-rebuild was
> indicated -

That part is for gcc-3.3 -> 3.4 ONLY. It is NOT for an upgrade to gcc-4.x or 
any other gcc upgrade. You were supposed to follow "2. General Upgrade 
Instructions". Might consider reading [1] too.

[1] http://forums.gentoo.org/viewtopic-t-493662.html

PS: Please stop top-posting.


pgpqGXUWBBEZM.pgp
Description: PGP signature


RE: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Timothy A. Holmes
Bo:

The guide that I followed is:

http://www.gentoo.org/doc/en/gcc-upgrading.xml

Under section 3 Upgrading from GCC-3.3 to 3.4 or greater

The instructions specify to use Revdep-rebuild -- and I quote

If you upgrade from gcc 3.3 to 3.4, you have two possibilities on how to 
upgrade your system. The first method is faster and requires use of the 
revdep-rebuild tool from package gentoolkit while the second one rebuilds the 
entire system from scratch so it will make use of new GCC features. It's up to 
you to decide which of these two ways you will choose. In most cases, the first 
method is sufficient.

This particular rebuild was going from 3.3 to 4.0 so revdep-rebuild was 
indicated - 

I did that rebuild some time back and don't remember what was the problem other 
than that I want to avoid it again.

TIM


Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14

> -Original Message-
> From: Bo Ørsted Andresen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 08, 2006 1:02 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Remerge the system with gcc-4.1?
> 
> On Friday 08 September 2006 17:12, Timothy A. Holmes wrote:
> > Most of my problems came in the stage of the revdep-rebuild things
> > simply wouldn't build.  I finally solved it by un-installing as many of
> > the offending packages as I could, multiple emerge --sync and about 10
> > attempts at revdep-rebuild
> 
> There is no revdep-rebuild stage in the gcc upgrading guide. Did you mean
> emerge -e world? Anyhow, it isn't very helpful when you don't say which
> compiles failed and how. Really leaves us no way to help you or figure out
> what you did wrong...
> 
> --
> Bo Andresen



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Bo Ørsted Andresen
On Friday 08 September 2006 17:12, Timothy A. Holmes wrote:
> Most of my problems came in the stage of the revdep-rebuild things
> simply wouldn't build.  I finally solved it by un-installing as many of
> the offending packages as I could, multiple emerge --sync and about 10
> attempts at revdep-rebuild

There is no revdep-rebuild stage in the gcc upgrading guide. Did you mean 
emerge -e world? Anyhow, it isn't very helpful when you don't say which 
compiles failed and how. Really leaves us no way to help you or figure out 
what you did wrong...

-- 
Bo Andresen


pgpKKU6fgBWiE.pgp
Description: PGP signature


Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Andrew Gaydenko
I'm agree absolutely, I have switched to 4.1.1 already :-) Probably, it is
not a bad idea to add a note about this trap somewhere in the official guide.

=== On Friday 08 September 2006 20:05, Neil Bothwick wrote: ===
On Fri, 8 Sep 2006 19:26:34 +0400, Andrew Gaydenko wrote:

Honest to $DEITY, my mailer picked the tagline!

> It is masked *now*, but it wasn't masked *before*, and unmerging was
> not clean. I'm not the only who have lost plenty of time because of
> this portage error.

Yes, I specified that it's masked NOW. It may have caused you problems in
the past (and many others, it's masked for a reason) but it is not a
reason to avoid the GGC upgrade now. 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Neil Bothwick
On Fri, 8 Sep 2006 19:26:34 +0400, Andrew Gaydenko wrote:

Honest to $DEITY, my mailer picked the tagline!

> It is masked *now*, but it wasn't masked *before*, and unmerging was
> not clean. I'm not the only who have lost plenty of time because of
> this portage error.

Yes, I specified that it's masked NOW. It may have caused you problems in
the past (and many others, it's masked for a reason) but it is not a
reason to avoid the GGC upgrade now. 


> === On Friday 08 September 2006 18:59, Neil Bothwick wrote: ===
> On Fri, 8 Sep 2006 18:37:55 +0400, Andrew Gaydenko wrote:
> 
> > For me the main problem was an error in 'eselect-compiler' ebuild
> > file.  
> 
> eselect-compiler is now hard-masked, so that shouldn't be a problem any
> more.


-- 
Neil Bothwick

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


signature.asc
Description: PGP signature


Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread michael

What change did you have to make to CHOST? 386 to 686? or something more
complicated?



On Fri, 8 Sep 2006, Jean-Marc Beaune wrote:


For me, the problem was that I had to change CHOST...then I'll re-install
from scratch.
But I don't say Gentoo is bad, I say, I am bad at Gentoo !


On 9/8/06, Timothy A. Holmes <[EMAIL PROTECTED]> wrote:





>  -Original Message-
>  From: Grant [mailto:[EMAIL PROTECTED]
>  Sent: Friday, September 08, 2006 10:25 AM
>  To: gentoo-user@lists.gentoo.org
>  Subject: Re: [gentoo-user] Remerge the system with gcc-4.1?
> 
> >  I am leaving my office in a moment to put the 2006.1 disk in a

 server to
> >  start a fresh build (it's a standby server and I can afford to have
 it
> >  off line for a day or 2) specifically to avoid having to do the gcc4
> >  upgrade.  Ive done one so far and it took me 5 days and nearly cost
 me
> >  my laptop -- and I followed the gentoo guide specifically.  There
 has
> >  GOT to be a better way.  Sadly I cant take each of my servers
 offline to
> >  do upgrade them this way -- some I will have to risk on the GCC
 upgrade,
> >  but for now im avoiding it like the plague.
> > 
> >  Tim
> 
>  I've followed the GCC upgrade guide before without problems, but now

>  I'm scared.  Is all the trouble because of how Gentoo works or how GCC
>  works?  What is the trouble like?  Packages that won't compile, or
>  different things breaking in the system?
> 
>  - Grant

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

 [Timothy A. Holmes]
 Most of my problems came in the stage of the revdep-rebuild things
 simply wouldn't build.  I finally solved it by un-installing as many of
 the offending packages as I could, multiple emerge --sync and about 10
 attempts at revdep-rebuild

 NOT a process I wanna go through again -- believe me!!! -- sadly -- I
 don't have a choice -- ive already got one machine that wont upgrade
 until I do it - -im just delaying as long as possible


 Timothy A. Holmes
 IT Manager / Network Admin / Web Master / Computer Teacher

 Medina Christian Academy
 A Higher Standard...

 Jeremiah 33:3
 Jeremiah 29:11
 Esther 4:14


 --
 gentoo-user@gentoo.org mailing list





--
/JM



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread michael

Good one, Jean-Marc!

I hope my experience is better than yours. I'm in the middle of this process
on a live system, been building since Monday (it's an old 600MHz box)

If you can read this email, my system is still running

Michael



On Fri, 8 Sep 2006, Jean-Marc Beaune wrote:


I would call this discussion "Re-installing the system with gcc-4.1
That's what I'm doing now after more than one week of struggle ! ;-)


On 9/8/06, Dale <[EMAIL PROTECTED]> wrote:


 Timothy A. Holmes wrote:
> 
> 
>  [Timothy A. Holmes]
> 
>  I am leaving my office in a moment to put the 2006.1 disk in a server to

>  start a fresh build (it's a standby server and I can afford to have it
>  off line for a day or 2) specifically to avoid having to do the gcc4
>  upgrade.  Ive done one so far and it took me 5 days and nearly cost me
>  my laptop -- and I followed the gentoo guide specifically.  There has
>  GOT to be a better way.  Sadly I cant take each of my servers offline to
>  do upgrade them this way -- some I will have to risk on the GCC upgrade,
>  but for now im avoiding it like the plague.
> 
>  Tim
> 
> 
>  Timothy A. Holmes

>  IT Manager / Network Admin / Web Master / Computer Teacher
> 
>  Medina Christian Academy

>  A Higher Standard...
> 
>  Jeremiah 33:3

>  Jeremiah 29:11
>  Esther 4:14
> 
> 
> 


 This coming from a person that has a lot of bad luck.  I did the gcc
 upgrade and it seemed to work fine here.  I found a script on the forums
 that seemed to work better than emerge -e world.  I had a few packages
 that failed due to my settings but they after getting the USE flags set
 correctly, they worked fine.  I have changed my profile to 2006.1 while
 I was at it.


 Maybe you have something complicated since you are running servers but
 it seemed to work here.  I was amazed that mine went so well.

 Dale

: -) :-)
 --
 gentoo-user@gentoo.org mailing list





--
/JM



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Jean-Marc Beaune
For me, the problem was that I had to change CHOST...then I'll re-install from scratch.
But I don't say Gentoo is bad, I say, I am bad at Gentoo ! 
On 9/8/06, Timothy A. Holmes <[EMAIL PROTECTED]> wrote:
> -Original Message-> From: Grant [mailto:
[EMAIL PROTECTED]]> Sent: Friday, September 08, 2006 10:25 AM> To: gentoo-user@lists.gentoo.org> Subject: Re: [gentoo-user] Remerge the system with 
gcc-4.1?>> > I am leaving my office in a moment to put the 2006.1 disk in aserver to> > start a fresh build (it's a standby server and I can afford to haveit> > off line for a day or 2) specifically to avoid having to do the gcc4
> > upgrade.  Ive done one so far and it took me 5 days and nearly costme> > my laptop -- and I followed the gentoo guide specifically.  Therehas> > GOT to be a better way.  Sadly I cant take each of my servers
offline to> > do upgrade them this way -- some I will have to risk on the GCCupgrade,> > but for now im avoiding it like the plague.> >> > Tim>> I've followed the GCC upgrade guide before without problems, but now
> I'm scared.  Is all the trouble because of how Gentoo works or how GCC> works?  What is the trouble like?  Packages that won't compile, or> different things breaking in the system?>> - Grant
> --> gentoo-user@gentoo.org mailing list[Timothy A. Holmes]Most of my problems came in the stage of the revdep-rebuild thingssimply wouldn't build.  I finally solved it by un-installing as many of
the offending packages as I could, multiple emerge --sync and about 10attempts at revdep-rebuildNOT a process I wanna go through again -- believe me!!! -- sadly -- Idon't have a choice -- ive already got one machine that wont upgrade
until I do it - -im just delaying as long as possibleTimothy A. HolmesIT Manager / Network Admin / Web Master / Computer TeacherMedina Christian AcademyA Higher Standard...Jeremiah 33:3
Jeremiah 29:11Esther 4:14--gentoo-user@gentoo.org mailing list-- /JM 


Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Andrew Gaydenko
It is masked *now*, but it wasn't masked *before*, and unmerging was
not clean. I'm not the only who have lost plenty of time because of
this portage error.

=== On Friday 08 September 2006 18:59, Neil Bothwick wrote: ===
On Fri, 8 Sep 2006 18:37:55 +0400, Andrew Gaydenko wrote:

> For me the main problem was an error in 'eselect-compiler' ebuild file.

eselect-compiler is now hard-masked, so that shouldn't be a problem any
more.


-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Timothy A. Holmes



> -Original Message-
> From: Grant [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 08, 2006 10:25 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Remerge the system with gcc-4.1?
> 
> > I am leaving my office in a moment to put the 2006.1 disk in a
server to
> > start a fresh build (it's a standby server and I can afford to have
it
> > off line for a day or 2) specifically to avoid having to do the gcc4
> > upgrade.  Ive done one so far and it took me 5 days and nearly cost
me
> > my laptop -- and I followed the gentoo guide specifically.  There
has
> > GOT to be a better way.  Sadly I cant take each of my servers
offline to
> > do upgrade them this way -- some I will have to risk on the GCC
upgrade,
> > but for now im avoiding it like the plague.
> >
> > Tim
> 
> I've followed the GCC upgrade guide before without problems, but now
> I'm scared.  Is all the trouble because of how Gentoo works or how GCC
> works?  What is the trouble like?  Packages that won't compile, or
> different things breaking in the system?
> 
> - Grant
> --
> gentoo-user@gentoo.org mailing list

[Timothy A. Holmes] 
Most of my problems came in the stage of the revdep-rebuild things
simply wouldn't build.  I finally solved it by un-installing as many of
the offending packages as I could, multiple emerge --sync and about 10
attempts at revdep-rebuild

NOT a process I wanna go through again -- believe me!!! -- sadly -- I
don't have a choice -- ive already got one machine that wont upgrade
until I do it - -im just delaying as long as possible


Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Neil Bothwick
On Fri, 8 Sep 2006 18:37:55 +0400, Andrew Gaydenko wrote:

> For me the main problem was an error in 'eselect-compiler' ebuild file.

eselect-compiler is now hard-masked, so that shouldn't be a problem any
more.

To add some balance, I've upgraded four machines, on three different
architectures, to GCC 4.1 without any significant hitches.


-- 
Neil Bothwick

Shin - Device for finding furniture in the dark


signature.asc
Description: PGP signature


Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Andrew Gaydenko
For me the main problem was an error in 'eselect-compiler' ebuild file.
After unmerging the package, 

/etc/env.d/05compiler 

file was not deleted. As a result, enviroment variables were invalid.
After deleting the file (and 'env-update' and 'source /etc/profile')
switching to 4.1.1 was seamless (in accordance with official guide).


=== On Friday 08 September 2006 18:24, Grant wrote: ===
> I am leaving my office in a moment to put the 2006.1 disk in a server to
> start a fresh build (it's a standby server and I can afford to have it
> off line for a day or 2) specifically to avoid having to do the gcc4
> upgrade.  Ive done one so far and it took me 5 days and nearly cost me
> my laptop -- and I followed the gentoo guide specifically.  There has
> GOT to be a better way.  Sadly I cant take each of my servers offline to
> do upgrade them this way -- some I will have to risk on the GCC upgrade,
> but for now im avoiding it like the plague.
>
> Tim

I've followed the GCC upgrade guide before without problems, but now
I'm scared.  Is all the trouble because of how Gentoo works or how GCC
works?  What is the trouble like?  Packages that won't compile, or
different things breaking in the system?

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



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Michael Crute

On 9/8/06, Grant <[EMAIL PROTECTED]> wrote:

> I am leaving my office in a moment to put the 2006.1 disk in a server to
> start a fresh build (it's a standby server and I can afford to have it
> off line for a day or 2) specifically to avoid having to do the gcc4
> upgrade.  Ive done one so far and it took me 5 days and nearly cost me
> my laptop -- and I followed the gentoo guide specifically.  There has
> GOT to be a better way.  Sadly I cant take each of my servers offline to
> do upgrade them this way -- some I will have to risk on the GCC upgrade,
> but for now im avoiding it like the plague.
>
> Tim

I've followed the GCC upgrade guide before without problems, but now
I'm scared.  Is all the trouble because of how Gentoo works or how GCC
works?  What is the trouble like?  Packages that won't compile, or
different things breaking in the system?


Methinks there is just a bit of FUD swirling around. I can't speak to
GCC 4.1 (may do it this afternoon) but the last time I did a GCC
upgrade (following the documentation) I had absolutely no problems
whatsoever. If you are really worried tar up your system as a backup
before you start.

-Mike

--

Michael E. Crute
http://mike.crute.org

I may not have gone where I intended to go, but I think I have ended
up where I intended to be. --Douglas Adams
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Grant

I am leaving my office in a moment to put the 2006.1 disk in a server to
start a fresh build (it's a standby server and I can afford to have it
off line for a day or 2) specifically to avoid having to do the gcc4
upgrade.  Ive done one so far and it took me 5 days and nearly cost me
my laptop -- and I followed the gentoo guide specifically.  There has
GOT to be a better way.  Sadly I cant take each of my servers offline to
do upgrade them this way -- some I will have to risk on the GCC upgrade,
but for now im avoiding it like the plague.

Tim


I've followed the GCC upgrade guide before without problems, but now
I'm scared.  Is all the trouble because of how Gentoo works or how GCC
works?  What is the trouble like?  Packages that won't compile, or
different things breaking in the system?

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



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Jean-Marc Beaune
I would call this discussion "Re-installing the system with gcc-4.1
That's what I'm doing now after more than one week of struggle ! ;-) 
On 9/8/06, Dale <[EMAIL PROTECTED]> wrote:
Timothy A. Holmes wrote:>>> [Timothy A. Holmes]>> I am leaving my office in a moment to put the 
2006.1 disk in a server to> start a fresh build (it's a standby server and I can afford to have it> off line for a day or 2) specifically to avoid having to do the gcc4> upgrade.  Ive done one so far and it took me 5 days and nearly cost me
> my laptop -- and I followed the gentoo guide specifically.  There has> GOT to be a better way.  Sadly I cant take each of my servers offline to> do upgrade them this way -- some I will have to risk on the GCC upgrade,
> but for now im avoiding it like the plague.>> Tim>>> Timothy A. Holmes> IT Manager / Network Admin / Web Master / Computer Teacher>> Medina Christian Academy
> A Higher Standard...>> Jeremiah 33:3> Jeremiah 29:11> Esther 4:14>>>This coming from a person that has a lot of bad luck.  I did the gccupgrade and it seemed to work fine here.  I found a script on the forums
that seemed to work better than emerge -e world.  I had a few packagesthat failed due to my settings but they after getting the USE flags setcorrectly, they worked fine.  I have changed my profile to 2006.1 while
I was at it.Maybe you have something complicated since you are running servers butit seemed to work here.  I was amazed that mine went so well.Dale:-) :-)--
gentoo-user@gentoo.org mailing list-- /JM 


Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Dale
Timothy A. Holmes wrote:
>
>
> [Timothy A. Holmes] 
>
> I am leaving my office in a moment to put the 2006.1 disk in a server to
> start a fresh build (it's a standby server and I can afford to have it
> off line for a day or 2) specifically to avoid having to do the gcc4
> upgrade.  Ive done one so far and it took me 5 days and nearly cost me
> my laptop -- and I followed the gentoo guide specifically.  There has
> GOT to be a better way.  Sadly I cant take each of my servers offline to
> do upgrade them this way -- some I will have to risk on the GCC upgrade,
> but for now im avoiding it like the plague.
>
> Tim
>
>
> Timothy A. Holmes
> IT Manager / Network Admin / Web Master / Computer Teacher
>  
> Medina Christian Academy
> A Higher Standard...
>  
> Jeremiah 33:3
> Jeremiah 29:11
> Esther 4:14
>
>
>   

This coming from a person that has a lot of bad luck.  I did the gcc
upgrade and it seemed to work fine here.  I found a script on the forums
that seemed to work better than emerge -e world.  I had a few packages
that failed due to my settings but they after getting the USE flags set
correctly, they worked fine.  I have changed my profile to 2006.1 while
I was at it.


Maybe you have something complicated since you are running servers but
it seemed to work here.  I was amazed that mine went so well.

Dale

:-) :-)
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Timothy A. Holmes
> And if you want to prevent compilation issues, applications crash,
> you'd better not follow the Gentoo GCC Upgrade Guide [1]
> and do not upgrade gcc at all... :-(
> 
> Sorry for this sarcasm, but I am fighting with gcc-upgrade
> for more than week. If I knew there would be so many issues,
> I'd have never started upgrading gcc! Even complete reinstalling
> using new 2006.1 cd would be much easier...
> 
> That "four line procedure" for gcc-upgrade in [1] looks
> quite simple, but they forgot to mention that finally
> you will end with "not-so-stable" system, as before.
> And that only if you will be lucky enough to reach
> the end of this upgrade-martyrium...
> 
> Jarry
> 
> > [1] http://www.gentoo.org/doc/en/gcc-upgrading.xml


[Timothy A. Holmes] 

I am leaving my office in a moment to put the 2006.1 disk in a server to
start a fresh build (it's a standby server and I can afford to have it
off line for a day or 2) specifically to avoid having to do the gcc4
upgrade.  Ive done one so far and it took me 5 days and nearly cost me
my laptop -- and I followed the gentoo guide specifically.  There has
GOT to be a better way.  Sadly I cant take each of my servers offline to
do upgrade them this way -- some I will have to risk on the GCC upgrade,
but for now im avoiding it like the plague.

Tim


Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread Richard Fish

On 9/7/06, Erik <[EMAIL PROTECTED]> wrote:

Grant wrote:
> Does gcc-4.1 offer enough of an improvement to warrant remerging the
> whole system?
No, just remerge the packages that need to be remerged. Then emerge the
rest with gcc-4.1 when updates come.


Why do you advise people to ignore the official gcc upgrade
documentation and potentially break their systems?  Safely performing
the gcc upgrade *requires* an emerge -e world.  Your system /might/
not break without that, and you are free to take that risk for your
systems, but please do *not* recommend that others take on such risks.

If you want to tell people your experiences, that's great, but be sure
to separate the "what is recommended" from "what worked for me".

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



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-08 Thread jarry
"Boris Fersing" <[EMAIL PROTECTED]> wrote:

> > > Does gcc-4.1 offer enough of an improvement to warrant remerging the
> > > whole system?
> > No, just remerge the packages that need to be remerged. Then emerge the
> > rest with gcc-4.1 when updates come.
> If you want to prevent compilation issues, applications crash, ... you
> may follow the Gentoo GCC Upgrade Guide[1]

And if you want to prevent compilation issues, applications crash,
you'd better not follow the Gentoo GCC Upgrade Guide [1]
and do not upgrade gcc at all... :-(

Sorry for this sarcasm, but I am fighting with gcc-upgrade
for more than week. If I knew there would be so many issues,
I'd have never started upgrading gcc! Even complete reinstalling
using new 2006.1 cd would be much easier...

That "four line procedure" for gcc-upgrade in [1] looks
quite simple, but they forgot to mention that finally
you will end with "not-so-stable" system, as before.
And that only if you will be lucky enough to reach
the end of this upgrade-martyrium...

Jarry

> [1] http://www.gentoo.org/doc/en/gcc-upgrading.xml

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-07 Thread Boris Fersing

2006/9/8, Erik <[EMAIL PROTECTED]>:

Grant wrote:
> Does gcc-4.1 offer enough of an improvement to warrant remerging the
> whole system?
No, just remerge the packages that need to be remerged. Then emerge the
rest with gcc-4.1 when updates come.
--
gentoo-user@gentoo.org mailing list



If you want to prevent compilation issues, applications crash, ... you
may follow the Gentoo GCC Upgrade Guide[1]

Boris.

[1] http://www.gentoo.org/doc/en/gcc-upgrading.xml





--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-07 Thread Dirk Heinrichs
Am Freitag, 8. September 2006 05:07 schrieb ext Grant:

> Does gcc-4.1 offer enough of an improvement to warrant remerging the
> whole system?

It's not a question of improvement, but of consistency, especially for C++ 
sw like KDE. The GCC upgrade guide doesn't tell you to do so just for the 
sake of it.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpPt3ynCXvFo.pgp
Description: PGP signature


Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-07 Thread Erik

Grant wrote:

Does gcc-4.1 offer enough of an improvement to warrant remerging the
whole system?
No, just remerge the packages that need to be remerged. Then emerge the 
rest with gcc-4.1 when updates come.

--
gentoo-user@gentoo.org mailing list