Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2016 22:50:18 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Bernard Spil <brnrd@FreeBSD.org>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, Doug Barton <dougb@dougbarton.us>, FreeBSD Ports <freebsd-ports@freebsd.org>, Konstantin Belousov <kib@FreeBSD.org>
Subject:   Re: mariadb10* ports broken on 9.x since last commit
Message-ID:  <24C4A5AC-1EF1-49E0-A84A-86E630EE97D8@FreeBSD.org>
In-Reply-To: <d27ef6c63ba791ae24f60997982f74e9@imap.brnrd.eu>
References:  <beff43a0d0b5c8808e5b5760051a1320@imap.brnrd.eu> <18b931f3-2b78-0fdf-c9ba-ba3c107a4f65@dougbarton.us> <02d2d44ad94044360e05d780ef3c1641@dougbarton.us> <E571F3E1-9929-435B-A53C-6BFFA82CF8B2@FreeBSD.org> <d27ef6c63ba791ae24f60997982f74e9@imap.brnrd.eu>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_EF92F6FC-6CB3-40E4-A30B-14E173A27417
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

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


--Apple-Mail=_EF92F6FC-6CB3-40E4-A30B-14E173A27417
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

iEYEARECAAYFAlfIlJEACgkQsF6jCi4glqP7dgCfaJaMteyFOOmYbhnHPKzxG8NI
m3MAn1mGBpDU7Pu+MeSB1/LlthQBSIV/
=utGC
-----END PGP SIGNATURE-----

--Apple-Mail=_EF92F6FC-6CB3-40E4-A30B-14E173A27417--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24C4A5AC-1EF1-49E0-A84A-86E630EE97D8>