gcc-common.inc: Consider multilib when renaming libgcc for debian'ness
PATCH 1/1 gcc-common.inc: Consider multilib when renaming libgcc for debian'ness
When doing multilib builds rpm does not find libgcc1 for lib32 multilib because its not honoring the debian renaming scheme for libgcc-multilib. Lets add MLPREFIX to fix it.
--- meta/recipes-devtools/gcc/gcc-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-common.inc +1 -1
@@ -40,7 +40,7 @@ def get_gcc_multiarch_setting(bb, d): # For now, libgcc is most important so we fix for that - RP. SHLIBSDIR = "${STAGING_DIR_TARGET}/shlibs" -DEBIANNAME_libgcc = "libgcc1" +DEBIANNAME_${MLPREFIX}libgcc = "libgcc1" MIRRORS =+ "\ ${GNU_MIRROR}/gcc ftp://gcc.gnu.org/pub/gcc/releases/ \n \
Signature · 1 line
1.7.9.5
Richard Purdie
AppliedQuoted 8 lines · Khem Raj
When doing multilib builds rpm does not find libgcc1 for lib32 multilib because its not honoring the debian renaming scheme for libgcc-multilib. Lets add MLPREFIX to fix it.
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/gcc/gcc-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Merged to master, thanks.
Richard
This should probably go in denzil as well.
-M
Quoted 19 lines · Richard Purdie
Quoted 8 lines · Khem Raj
When doing multilib builds rpm does not find libgcc1 for lib32 multilib because its not honoring the debian renaming scheme for libgcc-multilib. Lets add MLPREFIX to fix it.
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/gcc/gcc-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Merged to master, thanks.
Richard
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 1 line · On Tue, 2012-09-25 at 18:07 +0000, McClintock Matthew-B29882 wrote:
This should probably go in denzil as well.
Lets hold off that as I think we need to fix this in a better way at the core level...
Cheers,
Richard
Quoted 5 lines · Richard Purdie
Quoted 1 line · On Tue, 2012-09-25 at 18:07 +0000, McClintock Matthew-B29882 wrote:
This should probably go in denzil as well.
Lets hold off that as I think we need to fix this in a better way at the core level...
This? Where there follow up fixes also?
-M
commit 42e8c8056719326b68b1602e0699eba00a924d2b
Author: Richard Purdie <[email protected]> Date: Wed Sep 26 12:56:58 2012 +0100
packagedata/multilib: Fix search patch for multilib builds
The current multilib search path code for packagedata is flawed since it doesn't correctly handle changes in the TARGET_VENDOR/TARGET_OS that multilib may make. This patch enhances the code to correctly build the search paths so multilib packagedata is found correctly.
(From OE-Core rev: f50c5d36b2da9b36d56d95a7d89404509a1a3e9b)
Quoted 10 lines
Cheers,
Richard
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 14 lines · Khem Raj
When doing multilib builds rpm does not find libgcc1 for lib32 multilib because its not honoring the debian renaming scheme for libgcc-multilib. Lets add MLPREFIX to fix it.
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/gcc/gcc-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-devtools/gcc/gcc-common.inc +0
-0
meta/recipes-devtools/gcc/gcc-common.inc def get_gcc_multiarch_setting(bb, d): · line 43
Quoted 5 lines
meta/recipes-devtools/gcc/gcc-common.inc +1
-1@@ -40,7 +40,7 @@ def get_gcc_multiarch_setting(bb, d): # For now, libgcc is most important so we fix for that - RP. SHLIBSDIR = "${STAGING_DIR_TARGET}/shlibs" -DEBIANNAME_libgcc = "libgcc1" +DEBIANNAME_${MLPREFIX}libgcc = "libgcc1"
I realize this is a fairly rare case, but should the debian (or multilib) bbclasses be multilib aware, and if so automatically generate the corresponding DEBIANNAME_${MLPREFIX}pn = value?
This is already done for blacklists, preferred provider/version and whitelists in the base.bbclass. Then if anyone (in the future) specifies DEBIANNAME, it'll be automatic.
--Mark
Quoted 3 lines
meta/recipes-devtools/gcc/gcc-common.inc +0
-0MIRRORS =+ "\ ${GNU_MIRROR}/gcc ftp://gcc.gnu.org/pub/gcc/releases/ \n \
Quoted 25 lines · Mark Hatle
Quoted 14 lines · Khem Raj
When doing multilib builds rpm does not find libgcc1 for lib32 multilib because its not honoring the debian renaming scheme for libgcc-multilib. Lets add MLPREFIX to fix it.
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/gcc/gcc-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-devtools/gcc/gcc-common.inc +0
-0meta/recipes-devtools/gcc/gcc-common.inc def get_gcc_multiarch_setting(bb, d): · line 43
Quoted 5 lines
meta/recipes-devtools/gcc/gcc-common.inc +1
-1@@ -40,7 +40,7 @@ def get_gcc_multiarch_setting(bb, d): # For now, libgcc is most important so we fix for that - RP. SHLIBSDIR = "${STAGING_DIR_TARGET}/shlibs" -DEBIANNAME_libgcc = "libgcc1" +DEBIANNAME_${MLPREFIX}libgcc = "libgcc1"I realize this is a fairly rare case, but should the debian (or multilib) bbclasses be multilib aware, and if so automatically generate the corresponding DEBIANNAME_${MLPREFIX}pn = value?
Quoted 3 lines
This is already done for blacklists, preferred provider/version and whitelists in the base.bbclass. Then if anyone (in the future) specifies DEBIANNAME, it'll be automatic.
The multilib/package code does have a list of variables it processes for this, this one should probably be added to that list.
In fact debian.bbclass should append it to the list package.bbclass has...
Cheers,
Richard