all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Corwin Brust <corwin@bru.st>
To: Juan Miguel Carceller <j.m.carcell@cern.ch>
Cc: 62481@debbugs.gnu.org
Subject: bug#62481: Unable to build master
Date: Mon, 27 Mar 2023 09:43:14 -0500	[thread overview]
Message-ID: <CAJf-WoTD1mb01XFVTx=-TUfY-43+PUwT8M1u=csQSBqXFCBBVA@mail.gmail.com> (raw)
In-Reply-To: <A435CE89C7A57E4BA82AAD9AB31111B60FAA4966@CERNXCHG44.cern.ch>

On Mon, Mar 27, 2023 at 3:42 AM Juan Miguel Carceller
<j.m.carcell@cern.ch> wrote:
>
> I pulled today from the github mirror from master and now emacs doesn't build, even after a clean build. This is what I get:
[...]
> ./configure --without-sound --with-json --with-tree-sitter --without-gpm --without-selinux --with-native-compilation=aot --with-x  CFLAGS='-O3 -march=native -mtune=native' --without-mailutils
[...]
> My system is Arch Linux with everything up to date, gcc 12.2.1 and libgccjit 12.2.1. I don't know if I'm doing anything as it doesn't seem there have been recent changes and I have been able to build it a few weeks ago.

I doubt it makes a difference regarding the problem you are reporting,
but, In case it helps, I believe we need to pass a flag to make to get
ahead-of-time native elisp compilation.
I mention because, above, you use "--with-native-compilation=aot" and
I wanted to make sure you (other readers) are aware that configure's
--with-native-compilation doesn't take any arg.

In any case, FWIW, I was able to build the current master under
Windows/MINGW64 just now.  (So maybe this problem is specific to your
platform or doesn't affect windows or has been fixed or -rather
unlikely, I think- has something to do with the NC/AOT stuff I
mentioned.)

In any event, here's what worked for me, just now:

(export SLUG=30-$(git rev-parse --short HEAD); (./autogen.sh &&
./configure --with-modules --without-dbus --with-native-compilation
--without-compress-install --with-tree-sitter CFLAGS=-O2 && make
install -j 20 NATIVE_FULL_AOT=1
prefix=/d/emacs-build/install/emacs-${SLUG}) | tee
/d/emacs-build/install/emacs-${SLUG}.log)





      parent reply	other threads:[~2023-03-27 14:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-27  8:42 bug#62481: Unable to build master Juan Miguel Carceller
2023-03-27 13:56 ` Eli Zaretskii
2023-03-27 17:05   ` Andrea Corallo
2023-03-29 11:50     ` Arsen Arsenović via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-27 14:43 ` Corwin Brust [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJf-WoTD1mb01XFVTx=-TUfY-43+PUwT8M1u=csQSBqXFCBBVA@mail.gmail.com' \
    --to=corwin@bru.st \
    --cc=62481@debbugs.gnu.org \
    --cc=j.m.carcell@cern.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.