[RFA] Fix libstdc++ configure failure on cross-builds

Paolo Carlini paolo.carlini@oracle.com
Fri Dec 3 16:27:00 GMT 2010


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.



More information about the Gcc-patches mailing list