You are not logged in.

#1 2007-11-16 17:09:38

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,229
Website

Rebuild because of new toolchain: consequences?

Excuse me if this is a stupid question, but what are the consequences of a new toolchain? I mean I understand on a very basic level that the packagesource has to be built using GCC and GLIBC into binary packages and that compilerflags can help optimize a package for specific hardwareneeds, but how can a package become better/more stable by an elaboration of GCC and/or GLIBC?

If new features are introduced in the toolchain, doesn't a package need to be prepared to use these new functions? And if bugs axist in the current toolchain, shouldn't we all suffer from (unexplicable) instability?

Again, I probably just don't know enough about programming, but I'm interested in learning the 'how' of packages and linux in general.

Zl.

Offline

#2 2007-11-16 17:32:03

voodoo.child
Member
Registered: 2007-11-01
Posts: 30

Re: Rebuild because of new toolchain: consequences?

I'm, myself, curious what are the new greatest updates to glibc/gcc? I checked their website, but could not find anything so important. Maybe somebody can point them to me.

Last edited by voodoo.child (2007-11-16 17:32:15)


--
Alexandru

Offline

#3 2007-11-16 18:09:39

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: Rebuild because of new toolchain: consequences?

Glibc changes are not always something that visible to the user but there are usually big changes under the hood. Most packages depend heavily on glibc so it's always a good idea to rebuild the base system with each glibc update. All distributions from suse, fedora, debian and ubuntu do that. Rebuilding against new gcc versions usually yields better performance and stability.

Another thing is that this sort of operation help the developers pick up packages that don't compile anymore and fix them along with their PKGBUILDs.

Last edited by hussam (2007-11-16 18:11:54)

Offline

#4 2007-11-17 00:14:52

mindfall
Member
From: berlin
Registered: 2007-07-03
Posts: 57

Re: Rebuild because of new toolchain: consequences?

To use the new hashstyle (or other new goodies) with aur 'n abs, do I have to define some LDDFLAGS in my makepkg.conf  or is it used automatically?

Offline

Board footer

Powered by FluxBB