mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
9af2b2f6fc
commit
d43437307d
@@ -1,6 +1,6 @@
|
||||
require gcc-common.inc
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
# Third digit in PV should be incremented after a minor release
|
||||
# happens from this branch on gcc e.g. currently its 4.6.0
|
||||
|
||||
@@ -17,6 +17,7 @@ FILES_${PN} = "\
|
||||
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \
|
||||
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \
|
||||
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
|
||||
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto*${SOLIBSDEV} \
|
||||
${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \
|
||||
${gcclibdir}/${TARGET_SYS}/${BINV}/specs \
|
||||
${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
|
||||
|
||||
Reference in New Issue
Block a user