Date: Thu, 1 Sep 2016 11:07:25 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Doug Barton <dougb@dougbarton.us> Cc: Baptiste Daroussin <bapt@FreeBSD.org>, Bernard Spil <brnrd@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: mariadb10* ports broken on 9.x since last commit Message-ID: <E571F3E1-9929-435B-A53C-6BFFA82CF8B2@FreeBSD.org> In-Reply-To: <02d2d44ad94044360e05d780ef3c1641@dougbarton.us> References: <beff43a0d0b5c8808e5b5760051a1320@imap.brnrd.eu> <18b931f3-2b78-0fdf-c9ba-ba3c107a4f65@dougbarton.us> <02d2d44ad94044360e05d780ef3c1641@dougbarton.us>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_A48568E9-BD4C-46AE-B4E2-312FFC2BF604 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 31 Aug 2016, at 19:03, Doug Barton <dougb@dougbarton.us> wrote: >=20 > August 31, 2016 12:37 AM, "Bernard Spil" <brnrd@freebsd.org> wrote: >> On 2016-08-30 17:45, Doug Barton wrote: >>=20 >>> Since the last commit to the mariadb10* ports the resulting binaries >>> dump core on 9.3-RELEASE-p43, even for a simple --help option. I am >>> assuming that is not the intended result .... >>> Doug >>=20 >> Hi Doug, >>=20 >> Nope, that is not intended. Assume this is the 10.0.27 update? I did = build them on 9.3 but have not >> checked the resulting binaries... Will need some time to investigate! >>=20 >> = https://brnrd.eu/poudriere/build.html?mastername=3D93amd64-svn&build=3D201= 6-08-29_20h14m28s >=20 > Thanks Bernard. >=20 > It turns out that the actual problem was binutils. I backed up several = revisions of mariadb, past the previous working version, and had the = same symptoms. Then I started on the deps that had changed at the same = time, and fortunately I guessed right on the first one. >=20 > Backing up to -r{2016-08-25} on binutils got mariadb working with the = latest version. 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. -Dimitry [1] = https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;a=3Dcommit;h=3D= 26e3a0c9ba4a8376fdf9f898637919d144d8b1d8 --Apple-Mail=_A48568E9-BD4C-46AE-B4E2-312FFC2BF604 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 iEYEARECAAYFAlfH79sACgkQsF6jCi4glqM4WACfRXS2YCY4LXxBebTZ0IhBY+jX oU4An3chPvU/2DKzsxOSwKUJFbyJFtZJ =R0Ey -----END PGP SIGNATURE----- --Apple-Mail=_A48568E9-BD4C-46AE-B4E2-312FFC2BF604--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E571F3E1-9929-435B-A53C-6BFFA82CF8B2>