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.
5 This certainly appears to be a bug in binutils 2.27 although the problem has
6 been known about for some time:
8 https://sourceware.org/bugzilla/show_bug.cgi?id=17908
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.
13 Upstream-Status: Inappropriate
14 Signed-off-by: Ross Burton <ross.burton@intel.com>
16 diff --git a/Makefile.am b/Makefile.am
17 index d70725c..76ae432 100644
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