Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-13-2005, 03:18 PM   #1
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
Glibc w/ 2.6 headers

I've decided to recompile glibc w/ 2.6 headers and gcc 4 myself becuase I have software and some hardware that needs those headers.

I intend on recompiling the following:

Is there anything else I should recompile as well. I've always just built a toolchain and bootstraped the entire system with it so I'm not sure if just recompiling glibc w/ 2.6 headers is a good idea? Doesn't my gcc toolchain link against glibc so I'd have to recompile gcc, binutils, etc as well and of course recompile the kernel itself? I have been looking in the changelogs and usually only the 3 glibc packages above are recompiled and nothing else. Doesn't this mess up the toolchain? So in short what do the experts recommend? If I recompile just the 3 will I be okay?
Old 04-13-2005, 05:20 PM   #2
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
If I were going to change glibc then I'd just start over from scratch and compile everything I need against it. Maybe a custommized Linux From Scratch taylored in Slackware's way of doing things. glibc and the kernel are the core of the OS. Almost all programs will be linked against it, so it only seems logical that if you are going to replace the core, you may as well replace it all. Just my $.02.
Old 04-13-2005, 05:53 PM   #3
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Original Poster
Rep: Reputation: 31
I guess the only way I'll know is just try doing those 3 and see if stuff starts breaking

From the change logs I notice Pat just compiles glibc or just gcc and never bootstraps the system. I've always been amazed how Pat has never bootstraped the system and stuff doesn't break. Quite impressive.
Old 04-15-2005, 07:09 AM   #4
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
just glibc. a program calling strcmp wouldn't care how 0 was returned when two strings are identical, it would only care that 0 was actually returned when two strings are identical.
Old 04-15-2005, 08:06 AM   #5
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 712Reputation: 712Reputation: 712Reputation: 712Reputation: 712Reputation: 712Reputation: 712
Do not forget to recompile agetty with your glibc or you may have problem with login


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
Glibc Unable to Find Kernel Headers Kenji Miyamoto Linux From Scratch 6 12-30-2008 04:03 PM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 07:26 AM
ncsd, glibc, and glibc-common conflicts during LAMP install beaker911 Linux - Software 0 12-30-2004 02:31 PM
glibc 2.3.2 => glibc 2.3.3 causes bash & syslog issues natetheros Red Hat 1 09-27-2004 01:35 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration