Date: Thu, 01 Sep 2016 20:37:29 +0200 From: Bernard Spil <brnrd@FreeBSD.org> To: Dimitry Andric <dim@freebsd.org> Cc: Doug Barton <dougb@dougbarton.us>, Baptiste Daroussin <bapt@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: mariadb10* ports broken on 9.x since last commit Message-ID: <d27ef6c63ba791ae24f60997982f74e9@imap.brnrd.eu> In-Reply-To: <E571F3E1-9929-435B-A53C-6BFFA82CF8B2@FreeBSD.org> References: <beff43a0d0b5c8808e5b5760051a1320@imap.brnrd.eu> <18b931f3-2b78-0fdf-c9ba-ba3c107a4f65@dougbarton.us> <02d2d44ad94044360e05d780ef3c1641@dougbarton.us> <E571F3E1-9929-435B-A53C-6BFFA82CF8B2@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2016-09-01 11:07, Dimitry Andric wrote: > On 31 Aug 2016, at 19:03, Doug Barton <dougb@dougbarton.us> wrote: >> >> August 31, 2016 12:37 AM, "Bernard Spil" <brnrd@freebsd.org> wrote: >>> On 2016-08-30 17:45, Doug Barton wrote: >>> >>>> 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 >>> >>> Hi Doug, >>> >>> 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! >>> >>> https://brnrd.eu/poudriere/build.html?mastername=93amd64-svn&build=2016-08-29_20h14m28s >> >> Thanks Bernard. >> >> 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. >> >> 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=binutils-gdb.git;a=commit;h=26e3a0c9ba4a8376fdf9f898637919d144d8b1d8 Hi Dimitry, Thanks for the explanation. I thought that it was fixed from your earlier mail. So it is still broken at runtime on 9.x... Is there a PR on bugs.freebsd.org already documenting this? Thanks! Bernard. -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJXyHVqAAoJEHT7/r+FArC0UpcP/3widk9T8lhFl2u875b5Mx+g FM2ByY20fZGtoU7PDq3iTdFV0TIkiZJvtXb/Ez3Fc01yYpotjnbBJk6eGXOfNNLc K+4fboQVd8oQvUbc5GU4j5ebdguLNl0xHldmq2rdFtMbHDSKmn23yqnOt9Uan/kS TxesugnKDZ5zrJJ6J3XEYmskwJY4e8RaT86O8DPqcLzJ8nEdYGxxMuGL0/4ZOww0 bVoMlSJt7EH8DTZlqUCv/iyD9BSIR0mXVhG0CkiOOxIOiIiUve3h0Ex6bio30CR+ +PdXjrYuJK+yDFaipjAiKv3em4IxQOwL6l/vYex7zknwLHdN4ClWNcmXbGCdLfoG a4Xxm4038kABjFHnUkpgZTtkTas5tGP6xQkMe0bkenr2zw9+yJlYbkwdknbDaL4h 4DeQ5uCFx1I+x/ml71545u4RrxLFXdHPyuDNrZC3I1IxIPRohsJEemaFn5ogdLHg NF2GxAUQIkSZfdtSoYU5QhhhwniCj7hCjoUtlQwrCpf1yUSe8nxWzkgKlypmvgdM 3FQ0xxxu7OlHduGD2+WMeX2VRIoZu93Jw0Ze4jFUXy1qV8SofzH0bC2D7nDaUMbl y3a7Aw1NBMgUL9kjiUpPkCap10onyEiT/1xl9oFtt3mvqLsWKJKr879tH+R6LcRF 2GbB0nEoJEHRBqsDPMeb =jG6O -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d27ef6c63ba791ae24f60997982f74e9>