From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?0KDQsNCx0L7Rh9Cw0Y8g0J/QvtGH0YLQsA==?= Newsgroups: gmane.emacs.devel Subject: Re: Porting Emacs on new platform. Date: Thu, 16 Sep 2021 00:32:26 +0300 Message-ID: References: <877dfihc59.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e5a66505cc0f8867" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23071"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 15 23:48:41 2021 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 1mQcll-0005kP-KG for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Sep 2021 23:48:41 +0200 Original-Received: from localhost ([::1]:39304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQclk-0007ZE-FC for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Sep 2021 17:48:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQcd3-0004r0-Um for emacs-devel@gnu.org; Wed, 15 Sep 2021 17:39:42 -0400 Original-Received: from mail-vs1-xe2a.google.com ([2607:f8b0:4864:20::e2a]:40803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQccz-0000Pt-Rk for emacs-devel@gnu.org; Wed, 15 Sep 2021 17:39:41 -0400 Original-Received: by mail-vs1-xe2a.google.com with SMTP id l19so2772713vst.7 for ; Wed, 15 Sep 2021 14:39:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D82Zvyhk0UXRpwKMoae4ZvyxeXOCl5nNiki00HPWBQI=; b=im4YNkj8TxlCEpnBenM2Iidkv+PgXLFMuRKwYSXQVg0Eq263lpwahLj/OozPTcOPLF ItrZGqRf25t0F6l2UE9TwaEUP+WiZgodCy/xr53Dny1jJfG+MqhNonvjKTBt0qnRODhW cRVFp3q7Q/Kfifm1/i+puiwcWs5ehESWTQrbaZalWGjNl9MIA2cSP+N9oGBQxvWVN8ZR aOITyIdUY71WJ61FfAR0PCKAgbO9LmzsWnqARob08G34yFA3mvJbVb2nLMD3iYAwJFuH +4HduS1xfnvPlxbGxJjp8xi+cXjuuJevUX9tPX/jHiqY4k1Bo36rdBExqbCXGfNgTtlC Lcjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=D82Zvyhk0UXRpwKMoae4ZvyxeXOCl5nNiki00HPWBQI=; b=G0O6zw6CUYV3PEvUPSLFf/3fOA4qgqVsSl36Kl4RcaLYlw2ZSs1OlG+yvJMp89SSL+ NtT4lFMDZ2M6/LxZvcNPDnZkD1nDc9uVlBNGTic3npNkjHP55scT+nEq31j8hXgQwnPF 5af6jxeDYwpcUED8iy+zSebMJ/i/2VhCIT70ZMErpsrlSUTBcutqN5/XnaJZ99OeT+TZ isM8KmjJRYHbP+jLnH05LaKgSnXVv0vSyvIbFBxFUnPewWphhGjG2mqlOYT9OcWQXq6u TG+vQ3KpEgM2/xN1I7wiykWFy6XXFnj+XYc5l2Gs9t90CBm0rN46Wj7aCLIfj9kugoCH OoeA== X-Gm-Message-State: AOAM532fo/rBjCqbXGWvopgFo07DmobUtgmR3lYZgCKaW+PNYeWcvibL jVrma48DOewbUnqcMO8drO/MWKjUMNpC3qSrAyo= X-Google-Smtp-Source: ABdhPJzOtj4BzG/lryWCfEJkk1nP/5WHDhKOAVoYkDihVcCfBNc7HP4H3e4tuRhEteBWiFZpMjtZcLlPAoxiSBDHXgY= X-Received: by 2002:a67:883:: with SMTP id 125mr2184454vsi.37.1631741976879; Wed, 15 Sep 2021 14:39:36 -0700 (PDT) In-Reply-To: <877dfihc59.fsf@yahoo.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::e2a; envelope-from=work.mail.for.me.tgg@gmail.com; helo=mail-vs1-xe2a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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:274780 Archived-At: --000000000000e5a66505cc0f8867 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for answering. This is a bug of building Emacs, not using it. ./autogen.sh ./configure --with-x-toolkit=3Dno --with-xpm=3Dno --with-jpeg=3Dno --with-p= ng=3Dno --with-gif=3Dno --with-tiff=3Dno make make install You can't repeat this bug. Because this bug is due to a new processor. But I would be happy if you said how to set flags to compile Emacs with debug information. =D1=81=D1=80, 15 =D1=81=D0=B5=D0=BD=D1=82. 2021 =D0=B3. =D0=B2 04:15, Po Lu= : > =D0=A0=D0=B0=D0=B1=D0=BE=D1=87=D0=B0=D1=8F =D0=9F=D0=BE=D1=87=D1=82=D0=B0= writes: > > > Wrong type argument: listp, make[1]: * [Makefile:824: > > bootstrap-emacs.pdmp] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 =D1=81=D0=B5= =D0=B3=D0=BC=D0=B5=D0=BD=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1= =8Fmake[1]: =D0=B2=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82= =D0=B0=D0=BB=D0=BE=D0=B3=D0=B0 > > ((exit from directory)) =C2=AB/root/emacs-27.2/src=C2=BBmake: * [Makefi= le:424: > > src] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 ((error)) 2 > > > > Wrong type argument: listp, make[1]: *** [Makefile:824: > > bootstrap-emacs.pdmp] Segmentation fault make[1]: =D0=B2=D1=8B=D1=85=D0= =BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0=B0=D0=BB=D0=BE=D0=B3=D0=B0 > > ((exit from directory)) =C2=AB/home/ddrdmakar/emacs/emacs-27.2/src=C2= =BB make: > > *** [Makefile:424: src] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 ((error)) = 2 > > If I'm not mistaken, this bug does not lie in the portable dumper. > Instead, I think, something is corrupting memory during loadup, which is > causing Emacs to try to print an invalid object. > --000000000000e5a66505cc0f8867 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for answering.

This is a bug of = building Emacs, not using it.

./autogen.sh
./conf= igure --with-x-toolkit=3Dno --with-xpm=3Dno --with-jpeg=3Dno --with-png=3Dn= o --with-gif=3Dno --with-tiff=3Dno
make
make install

You can't repeat this bug. Because this bug is due to a new processor= .
But I would be happy if you said how to set flags to compi= le Emacs with debug information.

=D1=81=D1=80, 15 =D1=81=D0=B5=D0= =BD=D1=82. 2021 =D0=B3. =D0=B2 04:15, Po Lu <luangruo@yahoo.com>:
=D0=A0=D0=B0=D0=B1=D0=BE=D1=87=D0=B0=D1=8F =D0=9F=D0= =BE=D1=87=D1=82=D0=B0 <work.mail.for.me.tgg@gmail.com> writes:

> Wrong type argument: listp, make[1]: * [Makefile:824:
> bootstrap-emacs.pdmp] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 =D1=81=D0= =B5=D0=B3=D0=BC=D0=B5=D0=BD=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8= =D1=8Fmake[1]: =D0=B2=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1= =82=D0=B0=D0=BB=D0=BE=D0=B3=D0=B0
> ((exit from directory)) =C2=AB/root/emacs-27.2/src=C2=BBmake: * [Makef= ile:424:
> src] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 ((error)) 2
>
> Wrong type argument: listp, make[1]: *** [Makefile:824:
> bootstrap-emacs.pdmp] Segmentation fault make[1]: =D0=B2=D1=8B=D1=85= =D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0=B0=D0=BB=D0=BE=D0=B3=D0=B0<= br> > ((exit from directory)) =C2=AB/home/ddrdmakar/emacs/emacs-27.2/src=C2= =BB make:
> *** [Makefile:424: src] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 ((error))= 2

If I'm not mistaken, this bug does not lie in the portable dumper.
Instead, I think, something is corrupting memory during loadup, which is causing Emacs to try to print an invalid object.
--000000000000e5a66505cc0f8867--