From owner-freebsd-arm@FreeBSD.ORG Thu Jun 14 03:27:45 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7113A1065680; Thu, 14 Jun 2012 03:27:45 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 4601A8FC0A; Thu, 14 Jun 2012 03:27:45 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q5E3RdWY066371; Thu, 14 Jun 2012 03:27:39 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id vurf9cxnrzb3n3hyisw7cyyrgi; Thu, 14 Jun 2012 03:27:39 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <20120612202640.GO2337@deviant.kiev.zoral.com.ua> Date: Wed, 13 Jun 2012 20:27:37 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4FCE211D.10204@semihalf.com> <0FE5C5BF-FADE-49BA-BF38-00018A752F14@kientzle.com> <4FD6FB72.10900@semihalf.com> <20120612084917.GL2337@deviant.kiev.zoral.com.ua> <4FD7669C.8030802@semihalf.com> <20120612202640.GO2337@deviant.kiev.zoral.com.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.1278) Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: Possible fix for Perl failing with ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds" on ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2012 03:27:45 -0000 On Jun 12, 2012, at 1:26 PM, Konstantin Belousov wrote: > On Tue, Jun 12, 2012 at 05:56:12PM +0200, Jan Sieka wrote: >> Both versions work indeed. I have analysed other architectures'=20 >> lib/libc//Symbol.map files and __flt_rounds should go into = FBSD_ and=20 >> *not* into FBSDprivate section. I have verified that at least one of = the=20 >> Perl's libraries (POSIX.so) links to __flt_rounds. Python also links = to=20 >> this function. So to the best of my knowledge current patch is the=20 >> righteous one. >=20 > Let me restate my point again. It does not matter whether some = application > uses the symbol. It does matter whether the symbol is considered the = part > of exported stable ABI, intended for use by applications. If it is, = then > FBSD_1.X is the right namespace, otherwise symbol should be moved to > private and existing usage fixed. That particular symbol is in FBSD_1.0 for amd64, i386, ia64, powerpc, = powerpc64, sparc64. It's in FBSDPrivate_1.0 for arm. It's not defined for mips at all. The latter two seem to be bugs; I just committed r237039 to fix arm. I haven't checked the situation on mips. Tim