recipes-connectivity: connman: upgrade to 1.36
[AGL/meta-agl.git] / meta-agl-profile-core / recipes-connectivity / connman / connman / no-version-scripts.patch
1 With binutils 2.27 on at least MIPS, connmand will crash on startup.  This
2 appears to be due to the symbol visibilty scripts hiding symbols that stdio
3 looks up at runtime, resulting in it segfaulting.
4
5 This certainly appears to be a bug in binutils 2.27 although the problem has
6 been known about for some time:
7
8 https://sourceware.org/bugzilla/show_bug.cgi?id=17908
9
10 As the version scripts are only used to hide symbols from plugins we can safely
11 remove the scripts to work around the problem until binutils is fixed.
12
13 Upstream-Status: Inappropriate
14 Signed-off-by: Ross Burton <ross.burton@intel.com>
15
16 diff --git a/Makefile.am b/Makefile.am
17 index d70725c..76ae432 100644
18 --- a/Makefile.am
19 +++ b/Makefile.am
20 @@ -132,2 +132 @@ src_connmand_LDADD = gdbus/libgdbus-internal.la $(builtin_libadd) \
21 -src_connmand_LDFLAGS = -Wl,--export-dynamic \
22 -                               -Wl,--version-script=$(srcdir)/src/connman.ver
23 +src_connmand_LDFLAGS = -Wl,--export-dynamic
24 @@ -166,2 +165 @@ vpn_connman_vpnd_LDADD = gdbus/libgdbus-internal.la $(builtin_vpn_libadd) \
25 -vpn_connman_vpnd_LDFLAGS = -Wl,--export-dynamic \
26 -                               -Wl,--version-script=$(srcdir)/vpn/vpn.ver
27 +vpn_connman_vpnd_LDFLAGS = -Wl,--export-dynamic