From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Han Boetes Newsgroups: gmane.emacs.bugs Subject: bug#51689: emacs Date: Mon, 8 Nov 2021 17:44:54 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29031"; mail-complaints-to="usenet@ciao.gmane.io" To: 51689@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 08 17:46:11 2021 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 1mk7mc-0007FL-Vu for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Nov 2021 17:46:11 +0100 Original-Received: from localhost ([::1]:34260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mk7mb-0000Eg-Dn for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Nov 2021 11:46:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mk7mU-0000EX-Ko for bug-gnu-emacs@gnu.org; Mon, 08 Nov 2021 11:46:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mk7mU-00005g-CV for bug-gnu-emacs@gnu.org; Mon, 08 Nov 2021 11:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mk7mU-00037K-9Y for bug-gnu-emacs@gnu.org; Mon, 08 Nov 2021 11:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Han Boetes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Nov 2021 16:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51689 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.163638991811902 (code B ref -1); Mon, 08 Nov 2021 16:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Nov 2021 16:45:18 +0000 Original-Received: from localhost ([127.0.0.1]:59272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mk7lk-00035q-Ca for submit@debbugs.gnu.org; Mon, 08 Nov 2021 11:45:18 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:35896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mk7lg-00035c-3m for submit@debbugs.gnu.org; Mon, 08 Nov 2021 11:45:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mk7lf-00005R-Hm for bug-gnu-emacs@gnu.org; Mon, 08 Nov 2021 11:45:11 -0500 Original-Received: from dahud.boetes.org ([136.144.229.186]:24220) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mk7lb-000881-16 for bug-gnu-emacs@gnu.org; Mon, 08 Nov 2021 11:45:11 -0500 Original-Received: by dahud.boetes.org (Postfix, from userid 1026) id 214CCD1597; Mon, 8 Nov 2021 17:44:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boetes.org; s=woosh; t=1636389894; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uQDn3+1nKOfiRh3zA8SACH+8k5XbdTeAVhTrEaFMfJ8=; b=NYMhTwc1O70Wcbw93yRnWknfASr162wiYSc8hV7hHVaJCKNYTwwAaxJS6ELO91AHDsXrhW 41mVi4bb0lBJ+P+uQZPqBWKFMYAWP8U43VPwcFTTPM5ohVc8y6lvFmmh6HjsYvi/oZKUNy Jfanj6imhNwOHhsC5OL/xfBxDstMNiQBkfLmT5gchaCe+vk6cNm4mPNDWle5qDMeVcoFJF RRTq1cRddXH6iome4ZdQ/tswc03BdlZc6bMK5buhX14ZwCHlqsqmZXIMEtZaerFuezzWcQ OXO/E4Kv4E4d1SJjRJN5Xf5+yCQtfcHNvl6WxEbZ/LRBpNgei9OHh09CC2GNdA== Content-Disposition: inline Received-SPF: pass client-ip=136.144.229.186; envelope-from=han@boetes.org; helo=dahud.boetes.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" Xref: news.gmane.io gmane.emacs.bugs:219363 Archived-At: I compiled emacs with native compilation on OpenBSD-7.0 amd64 like this: export CC=egcc \ CPP="ecpp" \ CPPFLAGS="-I/usr/local/include" \ LDFLAGS="-L/usr/local/lib" ./autogen.sh ./configure --without-makeinfo --without-x --mandir=/usr/local/man --with-native-compilation gmake egcc (GCC) 11.2.0, is just gcc-11 which is traditionally installed as egcc to avoid conflicts with the usually somewhat older gcc in base. Now if I start emacs with: emacs -nw -Q ~/.config/emacs/init.el The file init.el is not loaded and I get a single error message: Symbol’s function definition is void: regexp-opt-group After which emacs works OK, for example c-x c-f ~/.config/emacs/init.el works as expected. Then I recompiled emacs without native compilation and the error did not occur. And now to make the case even more mysterious, if I start emacs normally, like: emacs -nw ~/.config/emacs/init.el Everything works fine. I accidentally discovered the problem by running emacs as a test user without configuration. Please let me know if there is anything I can do to help debugging this problem. # Han