summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-07-22 08:57:48 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-25 12:54:34 +0100
commitd43437307d85c7f0596df6f871a402b948c37223 (patch)
treec365f6b1dbf8068d184929aaad3c41408b1be485
parent9af2b2f6fc56650de8f573b5dc3fd7a6268d47d0 (diff)
downloadpoky-d43437307d85c7f0596df6f871a402b948c37223.tar.gz
gcc-4.6: Fix packaging of native toolchains
The base gcc package is missing liblto_plugin.so. If we try a simple hello world compile we get something like: root@p5020-ds:~# gcc hello.c gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found compilation terminated. We need to include liblto_plugin.so in the base gcc package and not gcc-dev. (From OE-Core rev: 282326a188467edf6caef21b07a7e51288674245) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-target.inc1
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
index a636d32239..6956677357 100644
--- a/meta/recipes-devtools/gcc/gcc-4.6.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
@@ -1,6 +1,6 @@
1require gcc-common.inc 1require gcc-common.inc
2 2
3PR = "r1" 3PR = "r2"
4 4
5# Third digit in PV should be incremented after a minor release 5# Third digit in PV should be incremented after a minor release
6# happens from this branch on gcc e.g. currently its 4.6.0 6# happens from this branch on gcc e.g. currently its 4.6.0
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
index e6105da0e6..a0e5da4603 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -17,6 +17,7 @@ FILES_${PN} = "\
17 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \ 17 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \
18 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \ 18 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \
19 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \ 19 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
20 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto*${SOLIBSDEV} \
20 ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \ 21 ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \
21 ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \ 22 ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \
22 ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \ 23 ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \