diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-05-06 00:04:55 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-09 22:26:44 +0100 |
commit | 9ba0bf8b6af6626bd3b6d1558959a83b5c14d501 (patch) | |
tree | 246997127b81791bed0a639feea1f5acea13c9fe /meta/recipes-devtools/gcc/gcc-5.1/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch | |
parent | a28371be8bbdf29eb2f9c4fc68ff26d9d24631ac (diff) | |
download | openembedded-core-contrib-9ba0bf8b6af6626bd3b6d1558959a83b5c14d501.tar.gz |
gcc: Add 5 recipes
Drop backports obviously
additionally drop local patches around
parallel compilation since it got reworked upstream
To select set
GCCVERSION = "5.1%"
SDKGCCVERSION = "5.1%"
in local.conf
Change-Id: Icdfa61017a617244128f361b022e7c8f1f9e0610
(From OE-Core rev: 4bc4acc67e5d7b3f27afadeda5710f9ba5f627d2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-5.1/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.1/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch b/meta/recipes-devtools/gcc/gcc-5.1/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch new file mode 100644 index 0000000000..b75f385f40 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-5.1/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch @@ -0,0 +1,83 @@ +From 3a09545f3d18ce492ef55639215a072282de03d0 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Sun, 8 Mar 2015 03:41:39 +0000 +Subject: [PATCH 35/35] Dont link the plugins with libgomp explicitly + +They are dlopened by libgomp anyway. This fixes +the libtool relink issue which causes issues during +cross compilation + +libtool: install: /usr/bin/install -c .libs/libgomp.lai +/home/ubuntu/work/bleeding/build-qemux86-64mc/tmp/work/core2-64-rdk-linux/gcc-runtime/5.0-r0/image/usr/lib/../lib/libgomp.la +libtool: install: error: cannot install `libgomp-plugin-host_nonshm.la' +to a directory not ending in /usr/lib +Makefile:517: recipe for target 'install-toolexeclibLTLIBRARIES' failed +make[2]: *** [install-toolexeclibLTLIBRARIES] Error 1 + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + libgomp/Makefile.in | 7 +++---- + libgomp/plugin/Makefrag.am | 3 +-- + 2 files changed, 4 insertions(+), 6 deletions(-) + +diff --git a/libgomp/Makefile.in b/libgomp/Makefile.in +index b61b108..71b2627 100644 +--- a/libgomp/Makefile.in ++++ b/libgomp/Makefile.in +@@ -123,7 +123,7 @@ am__installdirs = "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(infodir)" \ + "$(DESTDIR)$(fincludedir)" "$(DESTDIR)$(libsubincludedir)" \ + "$(DESTDIR)$(toolexeclibdir)" + LTLIBRARIES = $(toolexeclib_LTLIBRARIES) +-libgomp_plugin_host_nonshm_la_DEPENDENCIES = libgomp.la ++libgomp_plugin_host_nonshm_la_LIBADD = + am_libgomp_plugin_host_nonshm_la_OBJECTS = \ + libgomp_plugin_host_nonshm_la-plugin-host.lo + libgomp_plugin_host_nonshm_la_OBJECTS = \ +@@ -133,7 +133,7 @@ libgomp_plugin_host_nonshm_la_LINK = $(LIBTOOL) --tag=CC \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(libgomp_plugin_host_nonshm_la_LDFLAGS) $(LDFLAGS) -o $@ + am__DEPENDENCIES_1 = +-@PLUGIN_NVPTX_TRUE@libgomp_plugin_nvptx_la_DEPENDENCIES = libgomp.la \ ++@PLUGIN_NVPTX_TRUE@libgomp_plugin_nvptx_la_DEPENDENCIES = \ + @PLUGIN_NVPTX_TRUE@ $(am__DEPENDENCIES_1) + @PLUGIN_NVPTX_TRUE@am_libgomp_plugin_nvptx_la_OBJECTS = \ + @PLUGIN_NVPTX_TRUE@ libgomp_plugin_nvptx_la-plugin-nvptx.lo +@@ -407,7 +407,7 @@ libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.c \ + @PLUGIN_NVPTX_TRUE@libgomp_plugin_nvptx_la_LDFLAGS = \ + @PLUGIN_NVPTX_TRUE@ $(libgomp_plugin_nvptx_version_info) \ + @PLUGIN_NVPTX_TRUE@ $(lt_host_flags) $(PLUGIN_NVPTX_LDFLAGS) +-@PLUGIN_NVPTX_TRUE@libgomp_plugin_nvptx_la_LIBADD = libgomp.la $(PLUGIN_NVPTX_LIBS) ++@PLUGIN_NVPTX_TRUE@libgomp_plugin_nvptx_la_LIBADD = $(PLUGIN_NVPTX_LIBS) + @PLUGIN_NVPTX_TRUE@libgomp_plugin_nvptx_la_LIBTOOLFLAGS = --tag=disable-static + libgomp_plugin_host_nonshm_version_info = -version-info $(libtool_VERSION) + libgomp_plugin_host_nonshm_la_SOURCES = plugin/plugin-host.c +@@ -415,7 +415,6 @@ libgomp_plugin_host_nonshm_la_CPPFLAGS = $(AM_CPPFLAGS) -DHOST_NONSHM_PLUGIN + libgomp_plugin_host_nonshm_la_LDFLAGS = \ + $(libgomp_plugin_host_nonshm_version_info) $(lt_host_flags) + +-libgomp_plugin_host_nonshm_la_LIBADD = libgomp.la + libgomp_plugin_host_nonshm_la_LIBTOOLFLAGS = --tag=disable-static + nodist_noinst_HEADERS = libgomp_f.h + nodist_libsubinclude_HEADERS = omp.h openacc.h +diff --git a/libgomp/plugin/Makefrag.am b/libgomp/plugin/Makefrag.am +index 167485f..d2c5428 100644 +--- a/libgomp/plugin/Makefrag.am ++++ b/libgomp/plugin/Makefrag.am +@@ -35,7 +35,7 @@ libgomp_plugin_nvptx_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_NVPTX_CPPFLAGS) + libgomp_plugin_nvptx_la_LDFLAGS = $(libgomp_plugin_nvptx_version_info) \ + $(lt_host_flags) + libgomp_plugin_nvptx_la_LDFLAGS += $(PLUGIN_NVPTX_LDFLAGS) +-libgomp_plugin_nvptx_la_LIBADD = libgomp.la $(PLUGIN_NVPTX_LIBS) ++libgomp_plugin_nvptx_la_LIBADD = $(PLUGIN_NVPTX_LIBS) + libgomp_plugin_nvptx_la_LIBTOOLFLAGS = --tag=disable-static + endif + +@@ -45,5 +45,4 @@ libgomp_plugin_host_nonshm_la_SOURCES = plugin/plugin-host.c + libgomp_plugin_host_nonshm_la_CPPFLAGS = $(AM_CPPFLAGS) -DHOST_NONSHM_PLUGIN + libgomp_plugin_host_nonshm_la_LDFLAGS = \ + $(libgomp_plugin_host_nonshm_version_info) $(lt_host_flags) +-libgomp_plugin_host_nonshm_la_LIBADD = libgomp.la + libgomp_plugin_host_nonshm_la_LIBTOOLFLAGS = --tag=disable-static +-- +2.1.4 + |