diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-10-20 12:18:14 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-30 16:38:04 +0000 |
commit | 52dc5edde36f7bd9a94277cc9390e273fc0df9b6 (patch) | |
tree | 6fdfed9e5e017b0ff00ffc00c21b0232032331c7 /meta/recipes-devtools/gcc/gcc-4.6.inc | |
parent | 9d086cd1519b95bff27ca1cda4555ffae92c5ce3 (diff) | |
download | poky-52dc5edde36f7bd9a94277cc9390e273fc0df9b6.tar.gz |
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
(From OE-Core rev: 3cb2b003db7371b3a47d02c08352a262e1e419b4)
(From OE-Core rev: 9a160921a16c9c37e07e4b5cb30e37348ecd205b)
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-4.6.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.inc | 3 |
1 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 18e3df3b7b..d4609404e7 100644 --- a/meta/recipes-devtools/gcc/gcc-4.6.inc +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | require gcc-common.inc | 1 | require gcc-common.inc |
2 | 2 | ||
3 | PR = "r15" | 3 | PR = "r16" |
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 |
@@ -69,6 +69,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \ | |||
69 | file://powerpc-e5500.patch \ | 69 | file://powerpc-e5500.patch \ |
70 | file://fix-for-ice-50099.patch \ | 70 | file://fix-for-ice-50099.patch \ |
71 | file://pr46934.patch \ | 71 | file://pr46934.patch \ |
72 | file://pr32219.patch \ | ||
72 | " | 73 | " |
73 | 74 | ||
74 | SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch " | 75 | SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch " |