From owner-freebsd-ports@freebsd.org Thu Sep 1 18:37:39 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A60BBCBCC2 for ; Thu, 1 Sep 2016 18:37:39 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from smtp02.qsp.nl (smtp02.qsp.nl [193.254.214.163]) by mx1.freebsd.org (Postfix) with ESMTP id 14E993CE; Thu, 1 Sep 2016 18:37:39 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from smtp02.qsp.nl (localhost [127.0.0.1]) by smtp02.qsp.nl (Postfix) with ESMTP id 0FD1BFD0CF; Thu, 1 Sep 2016 20:37:31 +0200 (CEST) Received: from mail.brnrd.eu (unknown [193.164.217.85]) by smtp02.qsp.nl (Postfix) with ESMTP; Thu, 1 Sep 2016 20:37:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=brnrd.eu; h=date:from:to:subject:message-id; s=default; bh=4RA9QrE5TA3VF0BJA9SFk1e6aSlKU4+DhNgrFWQOtjw=; b=0qKgyTmuwj2e9c0J9biQ4X5KwPJrpKgPDjlDSC6Z026XeTpEEEA+fcdEEv4brLhNLtbiV65VoEWLy+/aqY3Kx1QdnK+BMtoaxQijiQw+oDr0SbG4kwh7oWN6BPl1Df30iDmMertaIS23scLgyLsQ9Xn2+MsS0cs88ODFshpWgRRtSK4quV4X2JsGJJJec/wI7SblF4TXqmPbKqZ6N4MhbQ2qQ/bgYzb+eC0vCATRPC6njJ7lb4Z4+bTFzuNqlJoJOoceS/vQcVEHr2h+vqYYao2+zclPuO6I+7SVQHHyxVCMmy6OB+wET7eKOJdRIpDfnS9QuY34UQDvO//iKdBRNg== Received: by bachfreund.nl (OpenSMTPD) with ESMTPSA id 850141dc TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Thu, 1 Sep 2016 20:37:30 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Thu, 01 Sep 2016 20:37:29 +0200 From: Bernard Spil To: Dimitry Andric Cc: Doug Barton , Baptiste Daroussin , FreeBSD Ports Subject: Re: mariadb10* ports broken on 9.x since last commit In-Reply-To: References: <18b931f3-2b78-0fdf-c9ba-ba3c107a4f65@dougbarton.us> <02d2d44ad94044360e05d780ef3c1641@dougbarton.us> Message-ID: X-Sender: brnrd@FreeBSD.org User-Agent: Roundcube Webmail/1.2.1 X-Virus-Scanned: clamav at smtp02 X-Spam-Status: No, score=1.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HK_RANDOM_ENVFROM,HK_RANDOM_FROM,UNPARSEABLE_RELAY autolearn=disabled version=3.4.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on svfilter04.qsp.nl X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2016 18:37:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2016-09-01 11:07, Dimitry Andric wrote: > On 31 Aug 2016, at 19:03, Doug Barton wrote: >> >> August 31, 2016 12:37 AM, "Bernard Spil" 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-----