https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125951

            Bug ID: 125951
           Summary: libgomp.c/omp-get-device-distances.c FAILs
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: burnus at gcc dot gnu.org, jakub at gcc dot gnu.org
  Target Milestone: ---
            Target: *-*-solaris2.11

The new libgomp.c/omp-get-device-distances.c test FAILs on Solaris:

FAIL: libgomp.c/omp-get-device-distances.c execution test

Thread 2 received signal SIGABRT, Aborted.
[Switching to Thread 1 (LWP 1)]
0xfdffb045 in __lwp_sigqueue () from /lib/libc.so.1
(gdb) bt
#0  0xfdffb045 in __lwp_sigqueue () from /lib/libc.so.1
#1  0xfdff2d4f in thr_kill () from /lib/libc.so.1
#2  0xfdf24b42 in raise () from /lib/libc.so.1
#3  0xfdef1512 in abort () from /lib/libc.so.1
#4  0x08050e88 in main ()
    at
/vol/gcc/src/hg/master/local/libgomp/testsuite/libgomp.c/omp-get-device-distances.c:29
29          __builtin_abort ();
(gdb) p dev
$1 = -5
(gdb) p dist
$2 = -1

I suspect this will only work on Linux where gomp_get_current_numa_node is
actually implemented.

Reply via email to