gcc/liboffloadmic/runtime
Thomas Schwinge 890b87d174 Repair liboffloadmic after "(Partial) OpenMP 5.0 support for GCC 9"
..., which now failed to build, as follows:

    In file included from [...]/source-gcc/liboffloadmic/runtime/offload_common.h:43,
                     from [...]/source-gcc/liboffloadmic/runtime/dv_util.cpp:31:
    [...]/source-gcc/liboffloadmic/runtime/offload.h:220:12: error: conflicting declaration of C function 'int omp_target_is_present(void*, int)'
      220 | extern int omp_target_is_present(
          |            ^~~~~~~~~~~~~~~~~~~~~
    In file included from [...]/source-gcc/liboffloadmic/runtime/offload.h:45,
                     from [...]/source-gcc/liboffloadmic/runtime/offload_common.h:43,
                     from [...]/source-gcc/liboffloadmic/runtime/dv_util.cpp:31:
    ./../libgomp/omp.h:166:12: note: previous declaration 'int omp_target_is_present(const void*, int)'
      166 | extern int omp_target_is_present (const void *, int) __GOMP_NOTHROW;
          |            ^~~~~~~~~~~~~~~~~~~~~
    In file included from [...]/source-gcc/liboffloadmic/runtime/offload_common.h:43,
                     from [...]/source-gcc/liboffloadmic/runtime/dv_util.cpp:31:
    [...]/source-gcc/liboffloadmic/runtime/offload.h:236:12: error: conflicting declaration of C function 'int omp_target_memcpy(void*, void*, size_t, size_t, size_t, int, int)'
      236 | extern int omp_target_memcpy(
          |            ^~~~~~~~~~~~~~~~~
    In file included from [...]/source-gcc/liboffloadmic/runtime/offload.h:45,
                     from [...]/source-gcc/liboffloadmic/runtime/offload_common.h:43,
                     from [...]/source-gcc/liboffloadmic/runtime/dv_util.cpp:31:
    ./../libgomp/omp.h:167:12: note: previous declaration 'int omp_target_memcpy(void*, const void*, long unsigned int, long unsigned int, long unsigned int, int, int)'
      167 | extern int omp_target_memcpy (void *, const void *, __SIZE_TYPE__,
          |            ^~~~~~~~~~~~~~~~~
    In file included from [...]/source-gcc/liboffloadmic/runtime/offload_common.h:43,
                     from [...]/source-gcc/liboffloadmic/runtime/dv_util.cpp:31:
    [...]/source-gcc/liboffloadmic/runtime/offload.h:262:12: error: conflicting declaration of C function 'int omp_target_memcpy_rect(void*, void*, size_t, int, const size_t*, const size_t*, const size_t*, const size_t*, const size_t*, int, int)'
      262 | extern int omp_target_memcpy_rect(
          |            ^~~~~~~~~~~~~~~~~~~~~~
    In file included from [...]/source-gcc/liboffloadmic/runtime/offload.h:45,
                     from [...]/source-gcc/liboffloadmic/runtime/offload_common.h:43,
                     from [...]/source-gcc/liboffloadmic/runtime/dv_util.cpp:31:
    ./../libgomp/omp.h:170:12: note: previous declaration 'int omp_target_memcpy_rect(void*, const void*, long unsigned int, int, const long unsigned int*, const long unsigned int*, const long unsigned int*, const long unsigned int*, const long unsigned int*, int, int)'
      170 | extern int omp_target_memcpy_rect (void *, const void *, __SIZE_TYPE__, int,
          |            ^~~~~~~~~~~~~~~~~~~~~~
    In file included from [...]/source-gcc/liboffloadmic/runtime/offload_common.h:43,
                     from [...]/source-gcc/liboffloadmic/runtime/dv_util.cpp:31:
    [...]/source-gcc/liboffloadmic/runtime/offload.h:285:12: error: conflicting declaration of C function 'int omp_target_associate_ptr(void*, void*, size_t, size_t, int)'
      285 | extern int omp_target_associate_ptr(
          |            ^~~~~~~~~~~~~~~~~~~~~~~~
    In file included from [...]/source-gcc/liboffloadmic/runtime/offload.h:45,
                     from [...]/source-gcc/liboffloadmic/runtime/offload_common.h:43,
                     from [...]/source-gcc/liboffloadmic/runtime/dv_util.cpp:31:
    ./../libgomp/omp.h:177:12: note: previous declaration 'int omp_target_associate_ptr(const void*, const void*, long unsigned int, long unsigned int, int)'
      177 | extern int omp_target_associate_ptr (const void *, const void *, __SIZE_TYPE__,
          |            ^~~~~~~~~~~~~~~~~~~~~~~~
    In file included from [...]/source-gcc/liboffloadmic/runtime/offload_common.h:43,
                     from [...]/source-gcc/liboffloadmic/runtime/dv_util.cpp:31:
    [...]/source-gcc/liboffloadmic/runtime/offload.h:299:12: error: conflicting declaration of C function 'int omp_target_disassociate_ptr(void*, int)'
      299 | extern int omp_target_disassociate_ptr(
          |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from [...]/source-gcc/liboffloadmic/runtime/offload.h:45,
                     from [...]/source-gcc/liboffloadmic/runtime/offload_common.h:43,
                     from [...]/source-gcc/liboffloadmic/runtime/dv_util.cpp:31:
    ./../libgomp/omp.h:179:12: note: previous declaration 'int omp_target_disassociate_ptr(const void*, int)'
      179 | extern int omp_target_disassociate_ptr (const void *, int) __GOMP_NOTHROW;
          |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    Makefile:904: recipe for target 'liboffloadmic_target_la-dv_util.lo' failed
    make[3]: *** [liboffloadmic_target_la-dv_util.lo] Error 1
    make[3]: Leaving directory '[...]/build-gcc-offload-x86_64-intelmicemul-linux-gnu/x86_64-intelmicemul-linux-gnu/liboffloadmic'
    Makefile:1031: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '[...]/build-gcc-offload-x86_64-intelmicemul-linux-gnu/x86_64-intelmicemul-linux-gnu/liboffloadmic'
    Makefile:12707: recipe for target 'all-target-liboffloadmic' failed
    make[1]: *** [all-target-liboffloadmic] Error 2
    make[1]: Leaving directory '[...]/build-gcc-offload-x86_64-intelmicemul-linux-gnu'
    Makefile:941: recipe for target 'all' failed
    make: *** [all] Error 2

	liboffloadmic/
	* runtime/offload.h (omp_target_is_present, omp_target_memcpy)
	(omp_target_memcpy_rect, omp_target_associate_ptr)
	(omp_target_disassociate_ptr): Adjust to libgomp changes.

From-SVN: r267145
2018-12-14 21:41:46 +01:00
..
coi backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
emulator backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
orsl-lite backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
cean_util.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
cean_util.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
compiler_if_host.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
compiler_if_host.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
compiler_if_target.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
compiler_if_target.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
dv_util.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
dv_util.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
liboffload_error_codes.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
liboffload_error.c backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
liboffload_msg.c backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
liboffload_msg.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
mic_lib.f90 backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_common.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_common.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_engine.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_engine.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_env.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_env.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_host.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_host.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_iterator.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_omp_host.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_omp_target.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_orsl.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_orsl.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_table.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_table.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_target_main.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_target.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_target.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_timer_host.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_timer_target.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_timer.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_trace.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_trace.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_util.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload_util.h backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
offload.h Repair liboffloadmic after "(Partial) OpenMP 5.0 support for GCC 9" 2018-12-14 21:41:46 +01:00
ofldbegin.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00
ofldend.cpp backport: Makefile.am (myo_inc_dir): Remove. 2016-07-21 18:41:27 +00:00