Author Topic: Toolchain (gcc) bump decision....  (Read 1781 times)

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Toolchain (gcc) bump decision....
« on: January 28, 2006, 05:49:32 pm »
Change of plan....

I discovered that I can\'t bump the gcc version unless some of other packages on the OS I compile on are compiled with that version as well (Some = quite a lot). I would have to change distro to do this, and that would mean using a higher glibc version (2.3.3 instead of 2.3.2). So what\'s the problem with that? The problem is that if I do that, all of you using retarded distos like debian sarge wouldn\'t be able to run the binaries I compile. So yeah, I\'ve got a choice, continue compiling using a old toolchain, or bump a version up and force some people to get a decent OS. (This basically means moving to etch for you debian users, and a OS upgrade for anyone using old versions of things like ubuntu etc.)

So what am I to do? It\'s your choice. :)

oliver123

  • Traveller
  • *
  • Posts: 30
    • View Profile
(No subject)
« Reply #1 on: January 28, 2006, 08:28:34 pm »
Hm... Though on the paper I use Debian Sarge, I just noticed that my libc is already at 2.3.5 :) so I _could_ vote Yes :D
But I\'d be interested in the advantages of the newer gcc anyway...

So what would we gain from the change? Are the binaries really that much smaller and faster?

Also, do you know what\'s with Ubuntu Breezy users? Is it even possible for them to upgrade, or would they have to wait for Dapper? And what other (currently stable) distros are affected?

Just curious :D
Oliver

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
(No subject)
« Reply #2 on: January 28, 2006, 08:38:47 pm »
Ubuntu Breezy seems to be 2.3.5: http://packages.ubuntu.com/breezy/base/libc6

Gentoo is 2.3.5.
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #3 on: January 28, 2006, 09:19:58 pm »
Yes, most new versions of distros are 2.3.5 now. It\'s just the people with old versions who will be affected.  

oliver123: Ah, maybe libc is updated in debian then. If so then that makes the decision easier. :)

And the advantages of the newer gcc version is that I can use a few more optimizations, and that gcc version produces better code than 3.3 anyway.
« Last Edit: January 28, 2006, 09:23:48 pm by Xordan »

Havox

  • Hydlaa Resident
  • *
  • Posts: 59
    • View Profile
(No subject)
« Reply #4 on: January 28, 2006, 11:38:32 pm »
i say bump it.

Also i dont know anyone who would use an outdated install for a desktop, and would be pissed if i caught anyone playing/installing such a thing as planeshift or whatever on my debian server. I mean ... thinking about it makes me nervously grasp my BOFH club and the world starts getting blurry

oliver123

  • Traveller
  • *
  • Posts: 30
    • View Profile
(No subject)
« Reply #5 on: January 29, 2006, 12:33:59 am »
Quote
oliver123: Ah, maybe libc is updated in debian then. If so then that makes the decision easier.

Hmm... just for the record, the libc in Debian Sarge is still at 2.3.2 (see http://packages.debian.org/stable/libs/libc6-i686), probably I installed the newer one from Testing or Unstable... But as PS is in an unstable state as well, that seems appropriate :D and makes a version bump quite reasonable.

Oliver

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #6 on: February 10, 2006, 01:21:48 am »
Started to move everything from ubuntu to fedora... which means I\'m going to bump the toolchain I use. Everything seems to work nice in fedora, and I also noticed that I could update my glibc version from 2.3.3 to 2.3.6 if I had wanted to... so I now definatly see no reason not to bump. If other distro\'s are too retarded to add updated glibc versions into their package manager.... that\'s their problem. :P If anyone does need to make a OS upgrade... well it\'s probably about time they did so anyway.

So to confirm, glibc 2.3.3 and libstdc++ 6 or higher will now be required.
« Last Edit: February 10, 2006, 01:24:27 am by Xordan »