On Tue, 19 Oct 2004 16:42:21 +0200, Holly Bostick <motub@planet.nl> wrote:
> Mark Knecht wrote:
<SNIP>
> >
> > flash root # ACCEPT_KEYWORDS="~x86" emerge -pv linux26-headers
> > linux-headers glibc
> >
> > These are the packages that I would merge, in order:
> >
> > Calculating dependencies ...done!
> > [blocks B ] sys-kernel/linux26-headers ("virtual/os-headers" from
> > pkg sys-kernel/linux-headers-2.4.22)
> > [ebuild R ] sys-kernel/linux26-headers-2.6.8.1-r1 -build 0 kB
> > [ebuild R ] sys-kernel/linux-headers-2.4.22 -build 0 kB
> > [ebuild R ] sys-libs/glibc-2.3.4.20041006 -build -debug -debug
> > -erandom -hardened -multilib +nls +nptl -nptlonly -pic -userlocales
> > 16 kB
> >
> > Total size of downloads: 16 kB
> >
> > flash root #
> >
> > I'm not at all sure what this block above is telling me. I got no such
> > messages when I emerged glibc-2.3.4.20041006 last night.
>
> As far as I know, both linux26-headers and linux-headers cannot be
> installed at the same time. And you have to have linux26-headers to
> enable nptl. So why are you emerging linux-headers, anyway? It is
> apparently confusing to your virtuals (it doesn't know which one to use).
The command above was only to show what's on the system as of this
morning. I did not emerge linux-headers myself. I followed Jeff's
instructions, repeated here:
"I believe if you emerge -C linux-headers (removing), emerge -e glibc
will pull the 2.6 headers in as a dependency, but you may need a new
version - I'm not positive."
So, following this, I removed linux-headers. when I emerged glibc it
brought in linux26-heders and a newer version of linux headers. I
think that I did not do emerge -e glibc though. Possibly this was part
of the problem?
Here are the records from /var/log/emerge.log:
1098154539: *** emerge sync
1098154539: === sync
1098154540: >>> starting rsync with rsync://156.56.111.198/gentoo-portage
1098154575: === Sync completed with rsync://156.56.111.198/gentoo-portage
1098154716: *** terminating.
1098154739: Started emerge on: Oct 18, 2004 19:58:59
1098154739: *** emerge unmerge linux-headers
1098154744: === Unmerging... (sys-kernel/linux-headers-2.4.21-r1)
1098154757: >>> unmerge success: sys-kernel/linux-headers-2.4.21-r1
1098154774: *** exiting successfully.
1098154776: *** terminating.
1098154910: Started emerge on: Oct 18, 2004 20:01:50
1098154910: *** emerge glibc
1098154911: >>> emerge (1 of 3) sys-kernel/linux-headers-2.4.22 to /
1098154911: === (1 of 3) Cleaning
(sys-kernel/linux-headers-2.4.22::/usr/portage/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild)
1098154911: === (1 of 3) Compiling/Merging
(sys-kernel/linux-headers-2.4.22::/usr/portage/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild)
1098155027: === (1 of 3) Post-Build Cleaning
(sys-kernel/linux-headers-2.4.22::/usr/portage/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild)
1098155028: >>> AUTOCLEAN: sys-kernel/linux-headers
1098155028: --- AUTOCLEAN: Nothing unmerged.
1098155028: ::: completed emerge (1 of 3) sys-kernel/linux-headers-2.4.22 to /
1098155028: >>> emerge (2 of 3) sys-kernel/linux26-headers-2.6.8.1-r1 to /
1098155028: === (2 of 3) Cleaning
(sys-kernel/linux26-headers-2.6.8.1-r1::/usr/portage/sys-kernel/linux26-headers/linux26-headers-2.6.8.1-r1.ebuild)
1098155028: === (2 of 3) Compiling/Merging
(sys-kernel/linux26-headers-2.6.8.1-r1::/usr/portage/sys-kernel/linux26-headers/linux26-headers-2.6.8.1-r1.ebuild)
1098155082: === (2 of 3) Post-Build Cleaning
(sys-kernel/linux26-headers-2.6.8.1-r1::/usr/portage/sys-kernel/linux26-headers/linux26-headers-2.6.8.1-r1.ebuild)
1098155083: >>> AUTOCLEAN: sys-kernel/linux26-headers
1098155083: --- AUTOCLEAN: Nothing unmerged.
1098155083: ::: completed emerge (2 of 3)
sys-kernel/linux26-headers-2.6.8.1-r1 to /
1098155083: >>> emerge (3 of 3) sys-libs/glibc-2.3.4.20041006 to /
1098155083: === (3 of 3) Cleaning
(sys-libs/glibc-2.3.4.20041006::/usr/portage/sys-libs/glibc/glibc-2.3.4.20041006.ebuild)
1098155083: === (3 of 3) Compiling/Merging
(sys-libs/glibc-2.3.4.20041006::/usr/portage/sys-libs/glibc/glibc-2.3.4.20041006.ebuild)
1098159168: === (3 of 3) Post-Build Cleaning
(sys-libs/glibc-2.3.4.20041006::/usr/portage/sys-libs/glibc/glibc-2.3.4.20041006.ebuild)
1098159169: >>> AUTOCLEAN: sys-libs/glibc
1098159175: === Unmerging... (sys-libs/glibc-2.3.3.20040420-r2)
1098159198: >>> unmerge success: sys-libs/glibc-2.3.3.20040420-r2
1098159198: ::: completed emerge (3 of 3) sys-libs/glibc-2.3.4.20041006 to /
1098159198: *** Finished. Cleaning up...
1098159213: *** exiting successfully.
1098159221: *** terminating.
1098195781: Started emerge on: Oct 19, 2004 07:23:01
1098195781: *** emerge info
1098195782: *** terminating.
So, as you see this was done by portage - not me.
>
> >
> > Now, down to the confusion. Is NPTL running? It was my understanding
> > from a thread sometime earlier that I could see what libraries were
> > being called using ldd.
> >
> > <snip>
>
> The easiest way I know to see if NPTL is running (which I don't think it
> is, given that the linux26-headers needed to enable it are blocked) is
> to use
>
> # /lib/libc.so.6
>
<SNIP>
>
> That's it (NPTL).
Yep - mine is not:
flash root # /lib/libc.so.6
GNU C Library 20041006 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1,
ssp-3.3.2-2, pie-8.7.6).
Compiled on a Linux 2.6.8 system on 2004-10-18.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.10 by Xavier Leroy
The C stubs add-on version 2.1.2.
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Glibc-2.0 compatibility add-on by Cristian Gafton
GNU Libidn by Simon Josefsson
libthread_db work sponsored by Alpha Processor Inc
Thread-local storage support included.
For bug reporting instructions, please see:
<
http://www.gnu.org/software/libc/bugs.html>.
flash root #
>
>
> > What do I need to do to turn NPTL on???
>
> You need to install the linux26-headers, and recompile glibc with nptl
> enabled.
So, I trusted portage to emerge the correct headers last night. It
apparently did not do this. Do this mean that I should:
emerge -C linux-headers
emerge -C linux26-headers-2.6.8.1-r1
emerge linux26-headers
emerge glicb
????
>
> Technically, that's it, but some of us recompile the system (or the
> world) with emerge -e to recompile the system to actually use the nptl
> we've enabled. That is, however, a personal choice.
This is new info. I asked yesterday if I had to recompile applications
to use NPTL. I thought the answer was no. Now you suggest that I do.
I'm confused. which is it?
Thanks,
Mark
--
gentoo-user@gentoo.org mailing list