]> code.ossystems Code Review - openembedded-core.git/commit
gcc-4.6: Backport fix for PR32219
authorKhem Raj <raj.khem@gmail.com>
Thu, 20 Oct 2011 19:18:14 +0000 (12:18 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:27:08 +0000 (16:27 +0000)
commit9a160921a16c9c37e07e4b5cb30e37348ecd205b
tree32f80dc05adf4cf75628d4f92165fd20918191d8
parenta115b657ed3df1c9b26b016151881a6c9c26ac2b
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)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-4.6.inc
meta/recipes-devtools/gcc/gcc-4.6/pr32219.patch [new file with mode: 0644]