Re: [gentoo-user] After gcc-3.4.6-r1 glibc-2.4-r2 emerge!

2006-05-12 Thread Jerry McBride
On Thursday 11 May 2006 19:47, Richard Fish wrote:
 On 5/11/06, Jerry McBride [EMAIL PROTECTED] wrote:
  I'm going one step further with gcc 4.1.0. After I emerged gcc and
  glibc... I did an emerge -e system twice and am now following up with
  two emerge -e world commands...

 Wow, you like to waste a lot of CPU cycles...


Actually... nothing is wasted. I've read that this is the best way to rebuild 
the tool chain, then the applications. Sources that rely on other sources are 
guaranteed to be accurately built after the second pass of world


-- 

**
 Registered Linux User Number 185956
  FSF Associate Member number 2340 since 05/20/2004
 Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
Buy an Xbox 360 core  for $299.00, run linux on it and Microsoft loses $11.00!
  Buy an Xbox 360 for $399.00, run linux on it and Microsoft loses $126.00!
 7:07am  up 48 days, 15:46,  1 user,  load average: 0.04, 0.04, 0.00
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] After gcc-3.4.6-r1 glibc-2.4-r2 emerge!

2006-05-12 Thread Boyd Stephen Smith Jr.
On Friday 12 May 2006 06:18, Jerry McBride [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] After gcc-3.4.6-r1  glibc-2.4-r2 emerge!':
 On Thursday 11 May 2006 19:47, Richard Fish wrote:
  On 5/11/06, Jerry McBride [EMAIL PROTECTED] wrote:
   I'm going one step further with gcc 4.1.0. After I emerged gcc and
   glibc... I did an emerge -e system twice and am now following up
   with two emerge -e world commands...
 
  Wow, you like to waste a lot of CPU cycles...

 Actually... nothing is wasted.

Actually, that's quite a BIT of waste.  There's about 30(?), maybe more 
packages in system, depending on your use flags.  About 4-5 are your 
toolchain.  So, there's 25+ compiles wasted per system pass. You *might* 
need to compile your toolchain twice, but the critical package, gcc, 
already compiles itself twice.  It compiles a minimal gcc (C-only, just 
enough to compile full gcc, and very portable across toolchains) using the 
current toochain then compiles full gcc (all your use flags settings, and 
requires gnuC extensions) using that minimal gcc.  (That's the normal gcc 
build, not Gentoo specific.)

After that, you normally only need to compile your applications ONCE.  
Cyclic dependencies could require more than one compile for full effect, 
but those are bad for other reasons, and could make it to where you have 
to recompile MORE than TWICE, depending on their complexity.

In ANY case, you don't HAVE to rebuild you applications right away, and it 
would save you a few CPU cycles to just use the new compiler new time the 
package is updated.  If you are running ~ARCH that generally pretty 
often. :)

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


pgpO8boYriykX.pgp
Description: PGP signature


Re: [gentoo-user] After gcc-3.4.6-r1 glibc-2.4-r2 emerge!

2006-05-12 Thread Neil Bothwick
On Fri, 12 May 2006 07:27:14 -0500, Boyd Stephen Smith Jr. wrote:

I'm going one step further with gcc 4.1.0. After I emerged gcc and
glibc... I did an emerge -e system twice and am now following up
with two emerge -e world commands...
  
   Wow, you like to waste a lot of CPU cycles...
 
  Actually... nothing is wasted.
 
 Actually, that's quite a BIT of waste.  There's about 30(?), maybe more 
 packages in system, depending on your use flags.  About 4-5 are your 
 toolchain.  So, there's 25+ compiles wasted per system pass.

And system is included in emerge -e world, so you are actually compiling
these packages four times!


-- 
Neil Bothwick

Klingon function calls do not have 'parameters' - they have 'arguments'
 -and they ALWAYS WIN THEM.


signature.asc
Description: PGP signature


Re: [gentoo-user] After gcc-3.4.6-r1 glibc-2.4-r2 emerge!

2006-05-12 Thread Christopher E

Hello all,

I thank you all fo responses to this posting of mine.

Now that I was following this thread I just read the one that states
that the emerge -e world does also emerge -e system stuff, so now that
I am in the mid of doing emerge -e system how can I run emerge -e
world with out doing all of them again and only doing the ones that
did not get done doing a emerge -e system?

Thanks ahead of time

Sincerely,
Christopher

On 5/12/06, Neil Bothwick [EMAIL PROTECTED] wrote:

On Fri, 12 May 2006 07:27:14 -0500, Boyd Stephen Smith Jr. wrote:

I'm going one step further with gcc 4.1.0. After I emerged gcc and
glibc... I did an emerge -e system twice and am now following up
with two emerge -e world commands...
  
   Wow, you like to waste a lot of CPU cycles...
 
  Actually... nothing is wasted.

 Actually, that's quite a BIT of waste.  There's about 30(?), maybe more
 packages in system, depending on your use flags.  About 4-5 are your
 toolchain.  So, there's 25+ compiles wasted per system pass.

And system is included in emerge -e world, so you are actually compiling
these packages four times!


--
Neil Bothwick

Klingon function calls do not have 'parameters' - they have 'arguments'
 -and they ALWAYS WIN THEM.





--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] After gcc-3.4.6-r1 glibc-2.4-r2 emerge!

2006-05-12 Thread Richard Fish

On 5/12/06, Jerry McBride [EMAIL PROTECTED] wrote:

On Thursday 11 May 2006 19:47, Richard Fish wrote:
 On 5/11/06, Jerry McBride [EMAIL PROTECTED] wrote:
  I'm going one step further with gcc 4.1.0. After I emerged gcc and
  glibc... I did an emerge -e system twice and am now following up with
  two emerge -e world commands...

 Wow, you like to waste a lot of CPU cycles...


Actually... nothing is wasted. I've read that this is the best way to rebuild
the tool chain, then the applications. Sources that rely on other sources are
guaranteed to be accurately built after the second pass of world


I'm sorry, but what you read was simply wrong, written by somebody who
probably didn't understand how compilers, linkers, dynamic libraries,
and executables interact.

I could see _some_ value in emerge -e system followed by emerge -e
world.  There can be some (very small) effects of system packages on
each other.  But you are building system again when you emerge -e
world, and there is simply no reason at all to emerge -e world twice.

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] After gcc-3.4.6-r1 glibc-2.4-r2 emerge!

2006-05-12 Thread Jerry McBride

I can't find the exact discussion on the subject of running two emerges for 
both system and world, but this link gives the kernel of the idea. The 
original doc went into some details that's missing here and as mentioned, 
following the suggestions helped clear up some goofy mplayer problems I was 
having.

http://lcni.uoregon.edu/mediawiki/index.php/SOFT:Gentoo_AMD64_1

Emerging world twice may be a bit overkill, but then it's never something I 
sit and watch... It's amazing what you can do with a bit of bash and cron 
when you are happily sleeping.

Cheers...

On Friday 12 May 2006 14:07, Richard Fish wrote:
 On 5/12/06, Jerry McBride [EMAIL PROTECTED] wrote:
  On Thursday 11 May 2006 19:47, Richard Fish wrote:
   On 5/11/06, Jerry McBride [EMAIL PROTECTED] wrote:
I'm going one step further with gcc 4.1.0. After I emerged gcc and
glibc... I did an emerge -e system twice and am now following up
with two emerge -e world commands...
  
   Wow, you like to waste a lot of CPU cycles...
 
  Actually... nothing is wasted. I've read that this is the best way to
  rebuild the tool chain, then the applications. Sources that rely on other
  sources are guaranteed to be accurately built after the second pass of
  world

 I'm sorry, but what you read was simply wrong, written by somebody who
 probably didn't understand how compilers, linkers, dynamic libraries,
 and executables interact.

 I could see _some_ value in emerge -e system followed by emerge -e
 world.  There can be some (very small) effects of system packages on
 each other.  But you are building system again when you emerge -e
 world, and there is simply no reason at all to emerge -e world twice.

 -Richard

-- 

**
 Registered Linux User Number 185956
  FSF Associate Member number 2340 since 05/20/2004
 Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
Buy an Xbox 360 core  for $299.00, run linux on it and Microsoft loses $11.00!
  Buy an Xbox 360 for $399.00, run linux on it and Microsoft loses $126.00!
 5:37pm  up 49 days,  2:16,  1 user,  load average: 0.04, 0.04, 0.00
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] After gcc-3.4.6-r1 glibc-2.4-r2 emerge!

2006-05-11 Thread Christopher E

Hello All,

What should I do after I do a emerge of gcc and glibc vers in subject line?

I have also when doing that emerged told it to do kde and gnome so
both of them will be at the latest versions in the tree that are
~amd64.

X 7 modular is already on the system and appears to be working great.

Sincerely,
Christopher

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] After gcc-3.4.6-r1 glibc-2.4-r2 emerge!

2006-05-11 Thread Jerry McBride
On Thursday 11 May 2006 14:53, Christopher E wrote:
 Hello All,

 What should I do after I do a emerge of gcc and glibc vers in subject line?

 I have also when doing that emerged told it to do kde and gnome so
 both of them will be at the latest versions in the tree that are
 ~amd64.

 X 7 modular is already on the system and appears to be working great.

 Sincerely,
 Christopher

I'm going one step further with gcc 4.1.0. After I emerged gcc and glibc... I 
did an emerge -e system twice and am now following up with two emerge -e 
world commands...

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



Re: [gentoo-user] After gcc-3.4.6-r1 glibc-2.4-r2 emerge!

2006-05-11 Thread Richard Fish

On 5/11/06, Christopher E [EMAIL PROTECTED] wrote:

Hello All,

What should I do after I do a emerge of gcc and glibc vers in subject line?


What versions are you upgrading from?

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] After gcc-3.4.6-r1 glibc-2.4-r2 emerge!

2006-05-11 Thread Richard Fish

On 5/11/06, Jerry McBride [EMAIL PROTECTED] wrote:

I'm going one step further with gcc 4.1.0. After I emerged gcc and glibc... I
did an emerge -e system twice and am now following up with two emerge -e
world commands...


Wow, you like to waste a lot of CPU cycles...

-Richard

--
gentoo-user@gentoo.org mailing list