View previous topic :: View next topic |
Author |
Message |
wildleaf n00b
Joined: 12 Oct 2004 Posts: 71
|
Posted: Tue Dec 21, 2004 7:47 pm Post subject: Can I replace LinuxThreads with NPTL? |
|
|
If I replace it by adding "NPTL" to USE flag and try to
emerge -uDvp --newuse world, I got this:
Code: |
wildleaf root # USE="nptl" emerge -uDpv --newuse world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1-r1)
[ebuild N ] sys-kernel/linux26-headers-2.6.8.1-r1 -build 34,870 kB
[ebuild R ] sys-libs/glibc-2.3.4.20040808-r1 -build -debug -erandom -hardened -multilib +nls +nptl* -pic +userlocales 0 kB
Total size of downloads: 34,870 kB
|
The linux-headers is blocked, is it dangerous to do so ? any idea? thanks. |
|
Back to top |
|
|
Hauser l33t
Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Tue Dec 21, 2004 7:54 pm Post subject: |
|
|
You need to replace linux-headers with linux26-headers before you reemerge glibc, please see the relevant part in my post:
https://forums.gentoo.org/viewtopic.php?p=1882873#1882873 _________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite! |
|
Back to top |
|
|
wildleaf n00b
Joined: 12 Oct 2004 Posts: 71
|
|
Back to top |
|
|
wildleaf n00b
Joined: 12 Oct 2004 Posts: 71
|
Posted: Tue Dec 21, 2004 10:42 pm Post subject: |
|
|
Also, before i merge the linux26-headers, i have to do unmerge linux-headers first. don't know if that is a problem... |
|
Back to top |
|
|
Hauser l33t
Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
Posted: Wed Dec 22, 2004 6:05 am Post subject: |
|
|
wildleaf wrote: | Also, before i merge the linux26-headers, i have to do unmerge linux-headers first. don't know if that is a problem... |
That won't be a problem, so long as you don't start recompiling glibc before you have already emerged linux26-headers. --nodeps and --oneshot are used because you don't want the replacement itself affect other parts of the system (through dependencies or whatever) until glibc gets recompiled properly. I've seen these in the handbook, but in reality if you do this step by step, ie (1) unemerge linux-headers, (2) emerge linux26-headers, (3) emerge glibc, probably it will work even without them. _________________ AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl
Do I like to compile everything?
Positive definite! |
|
Back to top |
|
|
wildleaf n00b
Joined: 12 Oct 2004 Posts: 71
|
Posted: Wed Dec 22, 2004 7:52 am Post subject: |
|
|
Got ya. Thanks again. I've done the upgrade, and everything is running good.
One of the reason I want to use NPTL is that I'm running many Java programs eg. Azureus, which have large demand of creating threads. So I was hoping I can get a better performance using NTPL.
Hauser wrote: | wildleaf wrote: | Also, before i merge the linux26-headers, i have to do unmerge linux-headers first. don't know if that is a problem... |
That won't be a problem, so long as you don't start recompiling glibc before you have already emerged linux26-headers. --nodeps and --oneshot are used because you don't want the replacement itself affect other parts of the system (through dependencies or whatever) until glibc gets recompiled properly. I've seen these in the handbook, but in reality if you do this step by step, ie (1) unemerge linux-headers, (2) emerge linux26-headers, (3) emerge glibc, probably it will work even without them. |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|