From owner-freebsd-current@FreeBSD.ORG Fri Apr 22 11:46:50 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 5784816A4CE for ; Fri, 22 Apr 2005 11:46:50 +0000 (GMT) Received: from mail.struchtrup.de (mail.struchtrup.com [80.190.247.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D09243D31 for ; Fri, 22 Apr 2005 11:46:47 +0000 (GMT) (envelope-from seb@struchtrup.com) Received: from ruhrpott.academia3.sun.ac.za ([146.232.142.26]) by mail.struchtrup.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.44 (FreeBSD)) id 1DOwaI-0001pf-R8; Fri, 22 Apr 2005 11:44:35 +0000 Message-ID: <4268E399.6030304@struchtrup.com> Date: Fri, 22 Apr 2005 13:44:25 +0200 From: Sebastian Schulze Struchtrup User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gary Jennejohn References: <200504211606.j3LG6gbc007250@peedub.jennejohn.org> In-Reply-To: <200504211606.j3LG6gbc007250@peedub.jennejohn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Struchtrup-MailScanner: Found to be clean X-Struchtrup-MailScanner-SpamCheck: notspam (whitelisted), spamassassin (satimedout) X-MailScanner-From: seb@struchtrup.com 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 11:46:50 -0000 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?