Rainer Orth <[email protected]> writes:
> Richard Guenther <[email protected]> writes:
>
>> I think we should do the linker version checks which relate to linker-plugin
>> use on the plugin-linker instead. So if I specify a separate but known
>> buggy linker I don't want it to be used by default.
>
> Here's a patch that does this. I'm not at all happy with the patch
> since it partially duplicates the logic to determine linker version
> numbers. While this could (and probably should) be generalized along
> the lines of gcc_GAS_CHECK_FEATURE and gcc_GAS_VERSION_GTE_IFELSE, even
> that wouldn't help immediately since such autoconf macros would still
> $gcc_cv_ld. As far as I can see, all those linker checks could
> massively benefit from an overhaul to use gcc_LD_CHECK_FEATURE
> etc.macros, but that's not something I want to attack. It's especially
> messy that there are two sets of version variables for in-tree and
> external linkers. Probably fodder for the build maintainers.
This patch has remained unreviewed for a week now:
http://gcc.gnu.org/ml/gcc-patches/2011-04/msg00226.html
Any takers?
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University