]> gcc.gnu.org Git - gcc.git/commit
'libgomp.c/target-43.c': '-latomic' for nvptx offloading
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 6 Sep 2021 13:23:03 +0000 (15:23 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Mon, 6 Sep 2021 13:23:25 +0000 (15:23 +0200)
commit4c086e7dabf99855e6a977228eddf48eb9441a4c
treebe5da101970ffcf0ec937d87a2cf4aba7226e805
parentfdaa3e69d26de7c62b7445be83f612834ee38d7c
'libgomp.c/target-43.c': '-latomic' for nvptx offloading

... to avoid a regression with recent
commit 090f0d78f194e3cda23fe904016db77ea36c38fa
"openmp: Improve expand_omp_atomic_pipeline":

    unresolved symbol __atomic_compare_exchange_1
    collect2: error: ld returned 1 exit status
    mkoffload: fatal error: [...]/gcc/x86_64-pc-linux-gnu-accel-nvptx-none-gcc returned 1 exit status

libgomp/
* testsuite/libgomp.c/target-43.c: '-latomic' for nvptx offloading.

(cherry picked from commit 086bb917d6efa32d9841c34a3b762f4278c762cd)
libgomp/ChangeLog.omp
libgomp/testsuite/libgomp.c/target-43.c
This page took 0.056021 seconds and 6 git commands to generate.