Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glibc update b0rked system
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
bryan23
n00b
n00b


Joined: 17 Apr 2003
Posts: 11

PostPosted: Fri Jan 09, 2004 10:22 pm    Post subject: glibc update b0rked system Reply with quote

After doing an 'emerge sync && emerge -vu world' this morning, some strange behaviour began.
After updated glibc to 2.3.2-r9, it started to seg fault on almost every operation. I cannot even get 'ls -l' to show anything. Has anyone else seen this problem? I am posting this from another system because I can't get to the internet on that one right now, but it is running 2.6.0-r2 and is an iBook g3 800. I didn't see anything at bugs.gentoo.org that described this problems.
Any ideas would be greatly appreciated.
Back to top
View user's profile Send private message
Principal Skinner
n00b
n00b


Joined: 27 Nov 2002
Posts: 50
Location: Greenbelt, Maryland, USA

PostPosted: Thu Jan 29, 2004 9:04 am    Post subject: Reply with quote

I am surprised you are having so many problems. I have had just one problem, although it was a rather serious one for me.

The PPC implementation of the strncmp() function was changed in this version, and its behavior changed in a rarely used case. In the previous version of glibc, as well as the current version on x86, if you call strncmp with one or both pointers being null -- something you're not supposed to do -- and you also pass 0 as the number of characters to be compared, the function call returns 0 ("they are equal"). A few apps rely on this, behavior, unfortunately, such as my preferred shell, zsh (which has been patched by the Gentoo folks as well as at the source). But in the new PPC version (it's all written in assembly code, which is why there's a PPC version), since the behavior is undefined when the strings for comparison are invalid, it is allowed to segfault.

But again, it is unconventional to call strncmp that way, and I doubt that could be the cause of such estensive problems on your part. This is the only thing I'm aware of, however.
Back to top
View user's profile Send private message
Entropy42
n00b
n00b


Joined: 05 Mar 2004
Posts: 56

PostPosted: Tue Apr 13, 2004 4:54 am    Post subject: Re: glibc update b0rked system Reply with quote

bryan23 wrote:
After doing an 'emerge sync && emerge -vu world' this morning, some strange behaviour began.
After updated glibc to 2.3.2-r9, it started to seg fault on almost every operation. I cannot even get 'ls -l' to show anything. Has anyone else seen this problem? I am posting this from another system because I can't get to the internet on that one right now, but it is running 2.6.0-r2 and is an iBook g3 800. I didn't see anything at bugs.gentoo.org that described this problems.
Any ideas would be greatly appreciated.

Not PPC-specific... I just re-emerged glibc, disabling NPTL. (It was causing problems for a small handful of apps)

Now EVERYTHING segfaults...
Back to top
View user's profile Send private message
bergs
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 141
Location: Bern, Switzerland

PostPosted: Tue Apr 13, 2004 7:02 am    Post subject: Reply with quote

I have had the problem, too. You could try:

- reemerge at least system (emerge -e system) or better yet, reemerge everything ...

- downgrade glibc :wink:

Yeah, I know ... not nice solutions :? But it helped in my case.

Simon
Back to top
View user's profile Send private message
ipower
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2004
Posts: 120

PostPosted: Tue Apr 13, 2004 8:05 am    Post subject: Reply with quote

try :
Code:
MAKEOPTS="" emerge glibc

It works for me[/b]
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Tue Apr 13, 2004 7:04 pm    Post subject: Reply with quote

Hmm if the glibc ebuild doesn't prevent the jobserver (i.e. make -j2) it should .... most of the core level stuff and things with known problems generally disable the MAKEOPTS themselves .. maybe this is a candidate too
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