ld selective link test failure

Will Newton will.newton@gmail.com
Thu Jul 2 12:28:00 GMT 2009


On Thu, Jul 2, 2009 at 1:31 PM, Dave
Korn<dave.korn.cygwin@googlemail.com> wrote:
> Will Newton wrote:
>
>> CC in this case is gcc, but the arch-linux-uclibc-cc symlink to gcc,
>> so this check does not trigger and the C++ tests fail. Is there a
>> better way to test for gcc?
>
>  Does this testcase stand the slightest chance of succeeding on a non-GCC
> compiler?  Given the proliferation of gcc-specific command-line options in the
> test, and gcc-specific asms and attributes in the testcase code, I'd think the
> test of the name is superfluous and could just be dropped.

I think you're right, there's not much chance of that ever working on
non-gcc, and removing the check makes the test xfail appropriately for
me. I can submit a patch but I don't have a copyright assignment
because of my employer so it may be better for me not to.



More information about the Binutils mailing list