From owner-freebsd-current@FreeBSD.ORG Tue Apr 26 12:13:10 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 560EA16A4CE for ; Tue, 26 Apr 2005 12:13:10 +0000 (GMT) Received: from pegasus.freiberg-net.de (pegasus.freibergnet.de [80.243.43.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71ABA43D46 for ; Tue, 26 Apr 2005 12:13:09 +0000 (GMT) (envelope-from holm@pegasus.freiberg-net.de) Received: from pegasus.freiberg-net.de (localhost.freiberg-net.de [127.0.0.1]) j3QCD81Q040750 for ; Tue, 26 Apr 2005 14:13:08 +0200 (CEST) (envelope-from holm@pegasus.freiberg-net.de) Received: (from holm@localhost) by pegasus.freiberg-net.de (8.13.3/8.13.1/Submit) id j3QCD7eY040749 for freebsd-current@freebsd.org; Tue, 26 Apr 2005 14:13:07 +0200 (CEST) (envelope-from holm) Date: Tue, 26 Apr 2005 14:13:07 +0200 From: Holm Tiffe To: freebsd-current@freebsd.org Message-ID: <20050426121252.GC18078@pegasus.freiberg-net.de> Mail-Followup-To: Holm Tiffe , freebsd-current@freebsd.org References: <20050420221903.GA738@bart.bsd-geek.de> <200504211606.j3LG6gbc007250@peedub.jennejohn.org> <20050426080203.GB1413@pegasus.freiberg-net.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050426080203.GB1413@pegasus.freiberg-net.de> User-Agent: Mutt/1.4.2.1i Organization: FreibergNet Internet Services Priority: normal X-Phone: +49-3731-419010 X-Fax: +49-3731-4196026 X-PGP-fingerprint: 86 EC A5 63 B5 28 78 13 8B FC E9 09 04 6E 86 FC Subject: Re: library problems with -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: holm@freibergnet.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 12:13:10 -0000 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