From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gergely Czuczy Newsgroups: gmane.emacs.bugs Subject: bug#28308: Build failure on FreeBSD/aarch64 Date: Sun, 5 Nov 2017 19:10:01 +0100 Message-ID: References: <2e5f41f7-e005-c28f-c04a-79953a804f71@harmless.hu> <8760d17pyj.fsf@users.sourceforge.net> <9ae1840f-9056-8771-43fa-b27bbd2b1bd3@harmless.hu> <87k218g33g.fsf@users.sourceforge.net> <2fbe77fe-1258-cef2-32e2-f741da514151@harmless.hu> <83y3powdsv.fsf@gnu.org> <87k215lqdf.fsf@users.sourceforge.net> <837ex5thtt.fsf@gnu.org> <83tw09s148.fsf@gnu.org> <83bmmhrw84.fsf@gnu.org> <29f4260c-2fff-9051-5882-0acec819739f@harmless.hu> <8760bag128.fsf@users.sourceforge.net> <83wp3qcn5k.fsf@gnu.org> <95b89a6c-99ce-cca9-b401-6196b496f554@harmless.hu> <871sld8wmk.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1509905472 2368 195.159.176.226 (5 Nov 2017 18:11:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 5 Nov 2017 18:11:12 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 Cc: 28308@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 05 19:11:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBPNx-0000M0-Cr for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Nov 2017 19:11:05 +0100 Original-Received: from localhost ([::1]:45278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBPO4-0008Ri-I4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Nov 2017 13:11:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBPNx-0008Ra-KG for bug-gnu-emacs@gnu.org; Sun, 05 Nov 2017 13:11:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBPNu-0005vS-Ei for bug-gnu-emacs@gnu.org; Sun, 05 Nov 2017 13:11:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBPNu-0005vM-Ax for bug-gnu-emacs@gnu.org; Sun, 05 Nov 2017 13:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eBPNt-00010s-RI for bug-gnu-emacs@gnu.org; Sun, 05 Nov 2017 13:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gergely Czuczy Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Nov 2017 18:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch Original-Received: via spool by 28308-submit@debbugs.gnu.org id=B28308.15099054213843 (code B ref 28308); Sun, 05 Nov 2017 18:11:01 +0000 Original-Received: (at 28308) by debbugs.gnu.org; 5 Nov 2017 18:10:21 +0000 Original-Received: from localhost ([127.0.0.1]:52576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBPNF-0000zv-10 for submit@debbugs.gnu.org; Sun, 05 Nov 2017 13:10:21 -0500 Original-Received: from marvin.harmless.hu ([195.56.55.204]:65434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBPNC-0000ze-TK for 28308@debbugs.gnu.org; Sun, 05 Nov 2017 13:10:20 -0500 Original-Received: from 178-164-209-233.pool.digikabel.hu ([178.164.209.233] helo=[10.219.16.1]) by marvin.harmless.hu with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1eBPMy-0002V2-L1; Sun, 05 Nov 2017 18:10:04 +0000 In-Reply-To: <871sld8wmk.fsf@users.sourceforge.net> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139480 Archived-At: On 2017. 11. 05. 0:14, Noam Postavsky wrote: > tags 28308 fixed > close 28308 26.1 > quit > > Gergely Czuczy writes: > >> On 2017. 10. 31. 18:31, Noam Postavsky wrote: >>> --- a/configure.ac >>> +++ b/configure.ac >>> @@ -2206,7 +2206,7 @@ AC_DEFUN >>> case "$opsys" in >>> ## darwin ld insists on the use of malloc routines in the System framework. >>> darwin | mingw32 | nacl | sol2-10) ;; >>> - cygwin) hybrid_malloc=yes >>> + freebsd | cygwin) hybrid_malloc=yes >>> system_malloc= ;; >>> *) test "$ac_cv_func_sbrk" = yes && >>> system_malloc=$emacs_cv_sanitize_address;; > Oops, I had some line wrapping here. > >> So, the amd64 and the aarch64 builds have finished: >> GNU Emacs 26.0.50 (build 1, amd64-portbld-freebsd11.0) of 2017-11-02 >> GNU Emacs 26.0.50 (build 1, aarch64-portbld-freebsd12.0) of 2017-11-02 >> >> Both are functional. > Thanks for testing. If they report as 26.0.50 rather than 26.0.90 you > may be applying to a somewhat old branch, but the dumping code has not > been updated since then so it shouldn't be a problem. > >> Regarding updating the port, that's rather simple, you don't have to >> update the whole OS or anything similar. > I rather meant figuring out how to configure the network connection with > qemu. > >> If this version will be the fix for the issue, could you please let me >> know which commit has it? I would like to let the port's maintainer >> know, so he can update the port in the master branch, fixing aarch64 >> support finally. > I've cleaned up the gmalloc part of the patch a bit, and pushed to > emacs-26, see 918a2dda07. > > [1: 918a2dda07]: 2017-11-04 18:49:28 -0400 > Use hybrid malloc for FreeBSD (Bug#28308) > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=918a2dda07ebf16601a93d0464f62c4e846d8b39 Thank you very much again for the help. I've notified the port maintainer, he'll soon update the port, and it'll work on again on aarch64. Also, may I ask when the 26 release is planned?