This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Re: Xen and reiser4

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.


Jerome Brown
Technology Architect

P: +64  3 961-5116
M: +64 29 453 7663
F: +64  3 961-5129
E: jerome@xxxxxxxxxxxxxxx
W: http://www.concepts.net.nz/
O: Level 4, 818 Colombo St, Christchurch, New Zealand
S: PO Box 1879, Christchurch, New Zealand

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