From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22505 invoked by alias); 26 Apr 2012 22:07:15 -0000 Received: (qmail 22497 invoked by uid 22791); 26 Apr 2012 22:07:15 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from toast.topped-with-meat.com (HELO topped-with-meat.com) (204.197.218.159) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Apr 2012 22:06:56 +0000 Received: by topped-with-meat.com (Postfix, from userid 5281) id 0CC302C0D3; Thu, 26 Apr 2012 15:06:56 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: "Joseph S. Myers" Cc: Carlos O'Donell , Andrew Haley , libc-ports@sourceware.org, steve.mcintyre@linaro.org, michael.hope@linaro.org Subject: Re: [WIP] glibc: Use /lib/ld-linux-armhf.so.3 for ARM's -mfloat-abi=hard ABI. In-Reply-To: Joseph S. Myers's message of Thursday, 26 April 2012 22:03:18 +0000 References: <4F886201.3040200@redhat.com> <4F886277.6000006@redhat.com> <20120413173512.5D52B2C074@topped-with-meat.com> <4F9515D5.60804@redhat.com> <4F99B990.7020300@mentor.com> Message-Id: <20120426220656.0CC302C0D3@topped-with-meat.com> Date: Thu, 26 Apr 2012 22:07:00 -0000 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.0 cv=e8d9udV/ c=1 sm=1 a=3yAJPAFQTYYA:10 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=1jKV2hUbtDZRJkM75msA:9 a=CjuIK1q_8ugA:10 a=WkljmVdYkabdwxfqvArNOQ==:117 X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00174.txt.bz2 > This is far too complicated. GCC isn't detecting what dynamic linker > glibc has, after all. We should simply test if the compiler predefines > __ARM_PCS_VFP, which is easy to do in the ARM preconfigure. Then you don't even need to do any configure stuff. Just use %ifdef in shlib-versions. Thanks, Roland