This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/69607] undefined reference to MAIN__._omp_fn.0 in atomic_capture-1.f with -flto


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

vries at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |openmp
                 CC|                            |iverbin at gcc dot gnu.org

--- Comment #6 from vries at gcc dot gnu.org ---
Using this in c.exp:
...
lappend ALWAYS_CFLAGS "additional_flags=-fopenmp -flto -flto-partition=1to1
-fno-use-linker-plugin -fno-toplevel-reorder"
...

I get:
...
FAIL: libgomp.c/examples-4/array_sections-3.c (test for excess errors)
FAIL: libgomp.c/examples-4/array_sections-4.c (test for excess errors)
FAIL: libgomp.c/examples-4/async_target-1.c (test for excess errors)
FAIL: libgomp.c/examples-4/declare_target-1.c (test for excess errors)
FAIL: libgomp.c/examples-4/declare_target-3.c (test for excess errors)
FAIL: libgomp.c/examples-4/declare_target-4.c (test for excess errors)
FAIL: libgomp.c/examples-4/declare_target-5.c (test for excess errors)
FAIL: libgomp.c/examples-4/target-1.c (test for excess errors)
FAIL: libgomp.c/examples-4/target-2.c (test for excess errors)
FAIL: libgomp.c/examples-4/target-3.c (test for excess errors)
FAIL: libgomp.c/examples-4/target-4.c (test for excess errors)
FAIL: libgomp.c/examples-4/target_data-1.c (test for excess errors)
FAIL: libgomp.c/examples-4/target_data-2.c (test for excess errors)
FAIL: libgomp.c/examples-4/target_data-3.c (test for excess errors)
FAIL: libgomp.c/examples-4/target_data-4.c (test for excess errors)
FAIL: libgomp.c/examples-4/target_update-1.c (test for excess errors)
FAIL: libgomp.c/examples-4/target_update-2.c (test for excess errors)
FAIL: libgomp.c/examples-4/teams-2.c (test for excess errors)
FAIL: libgomp.c/examples-4/teams-3.c (test for excess errors)
FAIL: libgomp.c/examples-4/teams-4.c (test for excess errors)
FAIL: libgomp.c/examples-4/teams-5.c (test for excess errors)
FAIL: libgomp.c/examples-4/teams-6.c (test for excess errors)
FAIL: libgomp.c/for-3.c (test for excess errors)
FAIL: libgomp.c/for-5.c (test for excess errors)
FAIL: libgomp.c/for-6.c (test for excess errors)
FAIL: libgomp.c/pr64734.c (test for excess errors)
FAIL: libgomp.c/pr66199-2.c (test for excess errors)
FAIL: libgomp.c/pr66199-4.c (test for excess errors)
FAIL: libgomp.c/pr66199-5.c (test for excess errors)
FAIL: libgomp.c/pr66199-6.c (test for excess errors)
FAIL: libgomp.c/pr66199-7.c (test for excess errors)
FAIL: libgomp.c/pr66199-8.c (test for excess errors)
FAIL: libgomp.c/pr66199-9.c (test for excess errors)
FAIL: libgomp.c/target-1-foffload_disable.c (test for excess errors)
FAIL: libgomp.c/target-1.c (test for excess errors)
FAIL: libgomp.c/target-12.c (test for excess errors)
FAIL: libgomp.c/target-13.c (test for excess errors)
FAIL: libgomp.c/target-14.c (test for excess errors)
FAIL: libgomp.c/target-15.c (test for excess errors)
FAIL: libgomp.c/target-16.c (test for excess errors)
FAIL: libgomp.c/target-17.c (test for excess errors)
FAIL: libgomp.c/target-18.c (test for excess errors)
FAIL: libgomp.c/target-19.c (test for excess errors)
FAIL: libgomp.c/target-2.c (test for excess errors)
FAIL: libgomp.c/target-21.c (test for excess errors)
FAIL: libgomp.c/target-22.c (test for excess errors)
FAIL: libgomp.c/target-23.c (test for excess errors)
FAIL: libgomp.c/target-24.c (test for excess errors)
FAIL: libgomp.c/target-25.c (test for excess errors)
FAIL: libgomp.c/target-26.c (test for excess errors)
FAIL: libgomp.c/target-27.c (test for excess errors)
FAIL: libgomp.c/target-28.c (test for excess errors)
FAIL: libgomp.c/target-29.c (test for excess errors)
FAIL: libgomp.c/target-3.c (test for excess errors)
FAIL: libgomp.c/target-30.c (test for excess errors)
FAIL: libgomp.c/target-31.c (test for excess errors)
FAIL: libgomp.c/target-32.c (test for excess errors)
FAIL: libgomp.c/target-33.c (test for excess errors)
FAIL: libgomp.c/target-34.c (test for excess errors)
FAIL: libgomp.c/target-35.c (test for excess errors)
FAIL: libgomp.c/target-4.c (test for excess errors)
FAIL: libgomp.c/target-5.c (test for excess errors)
FAIL: libgomp.c/target-6.c (test for excess errors)
FAIL: libgomp.c/target-7.c (test for excess errors)
FAIL: libgomp.c/target-8.c (test for excess errors)
FAIL: libgomp.c/target-9.c (test for excess errors)
FAIL: libgomp.c/target-critical-1.c (test for excess errors)
FAIL: libgomp.c/target-foffload_disable.c (test for excess errors)
FAIL: libgomp.c/target-link-1.c (test for excess errors)
FAIL: libgomp.c/target-teams-1.c (test for excess errors)
FAIL: libgomp.c/thread-limit-2.c (test for excess errors)
FAIL: libgomp.c/thread-limit-3.c (test for excess errors)
...

Adding keyword openmp.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]