From owner-freebsd-current@FreeBSD.ORG Fri Apr 22 17:34:35 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84D7816A4CE for ; Fri, 22 Apr 2005 17:34:35 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6113343D48 for ; Fri, 22 Apr 2005 17:34:35 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 55CFD72DE4; Fri, 22 Apr 2005 10:34:35 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 532CE72DDB; Fri, 22 Apr 2005 10:34:35 -0700 (PDT) Date: Fri, 22 Apr 2005 10:34:35 -0700 (PDT) From: Doug White To: Sebastian Schulze Struchtrup In-Reply-To: <4268E399.6030304@struchtrup.com> Message-ID: <20050422103316.G5855@carver.gumbysoft.com> References: <200504211606.j3LG6gbc007250@peedub.jennejohn.org> <4268E399.6030304@struchtrup.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Lars Engels cc: current@freebsd.org Subject: Re: library problems with -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 17:34:35 -0000 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