From 3cb2b003db7371b3a47d02c08352a262e1e419b4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 20 Oct 2011 12:18:14 -0700 Subject: gcc-4.6: Backport fix for PR32219 This fix is needed for gold to work. Otherwise connman fails to build since it used hidden weak symbols. See http://gcc.gnu.org/bugzilla/PR32219 http://www.cygwin.com/ml/binutils/2008-02/msg00239.html The fix proposed to gcc had reviews which were not addressed hence the patch is not yet applied to gcc upstream. connman can also have workaround by changing the visibility of these symbols to be default __attribute__ ((weak, visibility("hidden"))) to __attribute__ ((weak, visibility("default"))) in include/plugin.h Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-4.6.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/gcc/gcc-4.6.inc') diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc index fbc90eaea..469457c41 100644 --- a/meta/recipes-devtools/gcc/gcc-4.6.inc +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc @@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r15" +PR = "r16" # Third digit in PV should be incremented after a minor release # happens from this branch on gcc e.g. currently its 4.6.0 @@ -70,6 +70,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \ file://fix-for-ice-50099.patch \ file://gcc-with-linker-hash-style.patch \ file://pr46934.patch \ + file://pr32219.patch \ " SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch " -- cgit v1.2.3