From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dang Allen Newsgroups: gmane.emacs.bugs Subject: bug#42486: 28.0.50; Bug of feature/native-comp branch. Error message native-compile-async: =?UTF-8?Q?Symbol=E2=80=99s?= value as variable is void: comp-native-path-postfix Date: Thu, 23 Jul 2020 15:35:57 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f1109705ab16e86a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9916"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42486@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 23 09:37:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1jyVmw-0002Pm-Ol for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Jul 2020 09:37:10 +0200 Original-Received: from localhost ([::1]:58188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyVmv-0005i9-CP for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Jul 2020 03:37:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyVmo-0005i3-Nn for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2020 03:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60442) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyVmo-00019R-Ej for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2020 03:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyVmo-0004aL-BR for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2020 03:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dang Allen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Jul 2020 07:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42486 X-GNU-PR-Package: emacs Original-Received: via spool by 42486-submit@debbugs.gnu.org id=B42486.159548978217579 (code B ref 42486); Thu, 23 Jul 2020 07:37:02 +0000 Original-Received: (at 42486) by debbugs.gnu.org; 23 Jul 2020 07:36:22 +0000 Original-Received: from localhost ([127.0.0.1]:43755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyVm8-0004ZQ-3P for submit@debbugs.gnu.org; Thu, 23 Jul 2020 03:36:22 -0400 Original-Received: from mail-ej1-f49.google.com ([209.85.218.49]:44898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyVm3-0004Z8-8T for 42486@debbugs.gnu.org; Thu, 23 Jul 2020 03:36:19 -0400 Original-Received: by mail-ej1-f49.google.com with SMTP id ga4so5283735ejb.11 for <42486@debbugs.gnu.org>; Thu, 23 Jul 2020 00:36:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RMwoYE4ZNAkFc9FXYWIvDB7lh6aO4RuvLJ9vjZpXGzM=; b=s2lgSmhfNvFTzx9KbBQvJ8XaXLcgNEmFBeaqfXaaX/qHk9g2GIL06itcwZQENIIDal mkNr3w1E2fWrPJ2QT9cau6QvbmeDuAjWVOpXJB4VPvuR39pr9bJM7YEsU+NZBeVwVivW 32zSjL9vlqhzZ5iGWMKUe5Rk6HTnthSvmr0AVkEnkoa0LaydJhiePYb6A+LCT7iqWQzD Xf/dohWRc5ZZ1RfiC3EUNV7rJB5yCOZzZGx1lgKhbs36dz/prwDmr3EzBdeg3I8cZESb m5CkQ+5cNLA3+wYF5RyDVIw0yVoMkx1u5Vf+1jjVY7KLwO1WqOlcS+mJKqPkI1WwsJVQ 1t0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RMwoYE4ZNAkFc9FXYWIvDB7lh6aO4RuvLJ9vjZpXGzM=; b=fQbvr/2fOJNSXLevjehiQ9QgL8bcn75+CWOKWAckUvtB4qDIFwBg8HNQYfZlFHt9/s VdPTl3r4b1nIP+qmsWJgpxzGx5F9YTy1HcrRDZuqaJLKqQ3wEYVDvuUQU1V/TWpY6bbc imgAqlU108W50Mk595Xrdf18K3fUlco+QYB3JnKsnPRDqIog/8CVvWdS/mb+K2cuSg9A ufuQYgmzGEMxiyoNMVrQj/pamgqQN+V0tnMkTuAEpEv3ssZQGLhDR0QYqZ/asmq0vvSi O1uGk87Q1s6M5YSq+uNxBhBKhPqQ3QkbmTd+5NBka9TKK2DLDoiFiCCIn/8txSnFR6ew dDAw== X-Gm-Message-State: AOAM531JgknvKSbRTIwT0HK5SPXTcID35A81X/WJ0yr9Jweub7S0rqSA VfPqVQqbnnX2dujFvwAJpmzru/LqwPpAdRBjiso= X-Google-Smtp-Source: ABdhPJzELp04D7ZOomFKzcCDAQQ0bsoP9dMbEdI14Y0RGyqFtDOlFvjCx1C2CuQaHCKJuSTG88u/8UvDsF/TM7Af20g= X-Received: by 2002:a17:906:7709:: with SMTP id q9mr3088310ejm.123.1595489769294; Thu, 23 Jul 2020 00:36:09 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:183404 Archived-At: --000000000000f1109705ab16e86a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sure, here it is. # native-comp optimization export PATH=3D"/usr/local/opt/gnu-sed/libexec/gnubin:${PATH}" export LDFLAGS=3D"-L/usr/local/lib/gcc/10" export LIBRARY_PATH=3D"/usr/local/opt/gcc/lib/gcc/10:${LIBRARY_PATH:-}" cd emacs || exit git clean -xfd ./autogen.sh CC=3D'clang' \ ./configure \ --disable-silent-rules \ --with-ns \ --disable-ns-self-contained \ --with-cairo \ --with-modules \ --with-nativecomp \ --with-xml2 \ --with-gnutls \ --with-json \ --with-rsvg # Ensure the directory to which we will dump Emacs exists and has the correct # permissions set. libexec=3D/usr/local/libexec/emacs if [ ! -d $libexec ]; then sudo mkdir -p $libexec chown $USER $libexec fi make distclean make -j 4 make install rm -rf "/Applications/Emacs.app" mv nextstep/Emacs.app "/Applications/" cp -R lisp "/Applications/Emacs.app/Contents/" Andrea Corallo =E4=BA=8E2020=E5=B9=B47=E6=9C=8823=E6=97=A5= =E5=91=A8=E5=9B=9B =E4=B8=8B=E5=8D=883:30=E5=86=99=E9=81=93=EF=BC=9A > I think the interesting line is: > > " Does Emacs have native lisp compiler? no" > > The output does not include the command issued. I you are running a > script could you please run it with -x and report it again? > > Alternatively you can also attach the script you are using to compile if > you wish. > > I'm interested in having a look at the configure invocation. > > Thanks > Andrea > --000000000000f1109705ab16e86a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sure, here it is.=C2=A0

# native-co= mp optimization
export PATH=3D"/usr/local/opt/gnu-sed/libexec/gnubi= n:${PATH}"
export LDFLAGS=3D"-L/usr/local/lib/gcc/10"
= export LIBRARY_PATH=3D"/usr/local/opt/gcc/lib/gcc/10:${LIBRARY_PATH:-}= "

cd emacs || exit

git clean -xfd

./autogen.sh
CC=3D'clang' \
=C2=A0 =C2=A0 =C2=A0./configure \
=C2=A0 = =C2=A0 =C2=A0--disable-silent-rules \
=C2=A0 =C2=A0 =C2=A0--with-ns \=C2=A0 =C2=A0 =C2=A0--disable-ns-self-contained \
=C2=A0 =C2=A0 =C2=A0-= -with-cairo \
=C2=A0 =C2=A0 =C2=A0--with-modules \
=C2=A0 =C2=A0 =C2= =A0--with-nativecomp \
=C2=A0 =C2=A0 =C2=A0--with-xml2 \
=C2=A0 =C2= =A0 =C2=A0--with-gnutls \
=C2=A0 =C2=A0 =C2=A0--with-json \
=C2=A0 = =C2=A0 =C2=A0--with-rsvg

# Ensure the directory to which we will dum= p Emacs exists and has the correct
# permissions set.
libexec=3D/usr/= local/libexec/emacs
if [ ! -d $libexec ]; then
=C2=A0 sudo mkdir -p $= libexec
=C2=A0 chown $USER $libexec
fi

make distclean
make = -j 4
make install
rm -rf "/Applications/Emacs.app"
mv ne= xtstep/Emacs.app "/Applications/"
cp -R lisp "/Applicatio= ns/Emacs.app/Contents/"

=
Andrea Corallo <akrl@sdf.org> =E4=BA=8E2020=E5=B9=B47=E6=9C=8823=E6=97= =A5=E5=91=A8=E5=9B=9B =E4=B8=8B=E5=8D=883:30=E5=86=99=E9=81=93=EF=BC=9A
=
I think the interes= ting line is:

"=C2=A0 Does Emacs have native lisp compiler? =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 no"

The output does not include the command issued.=C2=A0 I you are running a script could you please run it with -x and report it again?

Alternatively you can also attach the script you are using to compile if you wish.

I'm interested in having a look at the configure invocation.

Thanks
=C2=A0 Andrea
--000000000000f1109705ab16e86a--