Hi Graham,

> I'm using OpenEmbedded to build an OS for an embedded mipsel device.
> I've built connmand for mipsel with a recent toolchain (gcc-4.4.1,
> binutils 2.19.51.0.14).
> 
> When run, the connmand binary segfaults before main(). After playing a
> while I found that it runs fine with the following change:
> sed -i -e 's/-Wl,--version-script=connman.ver//' src/Makefile.am
> 
> Can anyone explain why that linker option is used? Is it necessary?

that linker option is needed to restrict export of symbols. Can you try
again with the latest ConnMan git version. The new build system might
have fixed this since we include less weird libraries now.

Also maybe compiling with --enable-*=builtin might help to avoid this on
mipsel. Otherwise I am out of ideas and it could be a real binutils
issue.

Regards

Marcel


_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to