This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [WIP] glibc: Use /lib/ld-linux-armhf.so.3 for ARM's-mfloat-abi=hard ABI.
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: libc-ports at sourceware dot org, libc-alpha at sourceware dot org
- Date: Mon, 7 May 2012 15:59:47 -0400
- Subject: Re: [WIP] glibc: Use /lib/ld-linux-armhf.so.3 for ARM's-mfloat-abi=hard ABI.
- References: <4F886201.3040200@redhat.com><4F886277.6000006@redhat.com><20120413173512.5D52B2C074@topped-with-meat.com><CADZpyiyr3d8VrBwp_WQyg1H_=w-8hyHw82Vck6U2kv49JtFxPg@mail.gmail.com><4F9515D5.60804@redhat.com><4F99B990.7020300@mentor.com><Pine.LNX.4.64.1204262155510.30855@digraph.polyomino.org.uk><20120426220656.0CC302C0D3@topped-with-meat.com><CADZpyiw=iR9DURWUwY81FS-miA+gFNQdsK7Fkgo_GJAPzJ11+g@mail.gmail.com><CADZpyiwSnQmxsYRMW0zu2uusoq2xf4mVhTjZHUNs+aTq3herPg@mail.gmail.com><20120507184705.4E8D12C080@topped-with-meat.com><CADZpyixMKDMAmchMPf2_+X5zB5=h2+c-ttA+93FZ9Ak=yGNVEQ@mail.gmail.com><20120507195444.B91012C099@topped-with-meat.com>
On Mon, May 7, 2012 at 3:54 PM, Roland McGrath <roland@hack.frob.com> wrote:
>> Using -ansi instead of -undef seems like a bad idea even if it would
>> fix the problem at hand.
>
> Please elaborate on your thinking here.
We have two possible solutions at hand:
* Use configure/config.h and the implicit rule as-is to solve the
problem using %ifdef HAVE_ARM_PCS_VFP in shlib-deps.
or
* Change the implicit rule to use -ansi and use %ifdef __ARM_PCS_VFP
in shlib-deps.
It's still not clear to me that -ansi is documented as doing what we
want, and therefore I would conservatively select the more easily
understood patch to configure/config.h as opposed to changing `-undef'
for `-ansi' which is a change that could have unforeseen
repercussions.
Cheers,
Carlos.