]> 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, 24 Oct 2011 13:28:19 +0000 (14:28 +0100)
commit3cb2b003db7371b3a47d02c08352a262e1e419b4
tree4127d5b37f14f3e8ca4c1ad8e4751fbd84871a3c
parent966f28c29a149dca3035e2c37ccf54ed82713bdf
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 <raj.khem@gmail.com>
meta/recipes-devtools/gcc/gcc-4.6.inc
meta/recipes-devtools/gcc/gcc-4.6/pr32219.patch [new file with mode: 0644]