Re: library problems with -CURRENT

From: Doug White <dwhite_at_gumbysoft.com>
Date: Fri, 22 Apr 2005 10:34:35 -0700 (PDT)
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_at_gumbysoft.com          |  www.FreeBSD.org
Received on Fri Apr 22 2005 - 15:34:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:32 UTC