On 01 Sep 2016, at 20:37, Bernard Spil <[email protected]> wrote:
> 
> On 2016-09-01 11:07, Dimitry Andric wrote:
> > On 31 Aug 2016, at 19:03, Doug Barton <[email protected]> wrote:
...
> > Bisecting showed this was introduced in binutils commit 26e3a0c [1],
> > which turns on .init_array/.fini_array support by default.  It makes
> > most C++ executables crash at startup, on 9.x, since support for this
> > was not fully merged back to stable/9.
> >
> > I think Baptiste is working on a fix.  It is probably best to configure
> > binutils on 9.x with --disable-initfini-array.
...
> Thanks for the explanation. I thought that it was fixed from your
> earlier mail.

Eh, which one?


> So it is still broken at runtime on 9.x...
> 
> Is there a PR on bugs.freebsd.org already documenting this?

I don't know.  I understood from Kostik that it would need r232832, but
apparently this breaks the ABI?

It is probably easier to work around this by configuring the binutils
port so it does not emit .init_array/.fini_array sections.

-Dimitry

[1] https://svnweb.freebsd.org/base?view=revision&revision=232832

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to