From: Khem Raj <raj.khem@gmail.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>,
OpenEmbedded Devel List
<openembedded-devel@lists.openembedded.org>,
Yocto Discussion Mailing List <yocto@yoctoproject.org>
Subject: Re: [RFT] binutils 2.27
Date: Tue, 9 Aug 2016 07:42:10 -0700 [thread overview]
Message-ID: <DC67B803-475F-4992-8DFD-B8F5FA7B1D15@gmail.com> (raw)
In-Reply-To: <CAJTo0LY-MVSANSLRBzBGTL2ZJ=Ga=Xijps6jwAGosLK3aE4QLg@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1544 bytes --]
> On Aug 8, 2016, at 4:16 PM, Burton, Ross <ross.burton@intel.com> wrote:
>
>
> On 8 August 2016 at 16:59, Richard Purdie <richard.purdie@linuxfoundation.org <mailto:richard.purdie@linuxfoundation.org>> wrote:
> FWIW, I think the connmand segfault on mips and powerpc is hinted at
> with this bug:
>
> https://bugs.launchpad.net/ubuntu/+source/lua5.3/+bug/1570055 <https://bugs.launchpad.net/ubuntu/+source/lua5.3/+bug/1570055>
>
> connmand is a binary linked with a linker version-script. If I build
> connmand without that option, it doesn't segfault, at least on mips.
>
> The binutils manuals say you shouldn't build binaries with version
> scripts:
>
> http://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_node/ld_25.html <http://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_node/ld_25.html>
>
> Its suspected connman might do this to limit the function exposure to
> its plugins.
>
> Now sure exactly what needs to happen here without more research but it
> certainly hits at where the problem is. I suspect its the same issue on
> ppc.
>
> I've verified that with binutils 2.26 on x86-64, a minimal test case for an executable using a version script to limit exported symbols to dlopen()d modules does in fact work. A toolchain is building now to see what happens in different environments.
I could also see it on ppc. backtrace, shows the segfault is in exit path and happens in libc
at this point, I think the problem is how libc is compiled with binutils 2.27, connman itself
is ok.
>
> Ross
[-- Attachment #1.2: Type: text/html, Size: 2920 bytes --]
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
next prev parent reply other threads:[~2016-08-09 14:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-07 8:39 [RFT] binutils 2.27 Khem Raj
2016-08-08 6:28 ` Richard Purdie
2016-08-08 7:24 ` Khem Raj
2016-08-08 8:14 ` Richard Purdie
2016-08-08 8:50 ` Richard Purdie
2016-08-08 9:16 ` André Draszik
2016-08-08 15:21 ` Khem Raj
2016-08-08 15:59 ` Richard Purdie
2016-08-08 23:16 ` Burton, Ross
2016-08-09 14:42 ` Khem Raj [this message]
2016-08-09 15:24 ` Richard Purdie
2016-08-10 15:25 ` [oe] " Martin Jansa
2016-08-08 23:06 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DC67B803-475F-4992-8DFD-B8F5FA7B1D15@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=openembedded-devel@lists.openembedded.org \
--cc=ross.burton@intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox