|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: Xen and reiser4
Jerome Brown wrote:
That's the exactly the thing which I didn't want to do, I want to
build glibc with linuxthreads and nptl
Look at your $PORTDIR/sys-libs/glibc/glibc-<version>.ebuild, locate
want_tls function and add "return 1" as the first line of the
function. This is ugly hack, but should work (not tested).
Disadvantage is that it won't survive `emerge sync`, but you can add
it into $PORTDIR_OVERLAY...
If you compile glibc with the nptl USE flag it will compile both NTPL
and LinuxThreads into glibc. If you have specified the ntplonly USE flag
then it will not compile LinuxThreads. Check to see if you have the
nptlonly flag defined (most of the tutorials I remember looking at say
to define it). If so, remove it and recompile glibc. You shouldn't need
to recompile anything else, as the nptlonly USE flag only applys to
glibc, so everything else should work fine from there.
If I'm not mistaken, NPTL (Native POSIX Thread Library) is a replecement
of LinuxThreads, threads implementation library used as default under
pre-2.6 kernels. TLS (Thread Local Storage) is AFAIK something else (at
least I think so because Ming wants to have NPTL enabled but TLS disabled).
I've created gentoo bugreport - http://bugs.gentoo.org/show_bug.cgi?id=77678
-jkt
--
cd /local/pub && more beer > /dev/mouth
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|