mariadb10* ports broken on 9.x since last commit

Dimitry Andric dim at FreeBSD.org
Thu Sep 1 20:50:29 UTC 2016


On 01 Sep 2016, at 20:37, Bernard Spil <brnrd at FreeBSD.org> wrote:
> 
> On 2016-09-01 11:07, Dimitry Andric wrote:
> > On 31 Aug 2016, at 19:03, Doug Barton <dougb at dougbarton.us> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160901/0d4f3735/attachment.sig>


More information about the freebsd-ports mailing list