This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFA] Fix libstdc++ configure failure on cross-builds
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Paul Koning <paul_koning at dell dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>, Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>, Paolo Bonzini <bonzini at gnu dot org>
- Date: Fri, 03 Dec 2010 17:26:48 +0100
- Subject: Re: [RFA] Fix libstdc++ configure failure on cross-builds
- References: <ECD795A0-4612-4071-B834-7886FBABED7F@dell.com>
On 12/03/2010 05:19 PM, Paul Koning wrote:
> This patch fixes failures of libstdc++ to configure when cross-building to NetBSD target. The issue is that there are two places that do link tests, which are disallowed in cross builds. The libtool.m4 change supplies values for netbsd similar to what's already done for selected other targets. The patch to libstdc++-v3/acinclude.m4 lets configure rely on the ld version number to determine support for --gc-sections if a cross-build is being done, rather than doing a double-check.
>
> Ok to commit?
>
Please always diff vs current mainline first, don't diff vs releases.
Also, libstdc++ patches also go to the libstdc++ mailing list.
Paolo and Ralf, could you have a look? Thanks in advance.
Paolo.