all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
@ 2022-11-17 19:08 Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-17 20:04 ` Eli Zaretskii
  0 siblings, 1 reply; 15+ messages in thread
From: Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-17 19:08 UTC (permalink / raw)
  To: 59340

[-- Attachment #1: Type: text/plain, Size: 20900 bytes --]


This is written from Emacs compiled from the Git commit
686296b512cb43d031c8c48196a3d110492fcf08.

I tried to upgrade to the commit
1772d88c1fa811eee235ba9b8b7584bb000ac293 (made yesterday).  But after
installing it, I tried to run to and got various sorts of native
compilation errors.  I can at least use it the terminal, but starting
with EXWM makes it crash (I don't who is the culprit: EXWM or GTK+).

This also happened to me before when I tried to upgrade, but I didn't do
anything, because I'm lazy.

I have reverted to my old Emacs (this) after I encountered the bug.

I clearly remember two things appearing repeatedly in the *Warning*
buffer (in terminal), the first one "libgccjit.so: error: error invoking
gcc driver", and second one "FILE: Error: Internal native compiler error
failed to compile."

The *Async-native-compile-log* buffer says that ld can't find
crtbeginS.o, -lgcc, -lgcc_s and -lgcc_s again.  And the message again:
"libgccjit.so: error: error invoking gcc driver".

I have no idea what information would be helpful.  But this is easily
reproducible and I can run the new Emacs easily without bothering about
the installed one, thanks to Guix.  Please request whatever information
you need, I'll happily try to give you that.


In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Guix System

Configured using:
 'configure
 CONFIG_SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash
 SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash
 --prefix=/gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b
 --enable-fast-install --with-native-compilation --with-sqlite3
 --with-xinput2 --with-xwidgets --with-modules --with-cairo
 --disable-build-details'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3
ZLIB

Important settings:
  value of $EMACSLOADPATH: /home/akib/.guix-profile/share/emacs/site-lisp:/gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: @im=exwm-xim
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  shell-dirtrack-mode: t
  gnus-undo-mode: t
  lin-mode: t
  diff-hl-margin-mode: t
  diff-hl-flydiff-mode: t
  desktop-save-mode: t
  hl-line-mode: t
  gcmh-mode: t
  server-mode: t
  gtags-mode: t
  corfu-doc-mode: t
  corfu-history-mode: t
  global-corfu-mode: t
  corfu-mode: t
  global-anzu-mode: t
  anzu-mode: t
  isearch-mb-mode: t
  global-auto-revert-mode: t
  save-place-mode: t
  electric-pair-mode: t
  gc-buffers-mode: t
  which-key-mode: t
  marginalia-mode: t
  vertico-mode: t
  minibar-mode: t
  winner-mode: t
  workroom-winner-mode: t
  workroom-auto-project-workroom-mode: t
  workroom-desktop-save-mode: t
  workroom-mode: t
  savehist-mode: t
  recentf-mode: t
  shackle-mode: t
  blow-mode: t
  leaf-key-override-global-mode: t
  el-patch-use-package-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/akib/.config/emacs/elpa/transient-20221028.1430/transient hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/transient
/home/akib/.config/emacs/elpa/jsonrpc-1.0.15.0.20220714.101331/jsonrpc hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/jsonrpc
/home/akib/.config/emacs/elpa/flymake-1.2.2.0.20221026.210423/flymake hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/progmodes/flymake
/home/akib/.config/emacs/elpa/xref-1.5.1.0.20221015.114321/xref hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/progmodes/xref
/home/akib/.config/emacs/elpa/project-0.8.2.0.20221105.174557/project hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/progmodes/project
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-desktop-notifications hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-desktop-notifications
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-speedbar hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-speedbar
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-imenu hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-imenu
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-pcomplete hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-pcomplete
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-compat hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-compat
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-replace hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-replace
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-notify hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-notify
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-stamp hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-stamp
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-capab hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-capab
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-lang hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-lang
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-loaddefs hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-loaddefs
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-match hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-match
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-list hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-list
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-truncate hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-truncate
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-services hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-services
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-sound hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-sound
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-button hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-button
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-dcc hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-dcc
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-page hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-page
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-log hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-log
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-goodies hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-goodies
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-ezbounce hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-ezbounce
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-menu hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-menu
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-join hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-join
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-xdcc hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-xdcc
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-ibuffer hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-ibuffer
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-status-sidebar hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-status-sidebar
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-netsplit hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-netsplit
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-spelling hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-spelling
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-networks hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-networks
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-autoaway hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-autoaway
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-track hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-track
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-backend hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-backend
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-ring hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-ring
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-identd hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-identd
/home/akib/.config/emacs/elpa/erc-5.4.1.0.20221104.193223/erc-fill hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/erc/erc-fill
/home/akib/.config/emacs/elpa/eldoc-1.13.0.0.20221021.131008/eldoc hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/emacs-lisp/eldoc
/home/akib/.config/emacs/elpa/seq-2.23.0.20210925.195432/seq hides /gnu/store/kbim2zycpr57xyj9dbh8r013srkaaif3-emacs-edge-29.0.50-1.686296b/share/emacs/29.0.50/lisp/emacs-lisp/seq

Features:
(shadow footnote iwindow sx emacsbug bug-reference magit-extras
magit-bookmark magit-submodule magit-obsolete magit-popup magit-blame
magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch
magit-clone magit-remote magit-commit magit-sequence magit-notes
magit-worktree magit-tag magit-merge magit-branch magit-reset
magit-files magit-refs magit-status magit magit-repos magit-apply
magit-wip magit-log which-func magit-diff git-commit log-edit add-log
magit-core magit-autorevert magit-margin magit-transient magit-process
with-editor magit-mode magit-git magit-base magit-section compat-27
compat-26 flow-fill bbdb-mua bbdb-com crm bbdb bbdb-site gnus-cite
mm-archive mail-extr textsec uni-scripts idna-mapping ucs-normalize
uni-confusable textsec-check gnus-async gnus-bcklg sort gnus-ml nndraft
nnmh gnus-search eieio-opt speedbar ezimage dframe qp nnmaildir nnfolder
nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp
gnus-cache shell elisp-demos epa-file network-stream nsm smtpmail
helpful cc-langs edebug debug backtrace f f-shortdoc shortdoc elisp-refs
s dash dmenu net-utils misearch multi-isearch mode-line-bell orderless
info-colors mule-util plstore smerge-mode whitespace org-fragtog
org-inline-anim org-element avl-tree ol-eww eww xdg url-queue mm-url
ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-registry registry
eieio-base gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig
gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo
gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo
parse-time gnus-spec gnus-win gnus-int gnus-range message sendmail
yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config
mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus
nnheader gnus-util mail-utils range ol-docview ol-bibtex ol-bbdb ol-w3m
ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro org-footnote org-src ob-comint org-pcomplete pcomplete
org-list org-faces org-entities org-version ob-emacs-lisp ob-core
ob-eval org-table oc-basic bibtex iso8601 ol org-keys oc org-compat
org-macs org-loaddefs cal-menu calendar cal-loaddefs dired-aux vc-hg
vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs diredfl lin face-remap
flymake-cc macrostep-c cmacexp macrostep cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs doc-view
jka-compr image-mode exif markdown-mode edit-indirect battery dbus xml
mb-depth flyspell ispell texinfo texinfo-loaddefs goto-addr geiser-mode
geiser-xref geiser-compile geiser-guile info-look geiser geiser-debug
transient format-spec geiser-repl geiser-image geiser-capf geiser-doc
geiser-menu geiser-autodoc geiser-edit etags fileloop generator
geiser-completion geiser-eval geiser-connection tq geiser-syntax
geiser-log geiser-popup view scheme noutline outline mail-parse rfc2231
rfc2047 rfc2045 mm-util ietf-drums mail-prsvr hi-lock vc-git
diff-hl-margin diff-hl-dired dired dired-loaddefs diff-hl-flydiff diff
diff-hl log-view pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode
why-this color timezone desktop frameset pinentry package-lint-flymake
package-lint let-alist imenu finder find-func highlight-defined paredit
highlight-quoted aggressive-indent display-line-numbers
display-fill-column-indicator ws-butler highlight-numbers parent-mode
highlight-thing rainbow-delimiters hl-todo compat compat-macs hl-line
flymake-popon posframe popon checkdoc lisp-mnt flymake-proc flymake
compile comint ansi-color modus-vivendi-theme modus-themes gcmh init
time-date comp comp-cstr warnings exwm-xim xcb-xim xcb-xlib exwm-randr
xcb-randr exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating
xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh
xcb-icccm xcb xcb-xproto xcb-types xcb-debug server auth-source-pass
gtags-mode files-x xref corfu-doc corfu-history corfu anzu advice
thingatpt isearch-mb autorevert filenotify saveplace elec-pair
gc-buffers which-key marginalia vertico minibar winner workroom project
bookmark text-property-search disp-table savehist recentf tree-widget
shackle trace blow pcase edmacro kmacro cl-extra cus-edit pp cus-load
icons wid-edit leaf finder-inf vterm-autoloads guix-emacs
aggressive-indent-autoloads anzu-autoloads blow-autoloads
camera-autoloads cape-autoloads chess-autoloads closql-autoloads
consult-notmuch-autoloads consult-org-roam-autoloads
consult-project-extra-autoloads corfu-doc-terminal-autoloads
corfu-terminal-autoloads corfu-autoloads coterm-autoloads cov-autoloads
coverage-autoloads coverlay-autoloads crux-autoloads ctrlf-autoloads
easy-mmode devhelp-autoloads diff-hl-autoloads disk-usage-autoloads
doom-modeline-autoloads doom-themes-autoloads eat-autoloads
ef-themes-autoloads eglot-ccls-autoloads eglot-autoloads el-patch
el-patch-stub elisp-demos-autoloads elpher-autoloads elquery-autoloads
embark-consult-autoloads consult-autoloads embark-autoloads
ement-autoloads emms-autoloads erc-autoloads
eshell-syntax-highlighting-autoloads exercism-autoloads
async-await-autoloads async-autoloads a-autoloads exwm-autoloads
flymake-popon-autoloads flymake-autoloads eldoc-autoloads
gc-buffers-autoloads geiser-guile-autoloads geiser-impl help-fns
radix-tree help-mode geiser-custom geiser-base ring ghub-autoloads
gnuplot-autoloads rx hare-mode-autoloads helpful-autoloads
hl-todo-autoloads htmlize-autoloads info-colors-autoloads
insecure-lock-autoloads isearch-mb-autoloads iter2-autoloads
iwindow-autoloads keycast-autoloads kind-icon-autoloads leaf-autoloads
ligature-autoloads lin-autoloads geiser-autoloads macrostep-autoloads
magit-autoloads git-commit-autoloads marginalia-autoloads
mastodon-autoloads meow-autoloads minibar-autoloads
modus-themes-autoloads mood-line-autoloads mood-one-theme-autoloads
moody-autoloads multiple-cursors-autoloads notmuch-autoloads
nov-autoloads nubox-autoloads orderless-autoloads org-roam-ui-autoloads
org-roam-autoloads emacsql-sqlite-autoloads emacsql-autoloads
osm-autoloads ov-autoloads package-lint-autoloads paredit-autoloads
password-store-autoloads persist-autoloads plz-autoloads popon-autoloads
posframe-autoloads promise-autoloads quelpa-autoloads relint-autoloads
request-autoloads setup-autoloads shrink-path-autoloads f-autoloads
svg-lib-autoloads sx-autoloads markdown-mode-autoloads
taxy-magit-section-autoloads taxy-autoloads magit-section-autoloads
testcover-mark-line-autoloads transient-autoloads treepy-autoloads
ts-autoloads s-autoloads undercover-autoloads shut-up-autoloads
dash-autoloads vertico-autoloads which-key-autoloads why-this-autoloads
with-editor-autoloads compat-autoloads info workroom-autoloads
project-autoloads xr-autoloads xref-autoloads package browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x
map byte-opt gv bytecomp byte-compile cconv url-vars cl-loaddefs cl-lib
rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads xwidget-internal dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 1740168 334679)
 (symbols 48 80210 25)
 (strings 32 614797 82610)
 (string-bytes 1 31736325)
 (vectors 16 301245)
 (vector-slots 8 5150080 664274)
 (floats 8 1543 5136)
 (intervals 56 28322 11572)
 (buffers 992 104))

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-17 19:08 bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-17 20:04 ` Eli Zaretskii
  2022-11-18  9:01   ` Andrea Corallo
  2022-11-18 11:39   ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 15+ messages in thread
From: Eli Zaretskii @ 2022-11-17 20:04 UTC (permalink / raw)
  To: Akib Azmain Turja; +Cc: 59340

> Date: Fri, 18 Nov 2022 01:08:36 +0600
> From:  Akib Azmain Turja via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> I tried to upgrade to the commit
> 1772d88c1fa811eee235ba9b8b7584bb000ac293 (made yesterday).  But after
> installing it, I tried to run to and got various sorts of native
> compilation errors.  I can at least use it the terminal, but starting
> with EXWM makes it crash (I don't who is the culprit: EXWM or GTK+).
> 
> This also happened to me before when I tried to upgrade, but I didn't do
> anything, because I'm lazy.
> 
> I have reverted to my old Emacs (this) after I encountered the bug.
> 
> I clearly remember two things appearing repeatedly in the *Warning*
> buffer (in terminal), the first one "libgccjit.so: error: error invoking
> gcc driver", and second one "FILE: Error: Internal native compiler error
> failed to compile."
> 
> The *Async-native-compile-log* buffer says that ld can't find
> crtbeginS.o, -lgcc, -lgcc_s and -lgcc_s again.  And the message again:
> "libgccjit.so: error: error invoking gcc driver".

Does this happen _after_ you build Emacs?  That is, you are saying
that the *.eln files produced as part of the Emacs build were compiled
successfully, but when you then start the Emacs you built, it is
unable to perform any native compilation?

In any case, I don't see it here.

Could it be that there was some change in your GCC/Binutis/libgccjit
installation in parallel with updating from the Emacs Git repository?
That's what the error messages seem to convey.





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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-17 20:04 ` Eli Zaretskii
@ 2022-11-18  9:01   ` Andrea Corallo
  2022-11-18 11:23     ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-18 11:39   ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 15+ messages in thread
From: Andrea Corallo @ 2022-11-18  9:01 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 59340, Akib Azmain Turja

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Fri, 18 Nov 2022 01:08:36 +0600
>> From:  Akib Azmain Turja via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>> 
>> I tried to upgrade to the commit
>> 1772d88c1fa811eee235ba9b8b7584bb000ac293 (made yesterday).  But after
>> installing it, I tried to run to and got various sorts of native
>> compilation errors.  I can at least use it the terminal, but starting
>> with EXWM makes it crash (I don't who is the culprit: EXWM or GTK+).
>> 
>> This also happened to me before when I tried to upgrade, but I didn't do
>> anything, because I'm lazy.
>> 
>> I have reverted to my old Emacs (this) after I encountered the bug.
>> 
>> I clearly remember two things appearing repeatedly in the *Warning*
>> buffer (in terminal), the first one "libgccjit.so: error: error invoking
>> gcc driver", and second one "FILE: Error: Internal native compiler error
>> failed to compile."
>> 
>> The *Async-native-compile-log* buffer says that ld can't find
>> crtbeginS.o, -lgcc, -lgcc_s and -lgcc_s again.  And the message again:
>> "libgccjit.so: error: error invoking gcc driver".
>
> Does this happen _after_ you build Emacs?  That is, you are saying
> that the *.eln files produced as part of the Emacs build were compiled
> successfully, but when you then start the Emacs you built, it is
> unable to perform any native compilation?
>
> In any case, I don't see it here.
>
> Could it be that there was some change in your GCC/Binutis/libgccjit
> installation in parallel with updating from the Emacs Git repository?
> That's what the error messages seem to convey.

Just to say it looks to me as well a library issue and not an Emacs one.

  Andrea





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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-18  9:01   ` Andrea Corallo
@ 2022-11-18 11:23     ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 15+ messages in thread
From: Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-18 11:23 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: Eli Zaretskii, 59340

[-- Attachment #1: Type: text/plain, Size: 2102 bytes --]

Andrea Corallo <akrl@sdf.org> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> Date: Fri, 18 Nov 2022 01:08:36 +0600
>>> From:  Akib Azmain Turja via "Bug reports for GNU Emacs,
>>>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>>> 
>>> I tried to upgrade to the commit
>>> 1772d88c1fa811eee235ba9b8b7584bb000ac293 (made yesterday).  But after
>>> installing it, I tried to run to and got various sorts of native
>>> compilation errors.  I can at least use it the terminal, but starting
>>> with EXWM makes it crash (I don't who is the culprit: EXWM or GTK+).
>>> 
>>> This also happened to me before when I tried to upgrade, but I didn't do
>>> anything, because I'm lazy.
>>> 
>>> I have reverted to my old Emacs (this) after I encountered the bug.
>>> 
>>> I clearly remember two things appearing repeatedly in the *Warning*
>>> buffer (in terminal), the first one "libgccjit.so: error: error invoking
>>> gcc driver", and second one "FILE: Error: Internal native compiler error
>>> failed to compile."
>>> 
>>> The *Async-native-compile-log* buffer says that ld can't find
>>> crtbeginS.o, -lgcc, -lgcc_s and -lgcc_s again.  And the message again:
>>> "libgccjit.so: error: error invoking gcc driver".
>>
>> Does this happen _after_ you build Emacs?  That is, you are saying
>> that the *.eln files produced as part of the Emacs build were compiled
>> successfully, but when you then start the Emacs you built, it is
>> unable to perform any native compilation?
>>
>> In any case, I don't see it here.
>>
>> Could it be that there was some change in your GCC/Binutis/libgccjit
>> installation in parallel with updating from the Emacs Git repository?
>> That's what the error messages seem to convey.
>
> Just to say it looks to me as well a library issue and not an Emacs one.
>
>   Andrea
>
>
>

Any tips to help me investigate it?

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-17 20:04 ` Eli Zaretskii
  2022-11-18  9:01   ` Andrea Corallo
@ 2022-11-18 11:39   ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-18 12:06     ` Eli Zaretskii
  1 sibling, 1 reply; 15+ messages in thread
From: Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-18 11:39 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 59340

[-- Attachment #1: Type: text/plain, Size: 1952 bytes --]

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Fri, 18 Nov 2022 01:08:36 +0600
>> From:  Akib Azmain Turja via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>> 
>> I tried to upgrade to the commit
>> 1772d88c1fa811eee235ba9b8b7584bb000ac293 (made yesterday).  But after
>> installing it, I tried to run to and got various sorts of native
>> compilation errors.  I can at least use it the terminal, but starting
>> with EXWM makes it crash (I don't who is the culprit: EXWM or GTK+).
>> 
>> This also happened to me before when I tried to upgrade, but I didn't do
>> anything, because I'm lazy.
>> 
>> I have reverted to my old Emacs (this) after I encountered the bug.
>> 
>> I clearly remember two things appearing repeatedly in the *Warning*
>> buffer (in terminal), the first one "libgccjit.so: error: error invoking
>> gcc driver", and second one "FILE: Error: Internal native compiler error
>> failed to compile."
>> 
>> The *Async-native-compile-log* buffer says that ld can't find
>> crtbeginS.o, -lgcc, -lgcc_s and -lgcc_s again.  And the message again:
>> "libgccjit.so: error: error invoking gcc driver".
>
> Does this happen _after_ you build Emacs?  That is, you are saying
> that the *.eln files produced as part of the Emacs build were compiled
> successfully, but when you then start the Emacs you built, it is
> unable to perform any native compilation?

Yes, Emacs builds fine.  The problem occurs at runtime.

>
> In any case, I don't see it here.
>
> Could it be that there was some change in your GCC/Binutis/libgccjit
> installation in parallel with updating from the Emacs Git repository?
> That's what the error messages seem to convey.
>
>
>

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-18 11:39   ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-18 12:06     ` Eli Zaretskii
  2022-11-18 15:09       ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2022-11-18 12:06 UTC (permalink / raw)
  To: Akib Azmain Turja; +Cc: 59340

> From: Akib Azmain Turja <akib@disroot.org>
> Cc: 59340@debbugs.gnu.org
> Date: Fri, 18 Nov 2022 17:39:11 +0600
> 
> > Does this happen _after_ you build Emacs?  That is, you are saying
> > that the *.eln files produced as part of the Emacs build were compiled
> > successfully, but when you then start the Emacs you built, it is
> > unable to perform any native compilation?
> 
> Yes, Emacs builds fine.  The problem occurs at runtime.

That is very strange, because we invoke libgccjit and Binutils during
the build the same we do at run time.  Is this in "emacs -Q"?  If not,
perhaps some of your customizations prevent Emacs from finding and/or
invoking the JIT compiler?





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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-18 12:06     ` Eli Zaretskii
@ 2022-11-18 15:09       ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-18 15:12         ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
                           ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-18 15:09 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 59340

[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Akib Azmain Turja <akib@disroot.org>
>> Cc: 59340@debbugs.gnu.org
>> Date: Fri, 18 Nov 2022 17:39:11 +0600
>> 
>> > Does this happen _after_ you build Emacs?  That is, you are saying
>> > that the *.eln files produced as part of the Emacs build were compiled
>> > successfully, but when you then start the Emacs you built, it is
>> > unable to perform any native compilation?
>> 
>> Yes, Emacs builds fine.  The problem occurs at runtime.
>
> That is very strange, because we invoke libgccjit and Binutils during
> the build the same we do at run time.  Is this in "emacs -Q"?  If not,
> perhaps some of your customizations prevent Emacs from finding and/or
> invoking the JIT compiler?

I think this is not an Emacs bug really.  The Guix recipe I'm using
has some big problems (according to Guix philosophy), and probably does
some (black) magic that causes the build and run-time environment to be
different, thus the error.

However, why the crash?  Is it somehow because the old eln get loaded?

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-18 15:09       ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-18 15:12         ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-18 16:28           ` Robert Pluim
  2022-11-18 16:56         ` Eli Zaretskii
  2022-11-18 20:06         ` Andrea Corallo
  2 siblings, 1 reply; 15+ messages in thread
From: Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-18 15:12 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 59340

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

close 59340

Was the ticket closed?

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-18 15:12         ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-18 16:28           ` Robert Pluim
  0 siblings, 0 replies; 15+ messages in thread
From: Robert Pluim @ 2022-11-18 16:28 UTC (permalink / raw)
  To: Akib Azmain Turja; +Cc: Eli Zaretskii, 59340

>>>>> On Fri, 18 Nov 2022 21:12:15 +0600, Akib Azmain Turja via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> said:

    Akib> close 59340
    Akib> Was the ticket closed?

Doesnʼt look like it. You need

1. BCC: control@debbugs.gnu.org
2. Something like the following at the start of your message

close 59340 29.1
quit

(I donʼt remember offhand is the release is mandatory. see admin/notes/bugtracker)

You could stick in

tags 59340 notabug

as well, if thatʼs appropriate.

Robert
-- 





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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-18 15:09       ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-18 15:12         ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-18 16:56         ` Eli Zaretskii
  2022-11-18 20:06         ` Andrea Corallo
  2 siblings, 0 replies; 15+ messages in thread
From: Eli Zaretskii @ 2022-11-18 16:56 UTC (permalink / raw)
  To: Akib Azmain Turja; +Cc: 59340

> From: Akib Azmain Turja <akib@disroot.org>
> Cc: 59340@debbugs.gnu.org
> Date: Fri, 18 Nov 2022 21:09:40 +0600
> 
> However, why the crash?  Is it somehow because the old eln get loaded?

To answer that, I'd need to see a backtrace from the crash.  Run Emacs
under GDB and produce the backtrace when Emacs crashes, then post it
here.  (I hope your Emacs is not stripped of debug symbols, otherwise
the backtrace will not be useful.)





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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-18 15:09       ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-18 15:12         ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-18 16:56         ` Eli Zaretskii
@ 2022-11-18 20:06         ` Andrea Corallo
  2022-11-19  4:23           ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2 siblings, 1 reply; 15+ messages in thread
From: Andrea Corallo @ 2022-11-18 20:06 UTC (permalink / raw)
  To: 59340; +Cc: eliz, akib

Akib Azmain Turja via "Bug reports for GNU Emacs, the Swiss army knife
of text editors" <bug-gnu-emacs@gnu.org> writes:

> --=-=-=
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> From: Akib Azmain Turja <akib@disroot.org>
>>> Cc: 59340@debbugs.gnu.org
>>> Date: Fri, 18 Nov 2022 17:39:11 +0600
>>>=20
>>> > Does this happen _after_ you build Emacs?  That is, you are saying
>>> > that the *.eln files produced as part of the Emacs build were compiled
>>> > successfully, but when you then start the Emacs you built, it is
>>> > unable to perform any native compilation?
>>>=20
>>> Yes, Emacs builds fine.  The problem occurs at runtime.
>>
>> That is very strange, because we invoke libgccjit and Binutils during
>> the build the same we do at run time.  Is this in "emacs -Q"?  If not,
>> perhaps some of your customizations prevent Emacs from finding and/or
>> invoking the JIT compiler?
>
> I think this is not an Emacs bug really.  The Guix recipe I'm using
> has some big problems (according to Guix philosophy), and probably does
> some (black) magic that causes the build and run-time environment to be
> different, thus the error.
>
> However, why the crash?  Is it somehow because the old eln get loaded?

Are you sure Emacs is crashing?  That would be surprising to me, maybe
is because of something with EXWM that gets stuck for some other reason?

  Andrea





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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-18 20:06         ` Andrea Corallo
@ 2022-11-19  4:23           ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-22 17:00             ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 15+ messages in thread
From: Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-19  4:23 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 59340, eliz

[-- Attachment #1: Type: text/plain, Size: 1931 bytes --]

Andrea Corallo <akrl@sdf.org> writes:

> Akib Azmain Turja via "Bug reports for GNU Emacs, the Swiss army knife
> of text editors" <bug-gnu-emacs@gnu.org> writes:
>
>> --=-=-=
>> Content-Type: text/plain
>> Content-Transfer-Encoding: quoted-printable
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>>>> From: Akib Azmain Turja <akib@disroot.org>
>>>> Cc: 59340@debbugs.gnu.org
>>>> Date: Fri, 18 Nov 2022 17:39:11 +0600
>>>>=20
>>>> > Does this happen _after_ you build Emacs?  That is, you are saying
>>>> > that the *.eln files produced as part of the Emacs build were compiled
>>>> > successfully, but when you then start the Emacs you built, it is
>>>> > unable to perform any native compilation?
>>>>=20
>>>> Yes, Emacs builds fine.  The problem occurs at runtime.
>>>
>>> That is very strange, because we invoke libgccjit and Binutils during
>>> the build the same we do at run time.  Is this in "emacs -Q"?  If not,
>>> perhaps some of your customizations prevent Emacs from finding and/or
>>> invoking the JIT compiler?
>>
>> I think this is not an Emacs bug really.  The Guix recipe I'm using
>> has some big problems (according to Guix philosophy), and probably does
>> some (black) magic that causes the build and run-time environment to be
>> different, thus the error.
>>
>> However, why the crash?  Is it somehow because the old eln get loaded?
>
> Are you sure Emacs is crashing?  That would be surprising to me, maybe
> is because of something with EXWM that gets stuck for some other reason?
>
>   Andrea

I am sure, because instead of running emacs from my .xsession, I ran
xterm and ran emacs with xterm.  The result was, sometimes the Emacs
aborted, and sometimes segfault.

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-19  4:23           ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-22 17:00             ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-24 18:27               ` Stefan Kangas
  0 siblings, 1 reply; 15+ messages in thread
From: Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-22 17:00 UTC (permalink / raw)
  To: 59340; +Cc: eliz, akrl

[-- Attachment #1: Type: text/plain, Size: 2121 bytes --]

Akib Azmain Turja via "Bug reports for GNU Emacs, the Swiss army knife
of text editors" <bug-gnu-emacs@gnu.org> writes:

> Andrea Corallo <akrl@sdf.org> writes:
>
>> Akib Azmain Turja via "Bug reports for GNU Emacs, the Swiss army knife
>> of text editors" <bug-gnu-emacs@gnu.org> writes:
>>
>>> --=-=-=
>>> Content-Type: text/plain
>>> Content-Transfer-Encoding: quoted-printable
>>>
>>> Eli Zaretskii <eliz@gnu.org> writes:
>>>
>>>>> From: Akib Azmain Turja <akib@disroot.org>
>>>>> Cc: 59340@debbugs.gnu.org
>>>>> Date: Fri, 18 Nov 2022 17:39:11 +0600
>>>>>=20
>>>>> > Does this happen _after_ you build Emacs?  That is, you are saying
>>>>> > that the *.eln files produced as part of the Emacs build were compiled
>>>>> > successfully, but when you then start the Emacs you built, it is
>>>>> > unable to perform any native compilation?
>>>>>=20
>>>>> Yes, Emacs builds fine.  The problem occurs at runtime.
>>>>
>>>> That is very strange, because we invoke libgccjit and Binutils during
>>>> the build the same we do at run time.  Is this in "emacs -Q"?  If not,
>>>> perhaps some of your customizations prevent Emacs from finding and/or
>>>> invoking the JIT compiler?
>>>
>>> I think this is not an Emacs bug really.  The Guix recipe I'm using
>>> has some big problems (according to Guix philosophy), and probably does
>>> some (black) magic that causes the build and run-time environment to be
>>> different, thus the error.
>>>
>>> However, why the crash?  Is it somehow because the old eln get loaded?
>>
>> Are you sure Emacs is crashing?  That would be surprising to me, maybe
>> is because of something with EXWM that gets stuck for some other reason?
>>
>>   Andrea
>
> I am sure, because instead of running emacs from my .xsession, I ran
> xterm and ran emacs with xterm.  The result was, sometimes the Emacs
> aborted, and sometimes segfault.

I have fixed it!

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-22 17:00             ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-24 18:27               ` Stefan Kangas
  2023-06-05 22:17                 ` Andrea Corallo
  0 siblings, 1 reply; 15+ messages in thread
From: Stefan Kangas @ 2022-11-24 18:27 UTC (permalink / raw)
  To: Akib Azmain Turja; +Cc: 59340, eliz, akrl

Akib Azmain Turja <akib@disroot.org> writes:

>> I am sure, because instead of running emacs from my .xsession, I ran
>> xterm and ran emacs with xterm.  The result was, sometimes the Emacs
>> aborted, and sometimes segfault.
>
> I have fixed it!

Should this bug remain open?





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

* bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors
  2022-11-24 18:27               ` Stefan Kangas
@ 2023-06-05 22:17                 ` Andrea Corallo
  0 siblings, 0 replies; 15+ messages in thread
From: Andrea Corallo @ 2023-06-05 22:17 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 59340-done, eliz, Akib Azmain Turja, akrl

Stefan Kangas <stefankangas@gmail.com> writes:

> Akib Azmain Turja <akib@disroot.org> writes:
>
>>> I am sure, because instead of running emacs from my .xsession, I ran
>>> xterm and ran emacs with xterm.  The result was, sometimes the Emacs
>>> aborted, and sometimes segfault.
>>
>> I have fixed it!
>
> Should this bug remain open?

Closing it.

Thanks

  Andrea





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

end of thread, other threads:[~2023-06-05 22:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-17 19:08 bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-17 20:04 ` Eli Zaretskii
2022-11-18  9:01   ` Andrea Corallo
2022-11-18 11:23     ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-18 11:39   ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-18 12:06     ` Eli Zaretskii
2022-11-18 15:09       ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-18 15:12         ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-18 16:28           ` Robert Pluim
2022-11-18 16:56         ` Eli Zaretskii
2022-11-18 20:06         ` Andrea Corallo
2022-11-19  4:23           ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-22 17:00             ` Akib Azmain Turja via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-24 18:27               ` Stefan Kangas
2023-06-05 22:17                 ` Andrea Corallo

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.