| View previous topic :: View next topic |
| Author |
Message |
ehud n00b

Joined: 15 May 2004 Posts: 69 Location: Tel Aviv
|
Posted: Sat May 15, 2004 4:25 pm Post subject: Installing gentoo with nptl |
|
|
Hey all,
I'm trying to install gentoo for a 2.6 kernel with nptl support.
I have changed ACCEPT in my make.conf to '~x86' and edited linux-headers-2.6.5 to ACCEPT x86.
I'm using 2004.1 stage1 tar.
After running bootstrap-2.6.sh, it fails when compiling glibc-2.3.3_pre20040420, something with a nesting problem: the include file: /mnt/gentoo/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/
buildhere/sys/syscall.h
contains "#include <sys/syscalls.h>"
This generates a loop (the syscalls.h file is taken again from the buildhere directory), and finally an error.
Please advise,
Thanks. |
|
| Back to top |
|
 |
BillLeeLee n00b


Joined: 12 Apr 2003 Posts: 46 Location: Massachusetts
|
Posted: Sat May 15, 2004 5:51 pm Post subject: |
|
|
Add nptl to your use flags in make.conf if you haven't done so. Also, as for you glibc problem, I'd suggest emerging the most current stable version instead of a masked version.
My system still glibc-2.3.2-r9 (current stable x86 release). _________________ My website that has nothing: www.digitalassonance.com |
|
| Back to top |
|
 |
Hayl Guru


Joined: 28 Jan 2003 Posts: 442 Location: Calgary, Alberta, Canada
|
Posted: Sat May 15, 2004 6:06 pm Post subject: |
|
|
if you emerge the current stable, you should hack the ebuild and add the following line that fixes an nptl bug.
| Code: | | epatch ${FILESDIR}/2.3.2/${P}-rtld-assert-fix.patch |
I added it to mine right above the following lines:
| Code: | if use_nptl
then
epatch ${FILESDIR}/2.3.2/${P}-redhat-nptl-fixes.patch
else
epatch ${FILESDIR}/2.3.2/${P}-redhat-linuxthreads-fixes.patch
fi |
_________________ "I do not fear computers. I fear lack of them." - Isaac Asimov |
|
| Back to top |
|
 |
cyrillic Watchman


Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat May 15, 2004 8:53 pm Post subject: Re: Installing gentoo with nptl |
|
|
| ehud wrote: | | After running bootstrap-2.6.sh, it fails when compiling glibc-2.3.3_pre20040420, something with a nesting problem ... |
If you are trying to use reiser4, you will need the patch mentioned near the end of this thread.
Gentooites taking part in Reiserfs4 Revolution !! |
|
| Back to top |
|
 |
ehud n00b

Joined: 15 May 2004 Posts: 69 Location: Tel Aviv
|
Posted: Sun May 16, 2004 8:12 am Post subject: |
|
|
| I am trying to use reiser4, but couldn't find any patch in the post you linked. |
|
| Back to top |
|
 |
cyrillic Watchman


Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
|
| Back to top |
|
 |
ehud n00b

Joined: 15 May 2004 Posts: 69 Location: Tel Aviv
|
Posted: Mon May 17, 2004 5:32 am Post subject: |
|
|
It worked!
Thanks, cyrillic. |
|
| Back to top |
|
 |
|