Hi Matthew!

I happened to be testing this patch series on an "old" system, which has
'build-gcc/x86_64-pc-linux-gnu/libgomp/testsuite/libgomp-site-extra.exp':

    set libgomp_config_path {linux/x86 linux posix}

..., that is, libgomp built without 'linux/futex_waitv'.

However, for testing, I had:

On 2026-10-12T18:00:36+0100, <[email protected]> wrote:
> --- a/libgomp/testsuite/lib/libgomp.exp
> +++ b/libgomp/testsuite/lib/libgomp.exp

> +proc check_effective_target_linux_futex_waitv { } {
> +    global libgomp_config_path
> +    return [expr {
> +           [lsearch -exact $libgomp_config_path "linux/futex_waitv"] >= 0}]
> +}

... changed as follows:

     proc check_effective_target_linux_futex_waitv { } {
    +    return 1
    +    #TODO id:[email protected]

..., that is, effective-target 'linux_futex_waitv' claimed to be
supported, unconditionally.

I notice *all* test cases PASSing that are conditionalized to it (as in
'dg-do run { target linux_futex_waitv }') -- that is, PASSing despite
libgomp built without 'linux/futex_waitv'.  That doesn't sound like
what's expected?  Does it mean that these test cases aren't in fact
testing any specifics of 'linux/futex_waitv', but are generic?  In that
case, we wouldn't need the effective-target 'linux_futex_waitv'
conditional at all?


Grüße
 Thomas

Reply via email to