LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-23-2003, 01:32 PM   #1
mmm
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 81

Rep: Reputation: 15
(g)libc question


How can I found out for which architecture is the libc6 in my linux compiled? And how can I compile(or change) it to another architecture(for example from i686 to i386)?
 
Old 07-24-2003, 05:38 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
uname -m gives the machine architecture
uname -p the processor type(either i386,i486,blah blah)
uname -a gives everything
(anyway beats me ,but why are you asking this question coz any i386 program,library et al will work in i686 and I don't think that you have a i386 do you?)
 
Old 07-24-2003, 07:30 AM   #3
mmm
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 81

Original Poster
Rep: Reputation: 15
No,I have got a P4,2.4Ghz.But it is a laptop and I cannot compile kernel 2.4.21 for it(I can but then it freezes at the begining of nooting(I had here few threads here but in none I recieved solution)). In the menuconfig I found one option-Unsynced TSC support(it doesn't solve it),but in help for it is written that it is for laptops and other and some NUMA multi-node boxes. And most importnt why I made this thread:
In the help: If your system hangs when init should run, you are probably using a i686 compiled glibc which reads the TSC without checking for availability. Boot with "notsc" and install a i386 compiled glibc to solve this problem.
So now I am trying to find out how can I run the 2.4.21 kernel on my machine(Toshiba Satelite 2435, Debian distribution)
 
Old 07-24-2003, 09:45 AM   #4
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
First do you compiled the glibc or you installed them from debian cd?
 
Old 07-24-2003, 10:34 AM   #5
mmm
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 81

Original Poster
Rep: Reputation: 15
I don't know that I have been compiling glibc. I was instaling it from the netinstal cd and then instaling all the packages from net.
 
Old 07-24-2003, 11:17 AM   #6
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
If you installed glibc from the Debian CD, it will be the baseline 386-optimized glibc. But, if you are still curious, here's the real command to find out the architecture your glibc was compiled for (the uname stuff is the wrong answer).

Code:
[ddipaolo@quinn ~]% objdump -f /lib/libc.so.6

/lib/libc.so.6:     file format elf32-i386
architecture: i386, flags 0x00000150:
HAS_SYMS, DYNAMIC, D_PAGED
start address 0x00015abd
 
Old 07-24-2003, 11:24 AM   #7
mmm
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 81

Original Poster
Rep: Reputation: 15
I have the same result as you,so it's really an i386 architecture. But now I really don't know what to do with that kernel thing,this was my last idea of what could be wrong with my setup. Don't anybody know what should I do to get the 2.4.21 kernel running on my computer?
 
Old 06-15-2005, 01:39 AM   #8
ceenu99
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Rep: Reputation: 0
Which versions of linux will have libc 6.1 ?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
g++ and libc kiran_kondru17 Linux - Newbie 1 11-27-2004 07:26 AM
libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2) needed for Linux 7.3.1 vivek_thampy Linux - Software 1 08-09-2004 04:12 PM
libc linuxanswer Programming 7 11-17-2003 11:15 AM
libc.so.6 alperen Linux - Software 1 09-15-2003 11:46 AM
libc.so verse libc.so.5 markstevens Linux - Software 4 06-19-2003 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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