Re: [RFA] kfail longjmp.exp tests due to bug 9270

Doug Evans
2010-03-19T03:29:24Z

On Thu, Mar 18, 2010 at 5:58 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Thu, 18 Mar 2010, Doug Evans wrote:
>
>> +setup_kfail "gdb/9270" "x86_64-*-linux*"
>
> What will happen for i686-*-linux* --enable-64-bit-bfd (running tests with
> -m64)?  What about x86_64 running tests with -m32?  Both i?86-* and
> x86_64-* can cover both 32-bit and 64-bit configurations.
>
> What you want is (IA32 or x86_64 GNU/Linux) and (64-bit multilib), I
> think.  In GCC such tests would use the lp64 effective-target, but I don't
> know what the GDB equivalent is.

I run 64x32 tests regularly here.
The way I do it is to hack site.exp to set host_triplet, etc. to i686-linux.
Done this way, nothing further is needed, in so far as handling
{32,64}-cross-{64,x32}.

[I'm leaving as a separate discussion whether we need to xfail these
for i686-linux too. It passes here, but I gather it fails with more
recent glibc's]