This is the mail archive of the gcc-cvs@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]

r226497 - in /branches/gomp-4_0-branch/libofflo...


Author: tschwinge
Date: Mon Aug  3 11:14:24 2015
New Revision: 226497

URL: https://gcc.gnu.org/viewcvs?rev=226497&root=gcc&view=rev
Log:
Fix intelmic libgomp plugin build

... which got broken in r226469:

    [...]/source-gcc/liboffloadmic/plugin/libgomp-plugin-intelmic.cpp: In function 'unsigned int GOMP_OFFLOAD_version()':
    [...]/source-gcc/liboffloadmic/plugin/libgomp-plugin-intelmic.cpp:336:10: error: 'GOMP_VERSION' was not declared in this scope
       return GOMP_VERSION;
              ^
    [...]/source-gcc/liboffloadmic/plugin/libgomp-plugin-intelmic.cpp: In function 'int GOMP_OFFLOAD_load_image(int, unsigned int, void*, addr_pair**)':
    [...]/source-gcc/liboffloadmic/plugin/libgomp-plugin-intelmic.cpp:345:32: error: 'GOMP_VERSION_DEV' was not declared in this scope
       if (GOMP_VERSION_DEV (version) > GOMP_VERSION_INTEL_MIC)
                                    ^
    [...]/source-gcc/liboffloadmic/plugin/libgomp-plugin-intelmic.cpp:345:36: error: 'GOMP_VERSION_INTEL_MIC' was not declared in this scope
       if (GOMP_VERSION_DEV (version) > GOMP_VERSION_INTEL_MIC)
                                        ^
    [...]/source-gcc/liboffloadmic/plugin/libgomp-plugin-intelmic.cpp: In function 'void GOMP_OFFLOAD_unload_image(int, unsigned int, const void*)':
    [...]/source-gcc/liboffloadmic/plugin/libgomp-plugin-intelmic.cpp:373:32: error: 'GOMP_VERSION_DEV' was not declared in this scope
       if (GOMP_VERSION_DEV (version) > GOMP_VERSION_INTEL_MIC)
                                    ^
    [...]/source-gcc/liboffloadmic/plugin/libgomp-plugin-intelmic.cpp:373:36: error: 'GOMP_VERSION_INTEL_MIC' was not declared in this scope
       if (GOMP_VERSION_DEV (version) > GOMP_VERSION_INTEL_MIC)
                                        ^
    make[6]: *** [libgomp_plugin_intelmic_la-libgomp-plugin-intelmic.lo] Error 1

	liboffloadmic/
	* plugin/Makefile.am (include_src_dir): Set.
	[PLUGIN_HOST] (libgomp_plugin_intelmic_la_CPPFLAGS): Use it.
	* plugin/Makefile.in: Regenerate.
	* plugin/libgomp-plugin-intelmic.cpp: Include "gomp-constants.h".

Modified:
    branches/gomp-4_0-branch/liboffloadmic/ChangeLog.gomp
    branches/gomp-4_0-branch/liboffloadmic/plugin/Makefile.am
    branches/gomp-4_0-branch/liboffloadmic/plugin/Makefile.in
    branches/gomp-4_0-branch/liboffloadmic/plugin/libgomp-plugin-intelmic.cpp


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