LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-01-2007, 07:21 PM   #1
lanart
LQ Newbie
 
Registered: Dec 2007
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
Can't compile a Xen compatible glibc


Hi,

the problem is very strange. I'm trying to compile glibc-2.5 without NPTL like it is described here: http://www.pervasive.jku.at/About_Us...irtualization/

But after installation of compiled package I still get:
# getconf GNU_LIBPTHREAD_VERSION
NPTL 2.5

What's wrong?

Andrei
 
Old 12-02-2007, 10:35 AM   #2
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I think I specifically remember seeing a similar thread on the Slackware forums about this. Have you done a search here? If I recall, the poster got it sorted out and is now running a Xen kernel on Slack.
 
Old 12-02-2007, 01:54 PM   #3
lanart
LQ Newbie
 
Registered: Dec 2007
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you for your reply. It's seems I'm the only to have such stupid problem.

I find only one thread about compiling glibc and missing kernel sources. My problem is different. Everything compiles and installs without problems (I also tried to compile on another PC, but result was the same).
Then when I do:
# getconf GNU_LIBPTHREAD_VERSION
I got:
NPTL 2.5
instead of linuxthreads :-(
 
Old 12-06-2007, 02:06 PM   #4
ubaldo
LQ Newbie
 
Registered: Dec 2007
Location: Sardinia
Distribution: slackware
Posts: 1

Rep: Reputation: 0
Ciao Lanart,

if after compiling and installing the new glibc, Xen is still asking you to disable tls and you are using an initrd image, don't forget that you have also to recompile mkinitrd to avoid that message...

It took me a whole day to sort it out!
 
Old 12-07-2007, 02:26 AM   #5
lanart
LQ Newbie
 
Registered: Dec 2007
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
It works!

I was fooled by "getconf GNU_LIBPTHREAD_VERSION" test. I thought it should change after recompile which seems to be absolutely wrong.

For many years I avoided using initrd...

Thank you very much for your help.
 
  


Reply

Tags
glibc, slackware, xen


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
can't reboot xen in slackware 12 after compiling glibc sysslack_linux Slackware 2 10-05-2007 06:10 PM
Cannot compile glibc-2.3.6 RChickenMan Linux From Scratch 1 02-25-2007 04:08 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 11-05-2006 01:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-22-2006 12:33 AM
Are glibc libraries forward compatible ? Libu Linux - Software 5 01-31-2005 08:57 AM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration