From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: andres.ramirez Newsgroups: gmane.emacs.devel Subject: Re: Emacs 23.4 arm64 build Date: Sun, 17 May 2020 18:33:22 +0000 Message-ID: <86tv0equml.fsf@gmail.com> References: <69b07ffd-19b6-9f2a-63b0-7e68811a5d36@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="65846"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Paul Eggert , Emacs developers To: Philippe Vaucher Cancel-Lock: sha1:6gyJ4cpJ0EgaVYhkGL7o4OIaIns= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 17 20:34:03 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jaO6s-000H0S-G1 for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 20:34:02 +0200 Original-Received: from localhost ([::1]:37138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaO6r-0007Jk-Ev for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 14:34:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaO6K-0006qC-EW for emacs-devel@gnu.org; Sun, 17 May 2020 14:33:29 -0400 Original-Received: from mail-qt1-f194.google.com ([209.85.160.194]:39649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaO6J-0006Qu-LX for emacs-devel@gnu.org; Sun, 17 May 2020 14:33:28 -0400 Original-Received: by mail-qt1-f194.google.com with SMTP id l1so6347684qtp.6 for ; Sun, 17 May 2020 11:33:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :cancel-lock:date:message-id:mime-version:content-transfer-encoding; bh=RpZ7oe9ckJS/1JS+srbVWdWbP/d6U+PnVCqaSbyDdfU=; b=DdaWrVU5LZK63HXFXdQZTcwXEhuwUCdna7wjbC+rQSxcwenSVumCll3QG7WyJIEbcS 1NmV2mdcExelAPcTSNh7YGuxifzE+tfw/iuhL/oN9mJIzfUdNjl7CIAXTQ30wzWmOKGq dBzoZwY8qTY5NwXLTsCTV8ONdBLuW4gTyzEFIXhGdYSM+f6uzX0RJDppECstkm1ijOB7 kLfMzxQN7Kkn5+KVuQelW3xSTfIp5m7K3LPkKF7VpDPqgbpk+y0Q8JkSyw3+FRDDTqs8 0Bj4+mV240XXU0Sv/wt2ReNTtuU+GQiDWIOTkFgMEa5aAsyIOn4bPjKTS7urWcpH1CKS e0EQ== X-Gm-Message-State: AOAM533LU3dQnzvDtwIsJQEmmwJPwX9cY5vfKB3a20YTaFNA19AkqoAP iNYb7ICcZt0j98SAq5iOEUwlzm57 X-Google-Smtp-Source: ABdhPJwoBRtFauw3VZAlkkVzCc+XSyveBgHEByGYQ1psw1Dg0BlxNXXFea5F+KQx4OHKWA5NmrVonQ== X-Received: by 2002:aed:20d1:: with SMTP id 75mr6625111qtb.1.1589740406074; Sun, 17 May 2020 11:33:26 -0700 (PDT) Original-Received: from sacsa.n800.arm.processor.yandex.fm ([190.236.255.69]) by smtp.gmail.com with ESMTPSA id a16sm6346794qko.92.2020.05.17.11.33.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2020 11:33:25 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=209.85.160.194; envelope-from=rrandresf@gmail.com; helo=mail-qt1-f194.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/17 14:33:26 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -9 X-Spam_score: -1.0 X-Spam_bar: - X-Spam_report: (-1.0 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250640 Archived-At: Hi Philippe. >>>>> "Philippe" =3D=3D Philippe Vaucher write= s: Philippe> On 5/17/20 4:32 AM, Philippe Vaucher wrote: >> My question is fairly simple: is this a dead end? Should I just >> give up on arm64 Emacs 23.4 images? If you say it'd work with a >> bit of fighting I'll try harder tho. =20=20=20 Paul> Undoubted you could get it to work eventually, but Paul> my advice is to go with a later Emacs version that Paul> builds without pain. Philippe> Thanks. I forgot to say this is related Philippe> to=C2=A0https://hub.docker.com/r/silex/emacs, so I'm building Philippe> old images intentionnaly for others to use in CI Philippe> testing. That's why I'm trying to get 23.4 to build on Philippe> arm64. Philippe> So far 23.4, 25.2-alpine and 25.3-alpine are the only Philippe> images not building on arm64. --8<---------------cut here---------------start------------->8--- uname -a Linux sacsa 5.6.7-1-ARCH #1 SMP PREEMPT Fri Apr 24 16:11:00 UTC 2020 armv7l= GNU/Linux ~ $ pacman -Qi emacs23 Name : emacs23 Version : 23.4-1 Description : The extensible, customizable, self-documenting real-time = display editor; coexist with emacs, patches from gentoo ebuild see my.orgs Architecture : armv7h URL : http://www.gnu.org/software/emacs/emacs.html Licenses : GPL3 Groups : None Provides : None Depends On : hicolor-icon-theme desktop-file-utils alsa-lib imagema= gick Optional Deps : None Required By : None Optional For : None Conflicts With : None Replaces : None Installed Size : 90.08 MiB Packager : Unknown Packager Build Date : Tue 07 Jan 2020 07:02:06 PM UTC Install Date : Tue 07 Jan 2020 07:42:33 PM UTC Install Reason : Explicitly installed Install Script : Yes Validated By : None --8<---------------cut here---------------end--------------->8--- Philippe> It looks like 23.4 does not build on i386 but this I Philippe> should be able to sort it out. I have compiled on i686 a month ago with the gentoo patches without issue. But perhaps your issue could be 'nokaslr' (kernel aslr) Also my emacs23 compilation or arm (32 bits) was with 'CANNOT_DUMP=3Dyes' and It is without any x-toolkit. for CI this is not going to work. You need a clean compilation same as in i686. I think for complete compilation(with an x-toolkit) a couple of changes on = source code would be needed: 1. Fix 'strings' the error was something similar to: --8<---------------cut here---------------start------------->8--- Finding pointers to doc strings... --8<---------------cut here---------------end--------------->8--- Emacs compilation halted at that point. I think above is related to 'addres= s randomization'. 2. probably a patch for using the system malloc. The error was an infinite loop Best