library problems with -CURRENT

Holm Tiffe holm at freibergnet.de
Tue Apr 26 05:13:10 PDT 2005


Holm Tiffe wrote:

> Gary Jennejohn wrote:
> 
> > 
> > Lars Engels writes:
> > > Hi all!
> > > 
> > > I just upgraded my 5.4-PRERELEASE notebook to -CURRENT.
> > > Compilation and installation went fine, but when I try to start firefox,
> > > gkrellm and even portupgrade I get the following error message:
> > > /libexec/ld-elf.so.1: /usr/lib/libpthread.so.1: Undefined symbol
> > > "i386_get_gsbase"
> > > 
> > > Is there something i have not spotted in UPDATING? 
> > > 
> > > System:  FreeBSD 6.0-CURRENT #5: Wed Apr 20 23:21:11 CEST 2005
> > > 
> > 
> > It's not in UPDATING, but a change was recently made (can't say exactly
> > when) which affects %gs/%fs. If you're using -current then you really
> > should watch the commits, too!
> > 
> 
> Yes we should watch the commitlogs, but it's really bad behavior to brake
> that many of the installed Applications and not to mention this fact in
> UPDATING.  That's what IMHO version numbers for.
> 
> I'm reverting back to 04/13/2005 since I don't have the time now to
> recompile everything to get my work done ..
> 

After some investigation: davidxu has tried to fix this misbehavior
trough adding

i386_get_gsbase(void **addr)
{

        return (sysarch(I386_GET_GSBASE, addr));
}

int
i386_set_gsbase(void *addr)
{

        return (sysarch(I386_SET_GSBASE, &addr));
}

to lib/libthr/arch/i386/i386/pthread_md.c (2005-04-23 02:14:38 UTC)
but doesn not fix anything on my machine.

I've added those functions to
/usr/src/lib/libpthread/arch/i386/i386/pthread_md.c to, recompiled
libpthread and installed it, now my galeon, mozilla etc. is running again.

Someone should look at this.


... making world now...

Holm
-- 
L&P::Kommunikation GbR          Holm Tiffe  * Administration, Development
FreibergNet.de Internet Systems                     phone +49 3731 419010
Bereich Server & Technik                             fax +49 3731 4196026 
D-09599 Freiberg * Am St. Niclas Schacht 13     http://www.freibergnet.de



More information about the freebsd-current mailing list