all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#51689: emacs
@ 2021-11-08 16:44 Han Boetes
  2021-11-08 18:15 ` Eli Zaretskii
  2021-11-14 19:26 ` Eli Zaretskii
  0 siblings, 2 replies; 16+ messages in thread
From: Han Boetes @ 2021-11-08 16:44 UTC (permalink / raw)
  To: 51689

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





^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-11-21  6:31 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-08 16:44 bug#51689: emacs Han Boetes
2021-11-08 18:15 ` Eli Zaretskii
2021-11-14 19:26 ` Eli Zaretskii
2021-11-14 21:20   ` Han Boetes
2021-11-15 12:33     ` Eli Zaretskii
2021-11-16  9:22       ` Han Boetes
2021-11-16 13:24         ` Eli Zaretskii
2021-11-17 17:45           ` Eli Zaretskii
2021-11-17 20:45             ` Han Boetes
2021-11-17 21:41           ` Han Boetes
2021-11-18  7:13             ` Eli Zaretskii
2021-11-19 22:18               ` Han Boetes
2021-11-20  9:36                 ` Eli Zaretskii
2021-11-20 14:59               ` Han Boetes
2021-11-20 15:15                 ` Eli Zaretskii
     [not found]                   ` <YZljMydhnoE0Di4p@boetes.org>
2021-11-21  6:31                     ` Eli Zaretskii

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.