Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2005 10:34:35 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Sebastian Schulze Struchtrup <seb@struchtrup.com>
Cc:        current@freebsd.org
Subject:   Re: library problems with -CURRENT
Message-ID:  <20050422103316.G5855@carver.gumbysoft.com>
In-Reply-To: <4268E399.6030304@struchtrup.com>
References:  <200504211606.j3LG6gbc007250@peedub.jennejohn.org> <4268E399.6030304@struchtrup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Apr 2005, Sebastian Schulze Struchtrup 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"
> >>
> >>
> >
> >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!
> >
> >You'll have to recompile these ports, I suspect. Interestingly, my old
> >gkrellm still runs just fine with a new world from yesterday, but I had
> >to reinstall transcode.
> >
> >
> >
>
> This was introduced by libpthread (and libkse, I think) using
> i386_(get/set)_(gs/fs)base in libc The old libc.5 doesn't have this
> functions implemented and is no longer rebuild as we're using libc.6
> now. This affects all ports which are still using libc.5 and
> libpthread/libkse. The easiest approach is probably to rebuild all your
> ports so that they are using libc.6 Anyway, libc.5 without pthreads/kse
> works fine on my system.
>
> Maybe this should be placed into src/UPDATING?

Yes. We also need to make sure 5.x compat works. I've raised the question
as to what to do, as we have a couple of options and it depends on whether
we can just bump the version and get away with it or if more involed hacks
are necessary.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



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