Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No NPTL on mips?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
fishball
n00b
n00b


Joined: 06 Jul 2006
Posts: 7

PostPosted: Thu Jul 13, 2006 5:50 pm    Post subject: No NPTL on mips? Reply with quote

I've just finished bootstraping my O2 and later decided to use nptl. I am using a 2.6 netboot image so I thought my nptl USE flag should be fine. But when i try to do a emerge -ep system | grep glibc, i don't see nptl as listed in its USE flags. I checked the output to see if i will be emerging linux26-headers eventually but didn't see it as well. I saw mips-headers instead.

Cany anyone confirm if nptl is supported in mips? I hope it is. I have an Ultra5 with the latest and greatest including nptl. Don't ever want to go back to linuxthreads again.

Thanks.
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Fri Jul 14, 2006 12:43 am    Post subject: Reply with quote

It's comming... glibc-3.x doesn't support NPTL, glibc-2.4 does (in fact, 2.4 drops linuxthreads support), but the transition isn't straightforward, and thus is strongly discouraged at the moment, unless you really know what you're doing.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 381
Location: Sigma 957

PostPosted: Fri Jul 14, 2006 12:52 am    Post subject: Reply with quote

Nptl will be entering a testable phase for us after the 2006.1 release. To use nptl, you need gcc-4.1.1 and glibc-2.4. To avoid horribly breaking people's systems, nptl has been locked away into a series of specialized sub-profiles. Currently, we advise against trying it, as we can't really offer support for it (lack of time, etc -- I'm currently building release materials and such, and haven't played with nptl a whole lot really). If you do decide to switch profiles and try it, you're on your own for now :)


--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
fishball
n00b
n00b


Joined: 06 Jul 2006
Posts: 7

PostPosted: Fri Jul 14, 2006 1:13 am    Post subject: Reply with quote

Thanks. Is there any way I can help to speed things up? I'm willing to try things out.

I'm just about to finish stage3. I'm planning to just copy it over to the second box. Aside from ccache, is it possible to speed up my compiles (for the testing) like HPC or whatever?

By the way, I need to re-bootstrap when I try out gcc-4.1.1 and glibc-2.4 right?
Back to top
View user's profile Send private message
fishball
n00b
n00b


Joined: 06 Jul 2006
Posts: 7

PostPosted: Fri Jul 14, 2006 1:16 am    Post subject: Reply with quote

BTW, got 2 of this.

Portage 2.1.1_pre2-r6 (default-linux/mips/mips64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.12-rc5-mipscvs-20050529-ip32r5k mips64)
=================================================================
System uname: 2.6.12-rc5-mipscvs-20050529-ip32r5k mips64 R5000 V2.1 FPU V1.0
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.91.0.2
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.16.16
ACCEPT_KEYWORDS="mips ~mips"
AUTOCLEAN="yes"
CBUILD="mips-unknown-linux-gnu"
CFLAGS="-O2 -mips4 -mabi=32 -pipe"
CHOST="mips-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mips4 -mabi=32 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="mips berkdb bitmap-fonts cli dlloader fortran gdbm gpm isdnlog libwww nls pam pcre perl pppd python readline reflection sdl session spl ssl tcpd truetype-fonts type1-fonts userlocales xorg elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Ooppss... this is now what I want. :roll: Okay, i'll post hinv later. :lol:
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 381
Location: Sigma 957

PostPosted: Fri Jul 14, 2006 2:46 am    Post subject: Reply with quote

fishball wrote:
Thanks. Is there any way I can help to speed things up? I'm willing to try things out.

Not at the moment. The one run I did do shows that nptl is almost a painless, straight conversion, but that was a strict, base-line install into a chroot. I didn't try big and complex things like Xorg and apps like Firefox or whatnot. That's what'll be tested after release (when I covert my Octane over to an nptl install, cause right now, it's building the stages and CD/netboots for 2006.1's release).


fishball wrote:
I'm just about to finish stage3. I'm planning to just copy it over to the second box. Aside from ccache, is it possible to speed up my compiles (for the testing) like HPC or whatever?

By the way, I need to re-bootstrap when I try out gcc-4.1.1 and glibc-2.4 right?

One thing mips teaches someone, is to have patience :) [although, not as much as an m68k box will require]

As for rebuilding; probably better to do 'emerge -e world' vs. re-bootstrapping. In truth, bootstrap isn't really run anymore in a normal install. We advise users nowadays to just unpack a stage3 and run the above emerge command, which re-installs every package already installed, so the effect is literally the same. This is why we only distribute stage3 tarballs now.


--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
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