LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-14-2005, 03:37 PM   #1
devilkin
Member
 
Registered: Jan 2005
Location: Australia
Distribution: LFS 6.0 #15056
Posts: 50

Rep: Reputation: 15
The difference between linuxthreads and npt1


When compiling LFS for my first time under Fedora core 2 (2.6.5-1.358) Ive built glibc using the --enable-add-ons=linuxthreads instead of --enable-add-ons=npt1 as the book says. The reasoning being that when i used npt1 this is all i get back:
Code:
configure: error: add-on directory "npt1" does not exist
Ive managed to get through to the final LFS system build of glibc without any further problems, but will my final system be stable or crumble like cheesecake?
 
Old 03-15-2005, 09:13 AM   #2
berell
LQ Newbie
 
Registered: Jan 2004
Location: Germany
Distribution: MyGeOs
Posts: 6

Rep: Reputation: 0
hi

use nptl not npt1 it is an "l" not a 1
l comes after k alphateical order
 
Old 03-16-2005, 01:23 AM   #3
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
thats a common problem when looking at terminal fonts that make the differences between characters that are almost identical - NULL.
1 looks like l with some fonts. (and the l looks like the bar/pipe: |)

It makes me wont to shoot those font designers sometimes....
 
Old 03-19-2005, 08:07 PM   #4
devilkin
Member
 
Registered: Jan 2005
Location: Australia
Distribution: LFS 6.0 #15056
Posts: 50

Original Poster
Rep: Reputation: 15
Damn... Well now i feel really stupid....

Well i finished compiling lfs and its working using linuxthreads but there are a few glitches ive noticed, mainy when there is high hard disk activity everything tends to lag. At first i thought there might be a glitch in ex3 journaling, but i switched back to ex2 and the problem is still there...

Anyway i want to make the best of this mistake. Whats the difference between linux threads and nptl?
 
Old 03-25-2005, 07:32 PM   #5
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
Quote:
Whats the difference between linux threads and nptl?
Type that in a search in any search engine.
should result in more than enough information.

Easiest answer is that nptl is "New PThread Library", which supports dynamic stacks, whereas linuxthreads is static.
(you will see this issue in Windows Emulation Gaming: like on Cedega...)

nptl will help make processes run faster, while using as little space as possible..

Last edited by Yerp; 03-25-2005 at 07:36 PM.
 
Old 05-14-2005, 06:04 AM   #6
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
Quote:
Originally posted by Yerp
nptl will help make processes run faster, while using as little space as possible..
For apps to benefit from NPTL, do they have to be compiled against glibc that supports NPTL? Or will a previously compiled program automatically benefit from running on a kernel that supports NPTL?

Thanks.
 
Old 05-14-2005, 07:25 AM   #7
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
http://www.slackware.com/changelog/current.php?cpu=i386

win32sux posted part of this earlier in the slackware forum, might want to keep an eye on that thread and see what experience others are having with this method.
 
Old 05-15-2005, 10:34 PM   #8
devilkin
Member
 
Registered: Jan 2005
Location: Australia
Distribution: LFS 6.0 #15056
Posts: 50

Original Poster
Rep: Reputation: 15
Just to tie this up, the new build of lfs is working awsomly. KDE compiled without a hitch, and looks and works awsome. If you compare fedora core 3 to my newly built system there is no chance... It boots in a fraction of the time, many times more stable. Even seems to multitask better. On fedora when i am compiling everything seems to run sluggish, but with the new lfs i dont even notice (as long as i dont try to play ut2004 :P).

Im looking foreward to testing the latest wine out but havent gotten around to it yet...

System:
CPU: AMD Sempron 2800+
RAM: Dual DDR400
Mobo: Asus K7

Last edited by devilkin; 05-15-2005 at 10:36 PM.
 
  


Reply


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
Introducing LinuxThreads to Fedora 4 Readie Linux - Newbie 4 12-06-2005 03:20 AM
NPTL or LinuxThreads based machines?? twysm Linux - Newbie 4 06-23-2005 04:29 PM
LinuxThreads won't schedule real-time godOfThunder Linux - Software 0 05-12-2004 02:38 PM
where can i find 'linuxthreads'??? nef Linux - Newbie 8 07-03-2003 05:12 PM
glibc 2.3 with linuxthreads... khermans Linux - General 2 10-11-2002 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:54 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