Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no more nptl on ppc???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
CaribbeanKnight
Apprentice
Apprentice


Joined: 27 Apr 2003
Posts: 240
Location: Earth -> Europe -> Belgium -> Diest

PostPosted: Tue Apr 13, 2004 9:13 pm    Post subject: no more nptl on ppc??? Reply with quote

i recently emerged new linux-headers (2.6.5) on my ppc systems and i thought, let's recompile glibc... but then i saw i can't compile glibc anymore with nptl enabled, i always get this:
Code:

MoondusT root # emerge glibc -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.3_pre20040207  -build -nls -(nptl) -pic  18 kB

Total size of downloads: 18 kB

MoondusT root # USE="nptl" emerge glibc -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.3_pre20040207  -build -nls -(nptl) -pic  18 kB

Total size of downloads: 18 kB

MoondusT root #

so anyone know what is influencing these use flags, as till recently i never got any problem compiling with nptl on ppc??
_________________
...we ain't shit...
Linux User #353893
Back to top
View user's profile Send private message
CaribbeanKnight
Apprentice
Apprentice


Joined: 27 Apr 2003
Posts: 240
Location: Earth -> Europe -> Belgium -> Diest

PostPosted: Sun Apr 18, 2004 4:01 am    Post subject: Reply with quote

bump.....
come on, nobody else experiencing this on ppc??
_________________
...we ain't shit...
Linux User #353893
Back to top
View user's profile Send private message
CaribbeanKnight
Apprentice
Apprentice


Joined: 27 Apr 2003
Posts: 240
Location: Earth -> Europe -> Belgium -> Diest

PostPosted: Fri Apr 23, 2004 5:45 am    Post subject: Reply with quote

update:
tried a full clean install on ppc based on 2004.0 stage1 bootstrapped with linux-headers-2.6.5, gcc 3.3.3 and glibc-2.3.3-pre20040207 and i still can't enable nptl.... :x this is getting me so pissed.... is anyone out there still ablie to compile glibc with nptl on ppc??
_________________
...we ain't shit...
Linux User #353893
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Fri Apr 23, 2004 5:37 pm    Post subject: Reply with quote

I get the same thing you get. (although I'm only trying it with glibc-2.3.2-r9).

a quick look at the ebuild for glibc-2.3.2-r9 shows that the nptl flag is explicitly disabled for ppc. (take a look in /usr/portage/sys-libs/glibc/glibc-2.3.2-r9.ebuild)

look at the function called "use_nptl()". it returns 0 for ppc.

I've heard reports of nptl being used on ppc, and kind of wanted to try it. I wonder why it's explicitly disabled? maybe it just hasn't been tested.

anyway, if you feel brave, backed up, and ready to re-install if necessary :lol:, just change the ebuild so use_nptl returns 1 for ppc (probably want to put in the same kind of checks it has for x86) then you should be good to go.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
CaribbeanKnight
Apprentice
Apprentice


Joined: 27 Apr 2003
Posts: 240
Location: Earth -> Europe -> Belgium -> Diest

PostPosted: Sat Apr 24, 2004 5:03 am    Post subject: Reply with quote

zojas, thanx for your reply... i tried what you said by changing the use_nptl() function for ppc to 1, but i still get this when i want to emerge:
Code:

MoondusT root # emerge glibc -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.3_pre20040207  -build -nls -(nptl) -pic  18 kB

Total size of downloads: 18 kB

MoondusT root #

so it doesn't seem to change much... :/ or am i doing something wrong..?
_________________
...we ain't shit...
Linux User #353893
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Sat Apr 24, 2004 3:20 pm    Post subject: Reply with quote

hmm. next place to look might be in an eclass file (if there is one for ppc) or in the profile. there must be a file somewhere that tells it to disallow nptl for ppc.

also, check the changelog in the glibc directory, they might say why in there
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
CaribbeanKnight
Apprentice
Apprentice


Joined: 27 Apr 2003
Posts: 240
Location: Earth -> Europe -> Belgium -> Diest

PostPosted: Sat Apr 24, 2004 5:51 pm    Post subject: Reply with quote

do you by any chance also know where i can find these eclass and profile files..?
oh, and the changelog for glibc didn't reveal anything either... :/
but i can feel i'm coming closer.. :) thanx!
_________________
...we ain't shit...
Linux User #353893
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Sat Apr 24, 2004 6:02 pm    Post subject: Reply with quote

this looks promising. check in /usr/portage/profiles/default-ppc-2004.0 there is a file called use.mask which contains 'nptl' in it. try removing that line.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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