From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nikos Patikas Newsgroups: gmane.emacs.bugs Subject: bug#66851: 30.0.50; Building emacs with native compilation fails Date: Tue, 31 Oct 2023 14:36:22 -0400 Message-ID: <874ji63ahl.fsf@gmail.com> 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="37825"; mail-complaints-to="usenet@ciao.gmane.io" To: 66851@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 31 19:37:58 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 1qxtcj-0009YW-6n for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Oct 2023 19:37:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxtcJ-0002F0-Db; Tue, 31 Oct 2023 14:37:31 -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 1qxtcH-0002Ec-6v for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2023 14:37:29 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxtcG-0002Ca-Vk for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2023 14:37:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxtco-0001TM-Fn for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2023 14:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nikos Patikas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Oct 2023 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66851 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16987774715638 (code B ref -1); Tue, 31 Oct 2023 18:38:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Oct 2023 18:37:51 +0000 Original-Received: from localhost ([127.0.0.1]:49156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxtcd-0001Ss-80 for submit@debbugs.gnu.org; Tue, 31 Oct 2023 14:37:51 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:34656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxtcY-0001Sb-AV for submit@debbugs.gnu.org; Tue, 31 Oct 2023 14:37:50 -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 1qxtbu-0002CJ-9S for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2023 14:37:06 -0400 Original-Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxtbs-00029z-K7 for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2023 14:37:06 -0400 Original-Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-41cd4446cf5so37424331cf.3 for ; Tue, 31 Oct 2023 11:37:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698777423; x=1699382223; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=n42tKKL4wvTaa6QmbgZlZO5Zue8gXfSMIUZHsqnwROQ=; b=FiCUW6Ogqk+DctEVILJi8qsRrEjMXGmMj6BusK7SmKzBmIIRWYdRbCUTDqpWTL0H/t qrTjuDJ5rNcMrvuChRKwKX6rNegJfDjoNEq0lIOua//jjL+twE5M4oF5Iu/iw59TINRJ 3+1WydBfj4iODCRR0ttVx9mCxAwHRQe78yM1tJca67CM7LSWdKyPSDwSIOw/G2YMn+5V ZMklvwUuPDCRaRf7d6ihwcVv2hmotwXb7WqojLHCPUosNPAov4+GJIWmFgUgfCnDiTCb yP5SHcdzYnxIR6aUYEN0JJrVLN9Now6xkkhcMbgyWEu6C8vTnPb0ZsBlthifDiuDKOkl 6EkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698777423; x=1699382223; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=n42tKKL4wvTaa6QmbgZlZO5Zue8gXfSMIUZHsqnwROQ=; b=Idtt431GDAKFKEe6J+b5sgegHJbLlkikpXNWm0qh1qfBSoc8Oj4GvZuTyT1O8augE6 EFY5r/FRgCYmRMWp0VT9rnS1ANDEXqFPPE2uFxehXz44iV+7E9osRVBayH4nuko6Ro71 RjLtwrXmoPvlJtV7sdNS+Pw+8cdzObW07Qy2rCH1WVMFYoLj2orm0Y6ngVYP7fGfJCYO HWaKq1hGqke0gLr+KlGBazqTexrClTaSV73RhGwTYMwav9dAeWvBjPcJWmvd/+1xxe6B AC1a0nnmlyIgpG1dlhJU9wN4LXcyjtEX3UGLjt5u4lmgyEZ614ndRorckIcbPitsFRBV iUGw== X-Gm-Message-State: AOJu0YzzvKsbrDZO/hU8Mn5tLQ/ejflJY2k6/kVKgK8EcZJwSASA1MAb T5DWW14Lyac/HWXLa0PTpGlGp6W9avA= X-Google-Smtp-Source: AGHT+IGVRJNqkSaPGBDjTcRJ4n6nQpvKLQ28YDdegiyGhC3ZVcNM33lC8Zlx7HbCvvNBtW/ZsohOGQ== X-Received: by 2002:a05:622a:41:b0:41e:3e21:a1b3 with SMTP id y1-20020a05622a004100b0041e3e21a1b3mr15796175qtw.56.1698777422853; Tue, 31 Oct 2023 11:37:02 -0700 (PDT) Original-Received: from smartheater ([132.183.56.68]) by smtp.gmail.com with ESMTPSA id e21-20020ac84b55000000b004108ce94882sm713809qts.83.2023.10.31.11.37.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 11:37:02 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::82e; envelope-from=nik.patik@gmail.com; helo=mail-qt1-x82e.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:273570 Archived-At: Hi, I am having trouble to build emacs with the native-compilation flag. I am using the following build options on the current master: commit 5f371ca07be891cc41e8e80b8a1bc9ffcc909363 (HEAD -> master, origin/mas= ter, origin/HEAD) Author: Stefan Monnier Date: Tue Oct 31 12:24:51 2023 -0400 * lisp/emacs-lisp/comp.el: Remove redundant requires I build with the following options: ./configure --with-json \ --with-imagemagick\ --with-pgtk\ --with-tree-sitter\ --with-native-compilation During make, I get a huge lisp code truncation followed by this error message: Symbol=E2=80=99s function definition is void: cl-find-class make[3]: *** [Makefile:323: emacs-lisp/loaddefs-gen.elc] Error 255 Symbol=E2=80=99s function definition is void: cl-find-class make[3]: *** [Makefile:323: emacs-lisp/radix-tree.elc] Error 255 make[3]: Leaving directory '/home/main/git/emacs/lisp' make[2]: *** [Makefile:1015: bootstrap-emacs.pdmp] Error 2 make[2]: Leaving directory '/home/main/git/emacs/src' make[1]: *** [Makefile:554: src] Error 2 make[1]: Leaving directory '/home/main/git/emacs' make[1]: Entering directory '/home/main/git/emacs' *** *** "make all" failed with exit status 2. If remove the native comp flag then it builds fine. Wondering if this affects only my system. Best, Nikos