Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2005 14:13:07 +0200
From:      Holm Tiffe <holm@freibergnet.de>
To:        freebsd-current@freebsd.org
Subject:   Re: library problems with -CURRENT
Message-ID:  <20050426121252.GC18078@pegasus.freiberg-net.de>
In-Reply-To: <20050426080203.GB1413@pegasus.freiberg-net.de>
References:  <lars.engels@0x20.net> <20050420221903.GA738@bart.bsd-geek.de> <200504211606.j3LG6gbc007250@peedub.jennejohn.org> <20050426080203.GB1413@pegasus.freiberg-net.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050426121252.GC18078>