From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.bugs Subject: bug#62481: Unable to build master Date: Mon, 27 Mar 2023 09:43:14 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6322"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62481@debbugs.gnu.org To: Juan Miguel Carceller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 27 16:44:22 2023 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 1pgo56-0001Kr-KB for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Mar 2023 16:44:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgo4r-0005GM-3n; Mon, 27 Mar 2023 10:44:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgo4p-0005Ez-L0 for bug-gnu-emacs@gnu.org; Mon, 27 Mar 2023 10:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgo4o-0007hq-Mb for bug-gnu-emacs@gnu.org; Mon, 27 Mar 2023 10:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgo4n-0006pZ-V3 for bug-gnu-emacs@gnu.org; Mon, 27 Mar 2023 10:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Corwin Brust Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Mar 2023 14:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62481 X-GNU-PR-Package: emacs Original-Received: via spool by 62481-submit@debbugs.gnu.org id=B62481.167992821426209 (code B ref 62481); Mon, 27 Mar 2023 14:44:01 +0000 Original-Received: (at 62481) by debbugs.gnu.org; 27 Mar 2023 14:43:34 +0000 Original-Received: from localhost ([127.0.0.1]:47950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgo4L-0006ob-8j for submit@debbugs.gnu.org; Mon, 27 Mar 2023 10:43:34 -0400 Original-Received: from mail-oa1-f50.google.com ([209.85.160.50]:41475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgo4I-0006oN-QN for 62481@debbugs.gnu.org; Mon, 27 Mar 2023 10:43:32 -0400 Original-Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-17ec8963db8so9474894fac.8 for <62481@debbugs.gnu.org>; Mon, 27 Mar 2023 07:43:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679928205; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DEEtyv0+qUC5Eh3gqzeKEgQTOHDvgsEyoDZgh9rSgno=; b=MqQFpWX6rjgVaMyIXpBZ0IkjJlfZoZ4E9dEMDyOU79Q/sXVupzZJ3fwZBHmjlRyUgw LOoxkerKXzw083DhdxRekB06O4/M01Y6n3ngRedDuKD2uS87BTWUysz8ruGk0AePHGzj brsyjYVgbwcFrw//aTfIGRbnBU0XkIvVhCIXtdg4WPjosU/tKPVDHja4iMoOUMd2/5GM KpzbtTy4y+I5+poRkS9nOdPe+3WgR9l40+9FN+JfIKMKYLpGbOdrNlzr4Jq6mDiJhxns /9gEAJgzcCxBLUxw3ez5Npln6fOcodIoRR/PZmr7/a9sgbgD0SCZqEn49BSGXiFkM5eW c3YA== X-Gm-Message-State: AAQBX9d5SDebebdUJIOTgTHeRd+Jud/uWHXa6DgMoEUg8TJ4G2KtwFoh EPj/bPUWb1pISw9dhN8DqiruDEEBudCmBNpbY30= X-Google-Smtp-Source: AKy350bKXbhG7VSzKYRObtfvhatR28IxdVGxWAZXXkyWa+19HbSe1KAfY/Qoci4mr4noWaYwPCYWF0FBUQDcyb9xd8s= X-Received: by 2002:a05:6870:13d7:b0:177:a8c9:9028 with SMTP id 23-20020a05687013d700b00177a8c99028mr3790753oat.11.1679928204921; Mon, 27 Mar 2023 07:43:24 -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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258741 Archived-At: On Mon, Mar 27, 2023 at 3:42=E2=80=AFAM Juan Miguel Carceller wrote: > > I pulled today from the github mirror from master and now emacs doesn't b= uild, 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=3Daot --with-x CFLAGS=3D'-O3 -= march=3Dnative -mtune=3Dnative' --without-mailutils [...] > My system is Arch Linux with everything up to date, gcc 12.2.1 and libgcc= jit 12.2.1. I don't know if I'm doing anything as it doesn't seem there hav= e 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=3Daot" 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=3D30-$(git rev-parse --short HEAD); (./autogen.sh && ./configure --with-modules --without-dbus --with-native-compilation --without-compress-install --with-tree-sitter CFLAGS=3D-O2 && make install -j 20 NATIVE_FULL_AOT=3D1 prefix=3D/d/emacs-build/install/emacs-${SLUG}) | tee /d/emacs-build/install/emacs-${SLUG}.log)