From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 17 15:02:26 2013 Received: (at submit) by debbugs.gnu.org; 17 Jan 2013 20:02:26 +0000 Received: from localhost ([127.0.0.1]:37370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TvvfN-0001r3-Io for submit@debbugs.gnu.org; Thu, 17 Jan 2013 15:02:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36942) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TvvGr-0001Ff-FC for submit@debbugs.gnu.org; Thu, 17 Jan 2013 14:37:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvvG6-00028r-99 for submit@debbugs.gnu.org; Thu, 17 Jan 2013 14:36:23 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:32775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvvG6-00028m-5l for submit@debbugs.gnu.org; Thu, 17 Jan 2013 14:36:18 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvvG2-0001XR-06 for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 14:36:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvvFx-000271-L4 for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 14:36:13 -0500 Received: from mail-vc0-f170.google.com ([209.85.220.170]:36411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvvFx-00026q-GF for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 14:36:09 -0500 Received: by mail-vc0-f170.google.com with SMTP id fl11so2953855vcb.29 for ; Thu, 17 Jan 2013 11:36:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=Cb/AgYjqHB4jhvoqnjF12EA+AjY/rQNET3yW3XdPl5I=; b=mCNsODBENczcoWRaNd6XEGIhVxWufPAND3VJiP9RFfh2vAojWrEsgJ9BMC6BJ+A/rv FAJsq2FIaQZGl6SPp1nbxJsGdG8daVpgNgdWS4+01u6tDJkkErINCk02WjKXRIKPQXmM 8zX31fLTOp1vkceI4T6HVyEIGr25onUKcain0BRvtXPRFe5T5ubp41QG5VPVNfgaeRWC jbjVdwrGocwvPRdNRKuIE7U5vyMmhqPKhC1Ib5ci0Xtidd0hBfgzVvnkzBc5dh6qb55c yb0nZ4vuU+upRs8FB8dsUzCMZeuNJkhUuV9knFiUEasO4ynJfXiPjmr4CQuQWWv9w1S7 v+8g== MIME-Version: 1.0 X-Received: by 10.52.33.11 with SMTP id n11mr5882867vdi.131.1358451368402; Thu, 17 Jan 2013 11:36:08 -0800 (PST) Received: by 10.58.106.167 with HTTP; Thu, 17 Jan 2013 11:36:08 -0800 (PST) Date: Thu, 17 Jan 2013 14:36:08 -0500 X-Google-Sender-Auth: asbDirrJogtIl6wEbJ5YExlCNn0 Message-ID: Subject: Cross Compiling for ARM From: Ross Biro To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=20cf307c9d64421da004d3811b38 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 17 Jan 2013 15:02:24 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) --20cf307c9d64421da004d3811b38 Content-Type: text/plain; charset=ISO-8859-1 I just more or less successfully compiled emacs-24.2 for a Samsung Chromebook. I did it by using the chrooted build environment for chromiumos. In the process I learned a couple of things. I used the configuration: ../emacs-24.2/configure --build=x86_64-pc-linux-gnu --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --with-x-toolkit=no --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no --without-xml2 --without-gnutls --without-x --without-dbus --with-crt-dir=/build/arm-generic/usr/lib/ Obviously, I also had to CANNOT_DUMP=yes as well. 1) It doesn't look like emacs has a concept of a BUILDCC. I like to set CC to the cross compiler since that seems to be what most things need. However make-docfile and test-distrib need to be built with the local compiler. Usually the path to the local compiler is stored in BUILDCC. I just changed the $(CC) to $(BUILDCC) in the makefile for those two file and everything compiled ok. 2) The lisp and leim directories really want a local copy of emacs to compile. Since I didn't have one available in the chrooted environment, I just used /bin/true. Suboptimal, but it let the compile complete. I didn't see an obvious way to set the path to an external emacs, I just edited the makefile. 3) Now, a real bug. With an undumpped emacs, window__resize_root_window_vertically is called before it's defined. Even putting if (initialzed) before the call didn't help. I had to put if (!EQ (XSYMBOL (Qwindow_resize_root_window_vertically)->function, Qunbound)) before the two calls to call2 (Qwindow_resize_root_window_vertically, in window.c. Now, I'm going to try to and some more libraries and do some additional testing. If anyone has questions, email me directly. Ross --20cf307c9d64421da004d3811b38 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I just more or les= s successfully compiled emacs-24.2 for a Samsung Chromebook.=A0 I did it by= using the chrooted build environment for chromiumos.=A0 In the process I l= earned a couple of things.

I used the configuration:

../emacs-24.2/configure=A0 = --build=3Dx86_64-pc-linux-gnu --host=3Darm-none-linux-gnueabi --target=3Dar= m-none-linux-gnueabi --with-x-toolkit=3Dno --with-xpm=3Dno --with-jpeg=3Dno= --with-png=3Dno --with-gif=3Dno --with-tiff=3Dno=A0 --without-xml2 --witho= ut-gnutls --without-x --without-dbus --with-crt-dir=3D/build/arm-generic/us= r/lib/

Obviously, I also had to CANNOT_DUMP=3Dyes as well.

1) It doesn't look like emacs has a concept of a BUILDC= C.=A0 I like to set CC to the cross compiler since that seems to be what mo= st things need.=A0 However make-docfile and test-distrib need to be built w= ith the local compiler.=A0 Usually the path to the local compiler is stored= in BUILDCC.=A0 I just changed the $(CC) to $(BUILDCC) in the makefile for = those two file and everything compiled ok.

2) The lisp and leim directories really want a local copy of emac= s to compile.=A0 Since I didn't have one available in the chrooted envi= ronment, I just used /bin/true.=A0 Suboptimal, but it let the compile compl= ete.=A0 I didn't see an obvious way to set the path to an external emac= s, I just edited the makefile.

3) Now, a real bug.=A0 With an undumpped emacs, window__resize_ro= ot_window_vertically is called before it's defined.=A0 Even putting if = (initialzed) before the call didn't help.=A0 I had to put=A0 if (!EQ (X= SYMBOL (Qwindow_resize_root_window_vertically)->function, Qunbound)) bef= ore the two calls to=A0 call2 (Qwindow_resize_root_window_vertically,=A0 in= window.c.

Now, I'm going to try to and some more libraries and do some = additional testing.=A0 If anyone has questions, email me directly.

<= /div>=A0=A0=A0 Ross
--20cf307c9d64421da004d3811b38-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 18 09:27:42 2013 Received: (at 13479) by debbugs.gnu.org; 18 Jan 2013 14:27:43 +0000 Received: from localhost ([127.0.0.1]:38273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwCuz-00046m-Ut for submit@debbugs.gnu.org; Fri, 18 Jan 2013 09:27:42 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:10423) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwCuv-00046c-JV for 13479@debbugs.gnu.org; Fri, 18 Jan 2013 09:27:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkGAG6Zu09FpZpV/2dsb2JhbABEgXuyFoEIghUBAQQBJy8jBQsLNBIUGA0kiBwFugmQRAOIQppxgViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="212864550" Received: from 69-165-154-85.dsl.teksavvy.com (HELO pastel.home) ([69.165.154.85]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 18 Jan 2013 09:26:49 -0500 Received: by pastel.home (Postfix, from userid 20848) id 8A4AA59550; Fri, 18 Jan 2013 09:26:49 -0500 (EST) From: Stefan Monnier To: Ross Biro Subject: Re: bug#13479: Cross Compiling for ARM Message-ID: References: Date: Fri, 18 Jan 2013 09:26:49 -0500 In-Reply-To: (Ross Biro's message of "Thu, 17 Jan 2013 14:36:08 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13479 Cc: 13479@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Obviously, I also had to CANNOT_DUMP=yes as well. That's a problem that would need to be solved, of course, because there are invariably more bugs in this mode of operation. > 1) It doesn't look like emacs has a concept of a BUILDCC. I like to set CC > to the cross compiler since that seems to be what most things need. > However make-docfile and test-distrib need to be built with the local > compiler. Usually the path to the local compiler is stored in BUILDCC. > I just changed the $(CC) to $(BUILDCC) in the makefile for those two file and > everything compiled ok. We could incorporate this part of your changes, I think. > 2) The lisp and leim directories really want a local copy of Emacs to > compile. Actually, any random local copy probably won't cut it, it needs to be sufficiently uptodate. In the worst case, it needs to be exactly the version you're compiling. What would need to happen is to more clearly separate the src/bootstrap-emacs (which should be built with BUILDCC) from the src/emacs (built with CC), so that you can run the src/bootstrap-emacs to compile the lisp and leim subdirectories. An alternative is of course to use an emulator to run src/emacs and/or src/bootstrap-emacs. > 3) Now, a real bug. With an undumpped emacs, > window__resize_root_window_vertically is called before it's defined. Even > putting if (initialzed) before the call didn't help. I had to put if (!EQ > (XSYMBOL (Qwindow_resize_root_window_vertically)->function, Qunbound)) > before the two calls to call2 (Qwindow_resize_root_window_vertically, in > window.c. Most/all calls to Elisp from C should protect themselves with calls to Ffboundp or similar, indeed. Martin, could you take care of that? Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 18 12:56:06 2013 Received: (at 13479) by debbugs.gnu.org; 18 Jan 2013 17:56:06 +0000 Received: from localhost ([127.0.0.1]:39015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwGAf-0001ny-DB for submit@debbugs.gnu.org; Fri, 18 Jan 2013 12:56:06 -0500 Received: from mout.gmx.net ([212.227.17.20]:58971) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwGAb-0001nW-OI for 13479@debbugs.gnu.org; Fri, 18 Jan 2013 12:56:02 -0500 Received: from mailout-de.gmx.net ([10.1.76.4]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MGlNX-1Tiq2K0BX7-00DWr3 for <13479@debbugs.gnu.org>; Fri, 18 Jan 2013 18:55:13 +0100 Received: (qmail invoked by alias); 18 Jan 2013 17:55:12 -0000 Received: from 62-47-38-39.adsl.highway.telekom.at (EHLO [62.47.38.39]) [62.47.38.39] by mail.gmx.net (mp004) with SMTP; 18 Jan 2013 18:55:12 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18i7QZhX34ixZMNayB9UODrYF2xPJpYBIM2yhSijd 3hE6JtnkH5GY86 Message-ID: <50F98C7B.8090708@gmx.at> Date: Fri, 18 Jan 2013 18:55:07 +0100 From: martin rudalics MIME-Version: 1.0 To: Stefan Monnier Subject: Re: bug#13479: Cross Compiling for ARM References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13479 Cc: Ross Biro , 13479@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > Most/all calls to Elisp from C should protect themselves with calls to > Ffboundp or similar, indeed. Martin, could you take care of that? I'm not sure. If most/all calls should be protected we'd better provide call_[1-4]_safe function for this purpose. But I haven't the slightest idea of what might happen when some of these functions don't get called. martin From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 18 17:10:31 2013 Received: (at 13479) by debbugs.gnu.org; 18 Jan 2013 22:10:31 +0000 Received: from localhost ([127.0.0.1]:39189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwK8t-00088Y-5h for submit@debbugs.gnu.org; Fri, 18 Jan 2013 17:10:31 -0500 Received: from mail-la0-f48.google.com ([209.85.215.48]:49016) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwK8q-00088P-8F for 13479@debbugs.gnu.org; Fri, 18 Jan 2013 17:10:29 -0500 Received: by mail-la0-f48.google.com with SMTP id ej20so4406012lab.35 for <13479@debbugs.gnu.org>; Fri, 18 Jan 2013 14:09:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=jIYC9jSdW6AISp31M7Zb5TdN4NVIynAwdu4QkyaAnFc=; b=X9fZD9X4KmwoUvP/W9ZD9j4z6XwCK+U5/hrZnOpSeK3bcXmdJ80fHhfJTJCSXxwyqN XXHxNvRP0rhAf0+F7XNQCdWVXfahU4ekKeXQ83o8iPVgKb05f9RTKtZjZ32Z9NK9pIZm w9iGsG0iTgztHsUFfr0WA7STE8zRyHpBgpEv+s3GUMUm9Xzb8Dedd7rcOVsdChuiupNk Nv3y/VqqbeQB2pNd33EYUV+RbAmkjwJyjFC+vpVNMxb0Akmk+rwyZ9g0/ghT4vvWlbwU CzFGquhlNfBqUCW03gGp/O6aRDCus9BoIjIZNyu/36jmEvsiWXT8d+viQ/BrDUIPhm9E bclQ== MIME-Version: 1.0 X-Received: by 10.152.125.136 with SMTP id mq8mr9925313lab.41.1358546977196; Fri, 18 Jan 2013 14:09:37 -0800 (PST) Received: by 10.152.11.169 with HTTP; Fri, 18 Jan 2013 14:09:36 -0800 (PST) In-Reply-To: <50F98C7B.8090708@gmx.at> References: <50F98C7B.8090708@gmx.at> Date: Fri, 18 Jan 2013 17:09:36 -0500 X-Google-Sender-Auth: zgPPU3RB-sbPN6PDw3nsUZrt4ic Message-ID: Subject: Re: bug#13479: Cross Compiling for ARM From: Ross Biro To: martin rudalics Content-Type: multipart/alternative; boundary=f46d042f9756fc8b5d04d3975dac X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 13479 Cc: Stefan Monnier , 13479@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) --f46d042f9756fc8b5d04d3975dac Content-Type: text/plain; charset=ISO-8859-1 I haven't investigated. But because protecting those calls by if (initialized) and even moving the lisp->C binding for window_root_window_resize_vertically to after initialization didn't help, I suspect the issue might be deeper than just protecting C calls to lisp. I really don't know how to follow up though. Ross On Fri, Jan 18, 2013 at 12:55 PM, martin rudalics wrote: > > Most/all calls to Elisp from C should protect themselves with calls to > > Ffboundp or similar, indeed. Martin, could you take care of that? > > I'm not sure. If most/all calls should be protected we'd better provide > call_[1-4]_safe function for this purpose. But I haven't the slightest > idea of what might happen when some of these functions don't get called. > > martin > --f46d042f9756fc8b5d04d3975dac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I haven't investigated.=A0 But bec= ause protecting those calls by if (initialized) and even moving the lisp-&g= t;C binding for window_root_window_resize_vertically to after initializatio= n didn't help, I suspect the issue might be deeper than just protecting= C calls to lisp.=A0 I really don't know how to follow up though.

=A0=A0=A0 Ross


On Fri, Jan 18, 2013 at 12:55 PM, martin rudalics <ruda= lics@gmx.at> wrote:
> Most/all calls to Eli= sp from C should protect themselves with calls to
> Ffboundp or similar, indeed. =A0Martin, could you take care of that?
I'm not sure. =A0If most/all calls should be protected we'd better = provide
call_[1-4]_safe function for this purpose. =A0But I haven't the slighte= st
idea of what might happen when some of these functions don't get called= .

martin

--f46d042f9756fc8b5d04d3975dac-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 18 20:19:25 2013 Received: (at 13479) by debbugs.gnu.org; 19 Jan 2013 01:19:25 +0000 Received: from localhost ([127.0.0.1]:39327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwN5h-0004E7-3C for submit@debbugs.gnu.org; Fri, 18 Jan 2013 20:19:25 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:17952) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwN5e-0004Dw-L4 for 13479@debbugs.gnu.org; Fri, 18 Jan 2013 20:19:23 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkGAG6Zu09FpZpV/2dsb2JhbABEgXuyFoEIghUBAQQBViMFCws0EhQYDSSIHAW6CZBEA4hCmnGBWIMH X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="212937162" Received: from 69-165-154-85.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.165.154.85]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 18 Jan 2013 20:18:32 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id DDFEFAE071; Fri, 18 Jan 2013 20:18:31 -0500 (EST) From: Stefan Monnier To: martin rudalics Subject: Re: bug#13479: Cross Compiling for ARM Message-ID: References: <50F98C7B.8090708@gmx.at> Date: Fri, 18 Jan 2013 20:18:31 -0500 In-Reply-To: <50F98C7B.8090708@gmx.at> (martin rudalics's message of "Fri, 18 Jan 2013 18:55:07 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13479 Cc: Ross Biro , 13479@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.5 (/) >> Most/all calls to Elisp from C should protect themselves with calls to >> Ffboundp or similar, indeed. Martin, could you take care of that? > I'm not sure. If most/all calls should be protected we'd better provide > call_[1-4]_safe function for this purpose. Could be, but I suspect that when the function is not defined, we might actually want to do something else rather than not do anything at all, so maybe just call_safe is not quite sufficient. > But I haven't the slightest idea of what might happen when some of > these functions don't get called. These calls come from your "rewrite" of the window.c code, AFAIK, so I think you're the person who'd best know what needs to happen when window.el is not yet loaded, Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 19 05:12:32 2013 Received: (at 13479) by debbugs.gnu.org; 19 Jan 2013 10:12:32 +0000 Received: from localhost ([127.0.0.1]:39559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwVPc-00007X-2f for submit@debbugs.gnu.org; Sat, 19 Jan 2013 05:12:32 -0500 Received: from mout.gmx.net ([212.227.17.20]:50258) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwVPZ-00007Q-Lr for 13479@debbugs.gnu.org; Sat, 19 Jan 2013 05:12:30 -0500 Received: from mailout-de.gmx.net ([10.1.76.1]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0M21p7-1T3JRa0rSl-00u0pb for <13479@debbugs.gnu.org>; Sat, 19 Jan 2013 11:11:37 +0100 Received: (qmail invoked by alias); 19 Jan 2013 10:11:37 -0000 Received: from 62-47-47-149.adsl.highway.telekom.at (EHLO [62.47.47.149]) [62.47.47.149] by mail.gmx.net (mp001) with SMTP; 19 Jan 2013 11:11:37 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/IWxxQzKfIq9IvbYelOcJWUmhRRWu3Va5Nx+R8kF h1IIvr7VSFWSzn Message-ID: <50FA7153.403@gmx.at> Date: Sat, 19 Jan 2013 11:11:31 +0100 From: martin rudalics MIME-Version: 1.0 To: Ross Biro Subject: Re: bug#13479: Cross Compiling for ARM References: <50F98C7B.8090708@gmx.at> In-Reply-To: Content-Type: multipart/mixed; boundary="------------080307080307070907060905" X-Y-GMX-Trusted: 0 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13479 Cc: Stefan Monnier , 13479@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) This is a multi-part message in MIME format. --------------080307080307070907060905 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > I haven't investigated. But because protecting those calls by if > (initialized) and even moving the lisp->C binding for > window_root_window_resize_vertically to after initialization didn't help, I > suspect the issue might be deeper than just protecting C calls to lisp. I > really don't know how to follow up though. If Lisp hasn't been called yet, the root window cannot have been split yet. So in the case at hand the following patch sould work. Can you please try it? Thanks, martin --------------080307080307070907060905 Content-Type: text/plain; name="resize_root_window_vertically.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="resize_root_window_vertically.diff" === modified file 'src/window.c' --- src/window.c 2013-01-11 23:08:55 +0000 +++ src/window.c 2013-01-19 09:54:07 +0000 @@ -4207,8 +4207,15 @@ root = FRAME_ROOT_WINDOW (f); r = XWINDOW (root); - value = call2 (Qwindow_resize_root_window_vertically, - root, make_number (- delta)); + if (WINDOW_LIVE_P (root)) + { + wset_new_total (r, make_number (XFASTINT (r->total_lines) - delta)); + value = make_number (- delta); + } + else + value = call2 (Qwindow_resize_root_window_vertically, + root, make_number (- delta)); + if (INTEGERP (value) && window_resize_check (r, 0)) { block_input (); @@ -4245,8 +4252,15 @@ { root = FRAME_ROOT_WINDOW (f); r = XWINDOW (root); - value = call2 (Qwindow_resize_root_window_vertically, - root, make_number (size - 1)); + if (WINDOW_LIVE_P (root)) + { + wset_new_total (r, make_number (XFASTINT (r->total_lines) + size - 1)); + value = make_number (size - 1); + } + else + value = call2 (Qwindow_resize_root_window_vertically, + root, make_number (size - 1)); + if (INTEGERP (value) && window_resize_check (r, 0)) { block_input (); --------------080307080307070907060905-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 22 22:50:36 2013 Received: (at 13479) by debbugs.gnu.org; 23 Jan 2013 03:50:36 +0000 Received: from localhost ([127.0.0.1]:45378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TxrMC-00088R-56 for submit@debbugs.gnu.org; Tue, 22 Jan 2013 22:50:36 -0500 Received: from mail-lb0-f174.google.com ([209.85.217.174]:41953) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TxrM2-000882-IV for 13479@debbugs.gnu.org; Tue, 22 Jan 2013 22:50:35 -0500 Received: by mail-lb0-f174.google.com with SMTP id l12so1319555lbo.19 for <13479@debbugs.gnu.org>; Tue, 22 Jan 2013 19:49:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=uYKxOqdqudN3FYxDSLE9Nz1f4bhKJfoUvydP18IHtBg=; b=xLmLbKkz0+xS7B/Qs31ONAdB1kdZdV/nWdqLvjARgBuLwa+PmP/7YjvGnmttL5t3+M hqnax9cFUpqB5UXG8OSuVIXWRL5fbrt03pkzsTAjVz5lA+DgvTQ5POTYfyOBXco/lKXR HOCu5nI7UyaUN98CITvs6VtVCi9wsoodNcHIlMYj7/EZGKlXUVcgPQdXZ5DPqXuOQmYj K5waUGngpM3JZeK7yUquPNFNwbwajDdPgYKZ3nqVZoqRzFWhA9krYCpmnMVN9GROmKTD Ju4+LyTuNCqe3vLZS9RsrmSDENGlE0DQis4pQIpFgcA+Ok7l0hdqkiNs9ZqdcSsO679s BNKQ== MIME-Version: 1.0 X-Received: by 10.112.44.134 with SMTP id e6mr77993lbm.134.1358912952852; Tue, 22 Jan 2013 19:49:12 -0800 (PST) Received: by 10.152.11.169 with HTTP; Tue, 22 Jan 2013 19:49:12 -0800 (PST) In-Reply-To: <50FA7153.403@gmx.at> References: <50F98C7B.8090708@gmx.at> <50FA7153.403@gmx.at> Date: Tue, 22 Jan 2013 22:49:12 -0500 X-Google-Sender-Auth: JUjZX_L_IZUB7BBt9kzALloWNbc Message-ID: Subject: Re: bug#13479: Cross Compiling for ARM From: Ross Biro To: martin rudalics Content-Type: multipart/alternative; boundary=bcaec554d29ad5e0b404d3ec93ea X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 13479 Cc: Stefan Monnier , 13479@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) --bcaec554d29ad5e0b404d3ec93ea Content-Type: text/plain; charset=ISO-8859-1 I don't have a wset_new_total. Is that a new function? I'm using mostly stock 24.2. Ross On Sat, Jan 19, 2013 at 5:11 AM, martin rudalics wrote: > I haven't investigated. But because protecting those calls by if >> (initialized) and even moving the lisp->C binding for >> window_root_window_resize_**vertically to after initialization didn't >> help, I >> suspect the issue might be deeper than just protecting C calls to lisp. I >> really don't know how to follow up though. >> > > If Lisp hasn't been called yet, the root window cannot have > been split yet. So in the case at hand the following patch > sould work. Can you please try it? > > Thanks, martin > > > === modified file 'src/window.c' > --- src/window.c 2013-01-11 23:08:55 +0000 > +++ src/window.c 2013-01-19 09:54:07 +0000 > @@ -4207,8 +4207,15 @@ > > root = FRAME_ROOT_WINDOW (f); > r = XWINDOW (root); > - value = call2 (Qwindow_resize_root_window_vertically, > - root, make_number (- delta)); > + if (WINDOW_LIVE_P (root)) > + { > + wset_new_total (r, make_number (XFASTINT (r->total_lines) - delta)); > + value = make_number (- delta); > + } > + else > + value = call2 (Qwindow_resize_root_window_vertically, > + root, make_number (- delta)); > + > if (INTEGERP (value) && window_resize_check (r, 0)) > { > block_input (); > @@ -4245,8 +4252,15 @@ > { > root = FRAME_ROOT_WINDOW (f); > r = XWINDOW (root); > - value = call2 (Qwindow_resize_root_window_vertically, > - root, make_number (size - 1)); > + if (WINDOW_LIVE_P (root)) > + { > + wset_new_total (r, make_number (XFASTINT (r->total_lines) + size > - 1)); > + value = make_number (size - 1); > + } > + else > + value = call2 (Qwindow_resize_root_window_vertically, > + root, make_number (size - 1)); > + > if (INTEGERP (value) && window_resize_check (r, 0)) > { > block_input (); > > > > --bcaec554d29ad5e0b404d3ec93ea Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I don't have a wset_new_total.=A0 Is that a new f= unction?=A0 I'm using mostly stock 24.2.

=A0=A0=A0 Ross


On Sat= , Jan 19, 2013 at 5:11 AM, martin rudalics <rudalics@gmx.at> w= rote:
I haven't investigated. =A0But because protecting those calls by if
(initialized) and even moving the lisp->C binding for
window_root_window_resize_vertically to after initialization didn= 9;t help, I
suspect the issue might be deeper than just protecting C calls to lisp. =A0= I
really don't know how to follow up though.

If Lisp hasn't been called yet, the root window cannot have
been split yet. =A0So in the case at hand the following patch
sould work. =A0Can you please try it?

Thanks, martin


=3D=3D=3D modified file 'src/window.c'
--- src/window.c =A0 =A0 =A0 =A02013-01-11 23:08:55 +0000
+++ src/window.c =A0 =A0 =A0 =A02013-01-19 09:54:07 +0000
@@ -4207,8 +4207,15 @@

=A0 =A0root =3D FRAME_ROOT_WINDOW (f);
=A0 =A0r =3D XWINDOW (root);
- =A0value =3D call2 (Qwindow_resize_root_window_vertically,
- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0root, make_number (- delta));
+ =A0if (WINDOW_LIVE_P (root))
+ =A0 =A0{
+ =A0 =A0 =A0wset_new_total (r, make_number (XFASTINT (r->total_lines) -= delta));
+ =A0 =A0 =A0value =3D make_number (- delta);
+ =A0 =A0}
+ =A0else
+ =A0 =A0value =3D call2 (Qwindow_resize_root_window_vertically,
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0root, make_number (- delta));
+
=A0 =A0if (INTEGERP (value) && window_resize_check (r, 0))
=A0 =A0 =A0{
=A0 =A0 =A0 =A0block_input ();
@@ -4245,8 +4252,15 @@
=A0 =A0 =A0{
=A0 =A0 =A0 =A0root =3D FRAME_ROOT_WINDOW (f);
=A0 =A0 =A0 =A0r =3D XWINDOW (root);
- =A0 =A0 =A0value =3D call2 (Qwindow_resize_root_window_vertically,
- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0root, make_number (size - 1));
+ =A0 =A0 =A0if (WINDOW_LIVE_P (root))
+ =A0 =A0 =A0 {
+ =A0 =A0 =A0 =A0 wset_new_total (r, make_number (XFASTINT (r->total_lin= es) + size - 1));
+ =A0 =A0 =A0 =A0 value =3D make_number (size - 1);
+ =A0 =A0 =A0 }
+ =A0 =A0 =A0else
+ =A0 =A0 =A0 value =3D call2 (Qwindow_resize_root_window_vertically,
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0root, make_number (size - 1));=
+
=A0 =A0 =A0 =A0if (INTEGERP (value) && window_resize_check (r, 0))<= br> =A0 =A0 =A0 =A0 {
=A0 =A0 =A0 =A0 =A0 block_input ();




--bcaec554d29ad5e0b404d3ec93ea-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 23 02:32:45 2013 Received: (at 13479) by debbugs.gnu.org; 23 Jan 2013 07:32:45 +0000 Received: from localhost ([127.0.0.1]:45517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TxupA-0007vm-Mp for submit@debbugs.gnu.org; Wed, 23 Jan 2013 02:32:45 -0500 Received: from mout.gmx.net ([212.227.15.19]:59597) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Txup7-0007vZ-3C for 13479@debbugs.gnu.org; Wed, 23 Jan 2013 02:32:42 -0500 Received: from mailout-de.gmx.net ([10.1.76.2]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0M7FLk-1T0zMZ3d5S-00x284 for <13479@debbugs.gnu.org>; Wed, 23 Jan 2013 08:31:25 +0100 Received: (qmail invoked by alias); 23 Jan 2013 07:31:25 -0000 Received: from 62-47-40-128.adsl.highway.telekom.at (EHLO [62.47.40.128]) [62.47.40.128] by mail.gmx.net (mp002) with SMTP; 23 Jan 2013 08:31:25 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/he7BM0MnhS3aS/8Vd9M8hYHCfDHAFa904xBP1Fv t1jgLn7AApLyCe Message-ID: <50FF91CC.4020404@gmx.at> Date: Wed, 23 Jan 2013 08:31:24 +0100 From: martin rudalics MIME-Version: 1.0 To: Ross Biro Subject: Re: bug#13479: Cross Compiling for ARM References: <50F98C7B.8090708@gmx.at> <50FA7153.403@gmx.at> In-Reply-To: Content-Type: multipart/mixed; boundary="------------020209070507090100000106" X-Y-GMX-Trusted: 0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 13479 Cc: Stefan Monnier , 13479@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) This is a multi-part message in MIME format. --------------020209070507090100000106 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > I don't have a wset_new_total. Is that a new function? I'm using mostly > stock 24.2. These are setter functions whose purpose I forgot. I attach a manually and untested reconstruction of the original assignments. martin --------------020209070507090100000106 Content-Type: text/plain; name="resize_root_window_vertically.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="resize_root_window_vertically.diff" === modified file 'src/window.c' --- src/window.c 2013-01-11 23:08:55 +0000 +++ src/window.c 2013-01-19 09:54:07 +0000 @@ -4207,8 +4207,15 @@ root = FRAME_ROOT_WINDOW (f); r = XWINDOW (root); - value = call2 (Qwindow_resize_root_window_vertically, - root, make_number (- delta)); + if (WINDOW_LIVE_P (root)) + { + r->new_total = make_number (XFASTINT (r->total_lines) - delta); + value = make_number (- delta); + } + else + value = call2 (Qwindow_resize_root_window_vertically, + root, make_number (- delta)); + if (INTEGERP (value) && window_resize_check (r, 0)) { block_input (); @@ -4245,8 +4252,15 @@ { root = FRAME_ROOT_WINDOW (f); r = XWINDOW (root); - value = call2 (Qwindow_resize_root_window_vertically, - root, make_number (size - 1)); + if (WINDOW_LIVE_P (root)) + { + r->new_total = make_number (XFASTINT (r->total_lines) + size - 1); + value = make_number (size - 1); + } + else + value = call2 (Qwindow_resize_root_window_vertically, + root, make_number (size - 1)); + if (INTEGERP (value) && window_resize_check (r, 0)) { block_input (); --------------020209070507090100000106-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 23 23:42:50 2013 Received: (at 13479) by debbugs.gnu.org; 24 Jan 2013 04:42:50 +0000 Received: from localhost ([127.0.0.1]:47155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyEeG-00060u-GA for submit@debbugs.gnu.org; Wed, 23 Jan 2013 23:42:49 -0500 Received: from mail-pa0-f49.google.com ([209.85.220.49]:32984) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyEeD-00060i-Jy for 13479@debbugs.gnu.org; Wed, 23 Jan 2013 23:42:46 -0500 Received: by mail-pa0-f49.google.com with SMTP id bi1so5229850pad.8 for <13479@debbugs.gnu.org>; Wed, 23 Jan 2013 20:42:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=t9dePx0sWeNCPPcFVHKhkwlXv/dj81evUO9Ms8khIB8=; b=Op1vF5XUD04suLjQ9GQfNBQDbj43iRKnEtkybwmLwY3hvKwrQW2hskI+HbZ+x5cjjy BWNN7Ige+YRgCKc/XF3pdxKl32hFvl2EG7ENuwmTwHpNfaRpYgJc6ohkMLKN38KIkF5C FKnpzxf3wbc16GkkbzC7P7ePCyOytH+gg5oRdXXx4PI0zgcA53JSY5DHTfHsxbyAm9fX 6xuu4b+zbD91PhxB1Q6T6k8VqBlYQOewEbO2eO8G0quFcoec4fSozH5a1TerITruX+xd nyfi71fqKpzMFo0YCB9aq4w/iTTdw6XxPf1fbwudiCWORgHJfTsdowB8rdgzDmNRudpT IyIA== X-Received: by 10.66.72.201 with SMTP id f9mr1576926pav.38.1359002564217; Wed, 23 Jan 2013 20:42:44 -0800 (PST) Received: from home.jasonrumney.net ([180.75.201.177]) by mx.google.com with ESMTPS id na7sm14090618pbc.48.2013.01.23.20.42.34 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Jan 2013 20:42:42 -0800 (PST) Received: by home.jasonrumney.net (Postfix, from userid 1000) id 4DF0355E; Thu, 24 Jan 2013 12:42:26 +0800 (MYT) From: Jason Rumney To: Stefan Monnier Subject: Re: bug#13479: Cross Compiling for ARM References: Date: Thu, 24 Jan 2013 12:42:26 +0800 In-Reply-To: (Stefan Monnier's message of "Fri, 18 Jan 2013 09:26:49 -0500") Message-ID: <87obgfw5sd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 13479 Cc: Ross Biro , 13479@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Stefan Monnier writes: >> Obviously, I also had to CANNOT_DUMP=yes as well. > > That's a problem that would need to be solved, of course, because there > are invariably more bugs in this mode of operation. > >> 1) ... However make-docfile and test-distrib need to be built with >> the local compiler... > > We could incorporate this part of your changes, I think. > >> 2) The lisp and leim directories really want a local copy of Emacs to >> compile. > > ... > An alternative is of course to use an emulator to run src/emacs and/or > src/bootstrap-emacs. Using an emulator would allow dumping as well, and could also be used for make-docfile and test-distrib. I think gcc has similar cross-compilation bootstrapping issues which have been solved in the makefiles, so that is probably a good example to follow if making cross-compilation work is something someone wants to seriously fix. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 07 15:27:03 2013 Received: (at control) by debbugs.gnu.org; 7 Feb 2013 20:27:03 +0000 Received: from localhost ([127.0.0.1]:42433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3Y3j-0003Q3-Cv for submit@debbugs.gnu.org; Thu, 07 Feb 2013 15:27:03 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:48004) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3Y3h-0003Pf-FO for control@debbugs.gnu.org; Thu, 07 Feb 2013 15:27:02 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U3Y3h-0000Hb-P9 for control@debbugs.gnu.org; Thu, 07 Feb 2013 15:27:01 -0500 Date: Thu, 07 Feb 2013 15:27:01 -0500 Message-Id: Subject: control message for bug 9192 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) forcemerge 13479 9192 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 10 06:11:30 2024 Received: (at 13479) by debbugs.gnu.org; 10 Jan 2024 11:11:30 +0000 Received: from localhost ([127.0.0.1]:42183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNWUc-0008Es-Cx for submit@debbugs.gnu.org; Wed, 10 Jan 2024 06:11:30 -0500 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:50617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNWUa-0008Ef-2h for 13479@debbugs.gnu.org; Wed, 10 Jan 2024 06:11:28 -0500 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-55569b59f81so4906462a12.1 for <13479@debbugs.gnu.org>; Wed, 10 Jan 2024 03:11:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704885075; x=1705489875; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=vOml0LCuID+CFqQEJBxWk9aUtvf615VT2UO8e8Hrw2o=; b=fNW7pD4FDsVlVawT4QrpCYxnb4X41Nsz0lnI0ldG99Civ6ibLV3UgPWLEX1ya9i5QR iBSOHKZmrYP2GEkG4ZB8eDZcIbgNtuFFTIM3CFbZe0Ctn30l+cLNcnpldRtFfqxd7UmD 1Th5Y+ZdeOifL8dBeCdwO5Uyf2kw+wfnW2cbrWrVSUNJc+LZuMCOhPcUSGYk1i94B5Rg OT0a4j/I6Js1DXkdtk0iR7Y/KpqvSe+uMtwgXGjFzRxpelQjP9n4LbEO+/+IP94JrLDl W2OZ+7NE/xqE379ysYHSLF9/BW7TgQFVCGWRbN0jTNvJCGqXfHw+0KvybTvmmtxG0TlA tMhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704885075; x=1705489875; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vOml0LCuID+CFqQEJBxWk9aUtvf615VT2UO8e8Hrw2o=; b=h6flfBRxEfa1lC1pw/3ElgtiZjuvlZNXQAw86AXdZX26mKBz/gRgCgSuPAiUIFu5+6 fyvk9XWTsDPXschJa5NS21+gFXiFqHRq+/oDc8dY2lyGDwNLnkT1DJ3W8sHtPTahTlty BDyQCklHPtcPP3NyH3Za8j3fMvKgMqvqZTiAsegt6idgYWzc3dLVVtyei4d7QWvVAGCg 4h6N4SpO8SqOJtk2BekhuLi+1E69TRrxiQqPEN8mWv+QYYLVuaUr0nzpEZ6XpBsrrv4f 5QBnlyX9CFuTufbEFN9z/tv7wXBkekw19R/4qJZZxl90USMERt8imdnQ//uynLY1nvdp mwnw== X-Gm-Message-State: AOJu0YzmmjhXPN2YCn5EFjYxVvMVWwBANIv7IRxDM0jrJYKUJ7hk1Y3V tDVswO0xhYCEWuEeoiDdLHCAw++0CDIk3BlKkP7MeefYU8zOyA== X-Google-Smtp-Source: AGHT+IEY2Y91fAGCTsPJGRZJwGJ0g/sx4i8zCAATfo2HLAkvt9nvytx8ZmpXk/W8C6Cv0C2fsgu6Iy/RhOoMo8Ahsdw= X-Received: by 2002:a50:8a9e:0:b0:556:95bb:8112 with SMTP id j30-20020a508a9e000000b0055695bb8112mr372353edj.19.1704885074746; Wed, 10 Jan 2024 03:11:14 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Jan 2024 03:11:14 -0800 From: Stefan Kangas In-Reply-To: (Ross Biro's message of "Thu, 17 Jan 2013 14:36:08 -0500") References: MIME-Version: 1.0 Date: Wed, 10 Jan 2024 03:11:14 -0800 Message-ID: Subject: Re: bug#13479: Cross Compiling for ARM To: Ross Biro Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 13479 Cc: 13479@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ross Biro writes: > I just more or less successfully compiled emacs-24.2 for a Samsung Chromebook. I did it by using the chrooted build > environment for chromiumos. In the process I learned a couple of things. > > I used the configuration: > > ../emacs-24.2/configure --build=x86_64-pc-linux-gnu --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi - > -with-x-toolkit=no --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no --without-xml2 --without-gnutls - > -without-x --without-dbus --with-crt-dir=/build/arm-generic/usr/lib/ > > Obviously, I also had to CANNOT_DUMP=yes as well. > > 1) It doesn't look like emacs has a concept of a BUILDCC. I like to set CC to the cross compiler since that seems to be what most > things need. However make-docfile and test-distrib need to be built with the local compiler. Usually the path to the local compiler > is stored in BUILDCC. I just changed the $(CC) to $(BUILDCC) in the makefile for those two file and everything compiled ok. > > 2) The lisp and leim directories really want a local copy of emacs to compile. Since I didn't have one available in the chrooted > environment, I just used /bin/true. Suboptimal, but it let the compile complete. I didn't see an obvious way to set the path to an > external emacs, I just edited the makefile. > > 3) Now, a real bug. With an undumpped emacs, window__resize_root_window_vertically is called before it's defined. Even > putting if (initialzed) before the call didn't help. I had to put if (!EQ (XSYMBOL > (Qwindow_resize_root_window_vertically)->function, Qunbound)) before the two calls to call2 > (Qwindow_resize_root_window_vertically, in window.c. > > Now, I'm going to try to and some more libraries and do some additional testing. If anyone has questions, email me directly. > > Ross That was 10 years ago. I'm therefore reaching out to ask if this bug is still relevant, or if it has since been fixed? If I don't hear back from you within a couple of months, Ill just assume that this has been fixed and close this bug. Thanks in advance. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 10 06:11:51 2024 Received: (at 13479) by debbugs.gnu.org; 10 Jan 2024 11:11:51 +0000 Received: from localhost ([127.0.0.1]:42188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNWUx-0008Fg-6i for submit@debbugs.gnu.org; Wed, 10 Jan 2024 06:11:51 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:49337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNWUv-0008FL-QW; Wed, 10 Jan 2024 06:11:50 -0500 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5542a7f1f3cso4658498a12.2; Wed, 10 Jan 2024 03:11:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704885096; x=1705489896; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=4be466+XDdwjLb3IiDwM8tMOqyU8Kdjhw+Km3ZSktHo=; b=Y8LB1uInpah2SMFt4swL5RbGtGsXMRFYpcMJf3eW7/ElfSYgNz2CsRwszq8/kBqhbO VNXJyE8WYPeZFr4OBzoac18uQQ/AjhuYP/PU7ZxSXwnAOxFUeCEYMUju93u4n9fm65zX YE5SLRK63eqlJUh4EF7U0oBF2Vog1iBceATX5ukcep2j7YD94NCq4ycCF3CDmzKPPGXR frRudiGzI0EVLGjq4FcD7B+wWBvk2JR32JJ8yW3zE1nAWpTLr09egZu5Nj7CK61hMEcW WwpbbpNUYjW51LRhVO8pl+CXDqaEUzUHtGEBJsld/W0I/ozAANNBB7Tnx0z8zVWT53fv Asxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704885096; x=1705489896; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4be466+XDdwjLb3IiDwM8tMOqyU8Kdjhw+Km3ZSktHo=; b=MnfLk8F7uYke8LDWUc/x4SCJYxIL1X6h9izgbwygtioDr2N9RmMrnMQPmDGkrmLbmq whFymz7abkk7OD+DpPyIA9KDdUrqa7kaGNdtwc13o/Y6z2QeCXSKA629pB1gU7XdsAjV uC8OAq8WPICXdPi8Sj45Uzb4ROrWVQMoPTD1qFq4m78Wq6iLSvEV0ldt4YjsC6Fft/DD 5mYe4jcnDrVIyIh2qBTxiJTK0UezB1Qc7VlcUDwJK/YzEdsJVOvIiKZd/Ur1IrUiuAd/ Cft6d5KjgArNDdQJYguHTX8w1eyHWiEQe3RoE68j6ALvLI6jOZPbwrh4S47sJmUzI+a1 CapA== X-Gm-Message-State: AOJu0YxGsVfh4mW4Vsadynn2n4rt2qEjtNgyi1VAwUIQwkbjNVLmEVnT /qSmTnBlmKNb4Ca8svvihnSkBSnepKDVBU2fLlOSABCCrEtj4w== X-Google-Smtp-Source: AGHT+IEMh5hAMkBnT6+FrZhTKY9z78TciSHceuwvu5vtre5yKkC5xoav7nvDatjdk2ygNuu0TDcmI15OqisGIUX5Paw= X-Received: by 2002:a05:6402:b08:b0:553:56f9:a734 with SMTP id bm8-20020a0564020b0800b0055356f9a734mr304079edb.27.1704885096638; Wed, 10 Jan 2024 03:11:36 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Jan 2024 03:11:36 -0800 From: Stefan Kangas In-Reply-To: <34DD1295-A6F6-4757-9828-BC61D23E2D8E@iotcl.net> (Toon Claes's message of "Thu, 28 Jul 2011 20:53:40 +0200") References: <34DD1295-A6F6-4757-9828-BC61D23E2D8E@iotcl.net> MIME-Version: 1.0 Date: Wed, 10 Jan 2024 03:11:36 -0800 Message-ID: Subject: Re: bug#13479: Cross Compiling for ARM To: Toon Claes Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 13479 Cc: 9192@debbugs.gnu.org, 13479@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Toon Claes writes: > I was trying to cross-compile emacs for ARM (don't ask me why). > But got an error during 'make' (see output below FIRST RUN). > > So it's for sure 'test-distrub' was build for ARM, while it is trying to run on i686. > > On the second run (just, ran 'make again), I got a similar error on 'prefix-args'. > But for some reason the 'test-distrub' error is gone (probably because 'make' thinks it is already finished. > > So I have to compile them with the host compiler (i686). > But I'm not sure how to implement this properly. > > > Also I would like to get rid of the warning: "LIB_GCC" redefined That was 12 years ago. I'm therefore reaching out to ask if this bug is still relevant, or if it has since been fixed? If I don't hear back from you within a couple of months, Ill just assume that this has been fixed and close this bug. Thanks in advance. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 10 06:12:26 2024 Received: (at control) by debbugs.gnu.org; 10 Jan 2024 11:12:26 +0000 Received: from localhost ([127.0.0.1]:42194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNWVW-0008HO-Kc for submit@debbugs.gnu.org; Wed, 10 Jan 2024 06:12:26 -0500 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:47294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNWVU-0008H7-Tf for control@debbugs.gnu.org; Wed, 10 Jan 2024 06:12:25 -0500 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-50e72e3d435so3971911e87.2 for ; Wed, 10 Jan 2024 03:12:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704885131; x=1705489931; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=Nhjn3OOIouELsndeE7Dqx/elUmGwEGLQXAf2ytrPCPA=; b=KqLU28pFbYki+ViAPTNB4S36ZbGXWBhO7BfSnJmxebKdp+gaFpzdCkZAbDrRE768M5 EzUn37ftVKFwFPfeDNszQrPjEkuyLxtRg463Oj0Fk/uNw5PmkqQaDBrgAJBOAhhM68rr z7TfHxXZKNBxzpWOWenE8i1yBBHAUV3BxN8c3CiKEpnQvLK9DLaPptdrOw/T9vc2zoEV 3TseY3D/KRpu6+s3fZFKNcnM53H4RNZShkM2IBF0q3QYus1x1hMWsGgU1fg5FtNBQEJ+ Vt0O+FB6yJot7dltVLZedp2u54cLi/KH0RtBxloiDNLl07ev0UjH6BODPFL44AnOjx+i EwTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704885131; x=1705489931; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Nhjn3OOIouELsndeE7Dqx/elUmGwEGLQXAf2ytrPCPA=; b=A4aUaN1ZBRxrFgR/29ogY/ue5qqasPAFe1wXF8qJXROvlvHainKQ8OZO37JD9doh2S XSsADecgDpWFn45jzcnL8fSWAYBZO/DQrj+biLgmfqlXFgHWN9peV5anrnntysV/XLBo MHSo+7nWH8i1TzdgJAo+Iw9XTLg01PkoX6UBawfPWAyIdakWoKBpHQz18oB3ZAT5V5KC GFAMhWdSxw16I6gr03JJeKdDk14YJHtsKbISbHwh80rx/1tu/xfUvxWQH+rNqftNTbFw h3c76qvkTN0F9t6kF+xoQGIR50s7EMsX6pNfQeVP3KMtfKK41xj27yCt+LSR3wGMMSOI oAnA== X-Gm-Message-State: AOJu0Yx4szoaBoC78fTV4vwrp/T4TLbCvWGnIJAQ9b7jiPlGfoIWoXmq t6xzkID3882xih/mfkSZu8huT0doYhs8o8f0ydhRWW68Zqu4Fg== X-Google-Smtp-Source: AGHT+IEf/88vm7iZoshQ1qCS4fy3nA1pNLsrJaq3RPlvo001JbqALngfNRisVxbvvcPrlmAMUC4dbbzHwmxvRLkVJQk= X-Received: by 2002:a05:6512:3b2c:b0:50e:82e7:912b with SMTP id f44-20020a0565123b2c00b0050e82e7912bmr240279lfv.138.1704885131455; Wed, 10 Jan 2024 03:12:11 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Jan 2024 03:12:11 -0800 From: Stefan Kangas MIME-Version: 1.0 Date: Wed, 10 Jan 2024 03:12:11 -0800 Message-ID: Subject: control message for bug #13479 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 13479 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 10 06:44:28 2024 Received: (at 13479) by debbugs.gnu.org; 10 Jan 2024 11:44:28 +0000 Received: from localhost ([127.0.0.1]:42325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNX0V-0006KH-QA for submit@debbugs.gnu.org; Wed, 10 Jan 2024 06:44:28 -0500 Received: from sonic316-22.consmr.mail.ne1.yahoo.com ([66.163.187.148]:46537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNX0T-0006Ju-Dh for 13479@debbugs.gnu.org; Wed, 10 Jan 2024 06:44:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1704887051; bh=VyMM+cuhAYd9Tz28S2gE6E4F8uXsY8y/PHb1Fih8fbM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Nqk4ouuOPjIBaQE8rC2pNWevovM2ev7XE9xQXCs7o5TVuLMlZhfB/OXecce4CcRV+JTQXugVbGt4BPhZwwIZ/UVEI/LwOYco/7QH+B+hDq4Kac7euTx0KK7ntA5TFd0+yEnYoeII+MMofh9qssopYOAn3HzaegDJOaEhGnKswyRNHNVcaI3r8i8KPDMmFVC5L+f68LFMk8nR34lfU+u5tHTY0KeeB0iBzKW9I2mzEEGp64ipJYP1vG9sK+lhg8AZmH7XNU9URNACIzjNOEtlVHNGq4sCOKBnta9PR5f9E44RZEfxH4DHtUDAowgQ9MnHRLl4Gnv6CDXUcgmCRL3nEA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1704887051; bh=WL2PkcbnUCh7QpQ2qgybBdmNmkVQZcMVJECThaJwSe0=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=PBRLu51O4crF1EomziOLKLtOIG/0oTMIsw2qIyHuMLdlYPRaLILx00ffVERIayZWRrAJNeKSU/kPIrz9b28RVCDEsw9zgvUf7sT1Yj487ufed3kKP3DXFC13DkggTNPE7y3Q6MHK/YK/s9CkJ6O5sQM5hwqOdWvnLjkaH4rPQG5eJkCmNI2sItQ0Ih2WTV8OzT2os6ail2+2N1BFMa7yMd5KpP7WYXN5al+Wo7u1VV6yZsW0/tj+B1k7kMUQNoUV+podj57Tr67hsKItWx1WFAB5O3iXSmEOZXS4HYSc+EgjIk23tPEVYsMzC1xNPFvUO4F23fLm42leDmWyEcu5Zg== X-YMail-OSG: zJH0EQoVM1l1D5WOiPWuLO6UVkcG3zye31NJ9_5MU3ci6dxdBtv_u_UpBHKaC4o hIRFEebJKoGELQavu.5QG17RWrcvxlg5K7HH5fkNu_bTXiEfs__559Ro.4IACM0DHTPgttQs.P_O Wc.2T.N7MaRsHy6ydnlRvFytcVP39tiur.FFkbcuUW_PeddQwmH6lA9E6XRd5VEvWVnzr7ZphsiB PMtoAmCa.N.z2ZbPHnHRYVZI9YSReQdbmZnR4x59U3M0sL8IhDy8pfhmTLlsA4jf60vQ_7ND9QHr TXJf7k.0wziOp2iSWNSBlS5c5ifcKwy_FVjFGt4prOJk2H9wGBrP8pg1wAObxYY5IAKcvvxPGpsk iNSQ_GsmP.zdmyXAH2MA6O5z6yY_FkIzkz_Xg6wIfGMNTvceHB.928Sk52gDPwtOAcXKnvHBmqIj 1krr1qikyWwRAUYHUAL71g2YqMS9piQJLzYCw4X3Gv5xH0NdZkgoQ46HK547I7DnA2eATVcJCiFY 1OfhgEWD5jvuWQjm_xAgRvF335.P40fltsb5uyphziQJyuKCZotetqa5iNywt4CtIO1soxYsbyCb 0oPF8Ar7FZRAlOp.ydYiE3hWClMx.BAwE8cElt2WDCtVTb9MJVQORnkpEU4Yf2zQjnW98JBFQWqQ RcdQTHc7DBWRvg22tmCvBMaPzGpvl.hp4kirWwcVe2Q1xf19Coki4hBVs3lT4oC2udn3WSfEEpT5 ZFthAZtWI842piCC7WyRvPmtTJx0QTBrJhPJvrjsdK0oIKDPS.ecZqQGhv8SU8ypRE8vl0SLHSTq ZeenJyr3v0JyRVDPxG1_3jGTQ92x1rTunQysIt4VXQnGQwEw9MyouPcUoFogr8UcAtROdHvLPuTk bN1QiCNh2twlLsLZKYpm9vS2yweJL38XUbYBSYMoUUYa_uxOuqMYCmnIyOV5fiO4jVpfZkCkxaA6 N4zV7Yg7_S0RbNhgQxemA4hvC.iF2bg3m8r02Ajc_gzwyGQcDAlq5IPNiSniE70LP5qh79s.sIqG mvgsZ36NJv2d7TRV4id2jxXVA_oM_7cSLSd7dch2pGWgIeHYXslI3SAwjgBHTQyQvgwwM5xx6YL2 QR5T9_6bdunNUpq9rVOUCPSQ2IPe.6IL_nkw8lAMGUArO4fpbrEkkxqoyk64IEl8E0KrGmiu0lfu yLMbdABm0pzT6f9cyDkzlrozVIibk9UKO.05ldytcFdMOZxxwgKIdXIop8HV5R_cQAEqAfQBkShx iz90NaiR0ZDzns7_SZWRo1Ugecggban0ZqECxIDLuDQ7FYmxDm82sTSGEWmpK6xyjkUZilx6IR7Q C4t62XGGvDbUEA6fN5.rXqNoxg6xeRzcdWWbUjmfma_IX1C3fCxnRF30DET4Yf.ecu8v7_V3teN1 dFMHOwwCWvSrAVVbxGQEKKafhZhdP0fZB1ZGpWetfMMXzvrlOZUFpcTqg4aKP__BetIwQwJrO83r cWUPW1XEa89YE8TDS.5o11a_7iR6Z.uBMYcBAQQTe1kDLvIQ9epOtfvWrOJChMM_mhUi.Bn5FIOD LIj7gBT47jT0W3lW72cxC7077wQsMa07pyXV3bR9dVK5fOxd9sgU4XINk9IvhzLPj7EE0miIxdCa s643rvpApvIBePpN5iSf488QyJ2Rk3Bbz.gTQsoWJficXpWd7RlgITQkCt0VoimBP1fa.yN_iywv jxE0qsAlFvSFMfhieH55UCz28YN74DW3fMC6Dl2NLhvFLeLSfR0yYiJYk5kdtjxHdZDYBLwPTdXK tdU8XlgVlKu7sSGjJ2R59jzm5O3c79Hai5GvJc.UR2uzKuJBeVqsoubwYhlgmg9mFtbUB_L1aUcy 43PlQvlGscv0uaZakS7Q_4pkUA1jk8aYPC2dnywVuv2c.1HBh83X1_QvTA2lQxFCu9LjRIBvItsG 9zkmC76E8NpmnRgccwpWLNQ1yWPYQSmSBOdojJc.iXPEQYGXLaIpeOW57EASWgC5iPu_WfaE4sm4 .aVNVH1ASWS4DtXouuyRaO.poJ.LByTym88.3T5aqgZkLXHANzojPLAlVaYE1Y3VOf1llU.mmDrz DHZhlRpuafIopyxxCY.xNpdbqvXzW3TpZE87LzTpYjT5NbK5dPSF8gzi8H.qoYDui9W.kOTGHfD7 DzlRGC0_inrXnJ0V4nVh6eYszZDztTZYh9VE_cNSgKu0OS7fmOK9lEk6._J_ytAe.vv60BsqB9Gm fME0Hg7Ar8y58S8nHqkgH100o7X6JuRjsHWf7dIaQD6IyOfwcM5smIdTHTLI3fw-- X-Sonic-MF: X-Sonic-ID: 75f303d4-011c-44fe-accd-f3d7594c9479 Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Wed, 10 Jan 2024 11:44:11 +0000 Received: by hermes--production-sg3-65d57d948b-rz47z (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 14739104da03abc80b32971fb2dfe792; Wed, 10 Jan 2024 11:44:06 +0000 (UTC) From: Po Lu To: Stefan Kangas Subject: Re: bug#13479: Cross Compiling for ARM In-Reply-To: (Stefan Kangas's message of "Wed, 10 Jan 2024 03:11:36 -0800") References: <34DD1295-A6F6-4757-9828-BC61D23E2D8E@iotcl.net> Date: Wed, 10 Jan 2024 19:44:00 +0800 Message-ID: <87h6jl4dmn.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21952 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1278 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 13479 Cc: Toon Claes , 9192@debbugs.gnu.org, 13479@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: > Toon Claes writes: > >> I was trying to cross-compile emacs for ARM (don't ask me why). >> But got an error during 'make' (see output below FIRST RUN). >> >> So it's for sure 'test-distrub' was build for ARM, while it is trying to run on i686. >> >> On the second run (just, ran 'make again), I got a similar error on 'prefix-args'. >> But for some reason the 'test-distrub' error is gone (probably because 'make' thinks it is already finished. >> >> So I have to compile them with the host compiler (i686). >> But I'm not sure how to implement this properly. >> >> >> Also I would like to get rid of the warning: "LIB_GCC" redefined > > That was 12 years ago. I'm therefore reaching out to ask if this bug is > still relevant, or if it has since been fixed? > > If I don't hear back from you within a couple of months, Ill just assume > that this has been fixed and close this bug. The Android port is routinely cross-compiled for ARM systems, so despite its using a different build procedure from the rest of our builds, no code except dumping should remain that prevents cross-compiling Emacs. The OP's requirements have also been satisified by the Android port, which is supposed to support Chromebooks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 10 06:56:58 2024 Received: (at 13479-done) by debbugs.gnu.org; 10 Jan 2024 11:56:58 +0000 Received: from localhost ([127.0.0.1]:42371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNXCc-0000uM-3Z for submit@debbugs.gnu.org; Wed, 10 Jan 2024 06:56:58 -0500 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:46457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNXCZ-0000ts-IV; Wed, 10 Jan 2024 06:56:56 -0500 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-557a3ce9942so4013901a12.1; Wed, 10 Jan 2024 03:56:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704887802; x=1705492602; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=oUPaKjoy2pql5ocDMCyZsWwE2GeDK0V/jDD4pSPC8Kc=; b=MtZ8/Hp4NV6YYKfq8WQmrMJZ6pyZdbW+zrCbaZfmLalUcM3/MYEW/f8500ejglFBjV VVhCGn/rlV7RvzQ/8Nt83BQiVvUq4chlrxt9/fqNQXsR4lQNpFyUVJiyTQb4RSR7d5ft suSB5lXrR9HEuH8Q4pGL3CIcRakMfIs8AYC2wzdqXfzFNZqWWLeZO1C+qDysfEOgxaQ+ 3qbUbOGoX7M5u897B7GoXjQ7VnmZpDlW5QS8GLhIIU9rdNgj1DSz3YM2fmTSVdWeCinr +IK0sfNdrMzgoLnz0t9MldxHViDSKHxH6DJQss833vZMxKU1NTK7j89WV0gssK7V22b/ YMuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704887802; x=1705492602; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oUPaKjoy2pql5ocDMCyZsWwE2GeDK0V/jDD4pSPC8Kc=; b=igAMsJARIfYlXYMIISMWF+MNHomV9qSoMxWSzhkCw+pF0fckfTJCD2L0ACFKal1VUT QlpMQQIQMa7O63oluZfyPhx29SY/eZdUL+L3JNPWjMff52culz+t9OFm9Bu+D5uzwpkG LTU9i6KTU3HzqmUIH96Uft/pfh8CdGk9c1GBtEFXTpshNEq/hUcY0V8suS3mc8+Xbbg0 lMTSkqnuuHi6dhSntT2Q2ttO3Wwn37+lql26F9P7YDfNEEaqqAC4Bp8ZtuqygO146bLz j/YT+lNjHTXyUlF0ORgKOvCQ4Lcomqruc1JJ4XpIKt8RObQ8Ib76wOPLRpt1dV47A7p6 EfQQ== X-Gm-Message-State: AOJu0YyL55+tDl0X1SZdIOR/pL0UfSSiCCZc2uCWtc0bH6Y6sdlgCgA6 KQV4xj4oG8mxZvbMuL/Xc5425R0NvQpGIuJA9WA= X-Google-Smtp-Source: AGHT+IF3f8xULlbN785V0TYlpsv6alGoLDBE6CINCzxD7LimwqapYaZ0VZ+WdgrP1h3krpzkoqOsXug2zCqjayOXrbw= X-Received: by 2002:a05:6402:71a:b0:552:fcca:ee11 with SMTP id w26-20020a056402071a00b00552fccaee11mr250928edx.74.1704887802337; Wed, 10 Jan 2024 03:56:42 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Jan 2024 03:56:42 -0800 From: Stefan Kangas In-Reply-To: <87h6jl4dmn.fsf@yahoo.com> References: <34DD1295-A6F6-4757-9828-BC61D23E2D8E@iotcl.net> <87h6jl4dmn.fsf@yahoo.com> MIME-Version: 1.0 Date: Wed, 10 Jan 2024 03:56:41 -0800 Message-ID: Subject: Re: bug#13479: Cross Compiling for ARM To: Po Lu Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 13479-done Cc: Toon Claes , 13479-done@debbugs.gnu.org, 9192-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Po Lu writes: > Stefan Kangas writes: > >> Toon Claes writes: >> >>> I was trying to cross-compile emacs for ARM (don't ask me why). >>> But got an error during 'make' (see output below FIRST RUN). >>> >>> So it's for sure 'test-distrub' was build for ARM, while it is trying to run on i686. >>> >>> On the second run (just, ran 'make again), I got a similar error on 'prefix-args'. >>> But for some reason the 'test-distrub' error is gone (probably because 'make' thinks it is already finished. >>> >>> So I have to compile them with the host compiler (i686). >>> But I'm not sure how to implement this properly. >>> >>> >>> Also I would like to get rid of the warning: "LIB_GCC" redefined >> >> That was 12 years ago. I'm therefore reaching out to ask if this bug is >> still relevant, or if it has since been fixed? >> >> If I don't hear back from you within a couple of months, Ill just assume >> that this has been fixed and close this bug. > > The Android port is routinely cross-compiled for ARM systems, so despite > its using a different build procedure from the rest of our builds, no > code except dumping should remain that prevents cross-compiling Emacs. > > The OP's requirements have also been satisified by the Android port, > which is supposed to support Chromebooks. Thanks, I'm therefore closing this bug report. If this conclusion is incorrect and this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 10 08:50:32 2024 Received: (at 13479-done) by debbugs.gnu.org; 10 Jan 2024 13:50:32 +0000 Received: from localhost ([127.0.0.1]:39274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNYyW-0003CF-EV for submit@debbugs.gnu.org; Wed, 10 Jan 2024 08:50:32 -0500 Received: from out-187.mta1.migadu.com ([2001:41d0:203:375::bb]:12006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNYyU-0003C0-IJ for 13479-done@debbugs.gnu.org; Wed, 10 Jan 2024 08:50:31 -0500 References: <34DD1295-A6F6-4757-9828-BC61D23E2D8E@iotcl.net> <87h6jl4dmn.fsf@yahoo.com> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iotcl.com; s=key1; t=1704892581; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7E24Xtbj9SObgXxSxxEsGt16XlIhNi7BVItnhNUVl8E=; b=LPbY1pD2Iib+kHfR5VqIV45YcksVekFV4zNT/GQX+PJT08oYlEpBewsXA1M+ywvQp1wvWJ tNWiepD8b0GR0vGw+AhXS5gpcSzC/gmv0EMEWui2q89eYlxL6EuAkfbKl5cddZXlibKVmh eZR/IQ1AXrGlfYWmH9Q4Mn2/kZbdgqo= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Toon Claes To: Stefan Kangas Subject: Re: bug#13479: Cross Compiling for ARM Date: Wed, 10 Jan 2024 14:10:36 +0100 In-reply-to: Message-ID: <87cyu9fhwn.fsf@iotcl.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 13479-done Cc: Po Lu , Toon Claes , 9192-done@debbugs.gnu.org, 13479-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Stefan Kangas writes: >>> That was 12 years ago. I'm therefore reaching out to ask if this bug is >>> still relevant, or if it has since been fixed? I don't know if the issue still exists, and I have no way to test it. But I also assume it is no longer an issue, and agree to close this issue. Thanks for cleaning up this old bug report. -- Toon From unknown Sun Jun 22 03:56:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 08 Feb 2024 12:24:17 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator