all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#62481: Unable to build master
@ 2023-03-27  8:42 Juan Miguel Carceller
  2023-03-27 13:56 ` Eli Zaretskii
  2023-03-27 14:43 ` Corwin Brust
  0 siblings, 2 replies; 5+ messages in thread
From: Juan Miguel Carceller @ 2023-03-27  8:42 UTC (permalink / raw)
  To: 62481

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

I pulled today from the github mirror from master and now emacs doesn't build, even after a clean build. This is what I get:

```
Error: native-ice ("org/org-plot.el" "block does not end with a branch" #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t) nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil 2) #s(comp-mvar (t) nil nil nil nil 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (call helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 4) plist-get) (set #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t) nil nil nil nil 0)) (setimm #s(comp-mvar (t) nil nil nil nil 6) :transpose) (set #s(comp-mvar (t) nil nil nil nil 4) (callref funcall #s(comp-mvar (t) nil nil nil nil 4) #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t) nil nil nil nil 6))) (set #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t) nil nil nil nil 4)) (setimm #s(comp-mvar (t) nil nil nil nil 6) #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (y 105 yes 105 t 105)))) nil nil nil nil #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) nil nil 1 72 nil nil) org-plot/gnuplot)
  mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x679c65d12517825>))
  debug-early-backtrace()
  debug-early(error (native-ice "org/org-plot.el" "block does not end with a branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG 83") (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) make-temp-file) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) "org-plot") (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) org-table-to-lisp) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) plist-get) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6) #<hash-table eq 3/3 0x15891561340b>)) :closed nil :in-edges nil :out-edges nil :idom nil :df #<hash-table eql 0/65 0x15891563b0f5> :post-num nil :final-frame nil :sp 1 :addr 72 :non-ret-insn nil :no-ret nil) org-plot/gnuplot))elc
  signal(native-ice ("org/org-plot.el" "block does not end with a branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG 83") (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) make-temp-file) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) "org-plot") (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) org-table-to-lisp) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) plist-get) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset
 (t) :valset nil :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6) #<hash-table eq 3/3 0x15891561340b>)) :closed nil :in-edges nil :out-edges nil :idom nil :df #<hash-table eql 0/65 0x15891563b0f5> :post-num nil :final-frame nil :sp 1 :addr 72 :non-ret-insn nil :no-ret nil) org-plot/gnuplot))
  comp--native-compile("org/org-plot.el")
  batch-native-compile()
  batch-byte+native-compile()
  command-line-1(("--eval" "(setq load-prefer-newer t byte-compile-warnings 'all)" "-l" "comp" "-f" "batch-byte+native-compile" "org/org-plot.el"))
  command-line()
  normal-top-level()
Internal native compiler error: "org/org-plot.el", "block does not end with a branch", #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t) nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil 2) #s(comp-mvar (t) nil nil nil nil 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) ...) nil nil nil nil #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) nil nil ...), #<symbol org-plot/gnuplot at 23521>
make[3]: *** [Makefile:327: org/org-plot.elc] Error 255
```

I'm doing the following

```
./autogen.sh
./configure --without-sound --with-json --with-tree-sitter --without-gpm --without-selinux --with-native-compilation=aot --with-x  CFLAGS='-O3 -march=native -mtune=native' --without-mailutils
make -j 8
```

My system is Arch Linux with everything up to date, gcc 12.2.1 and libgccjit 12.2.1. I don't know if I'm doing anything as it doesn't seem there have been recent changes and I have been able to build it a few weeks ago.

[-- Attachment #2: Type: text/html, Size: 9644 bytes --]

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

* bug#62481: Unable to build master
  2023-03-27  8:42 bug#62481: Unable to build master Juan Miguel Carceller
@ 2023-03-27 13:56 ` Eli Zaretskii
  2023-03-27 17:05   ` Andrea Corallo
  2023-03-27 14:43 ` Corwin Brust
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2023-03-27 13:56 UTC (permalink / raw)
  To: Juan Miguel Carceller, Andrea Corallo; +Cc: 62481

> From: Juan Miguel Carceller <j.m.carcell@cern.ch>
> Date: Mon, 27 Mar 2023 08:42:22 +0000
> 
> I pulled today from the github mirror from master and now emacs doesn't build, even after a clean build. This
> is what I get:
> 
> ```
> Error: native-ice ("org/org-plot.el" "block does not end with a branch" #s(comp-block-lap bb_8 ((comment
> "LAP TAG 83") (call helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil

Could be a duplicate of bug#61917.

Andrea, can you take a look, please?





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

* bug#62481: Unable to build master
  2023-03-27  8:42 bug#62481: Unable to build master Juan Miguel Carceller
  2023-03-27 13:56 ` Eli Zaretskii
@ 2023-03-27 14:43 ` Corwin Brust
  1 sibling, 0 replies; 5+ messages in thread
From: Corwin Brust @ 2023-03-27 14:43 UTC (permalink / raw)
  To: Juan Miguel Carceller; +Cc: 62481

On Mon, Mar 27, 2023 at 3:42 AM Juan Miguel Carceller
<j.m.carcell@cern.ch> wrote:
>
> I pulled today from the github mirror from master and now emacs doesn't build, 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=aot --with-x  CFLAGS='-O3 -march=native -mtune=native' --without-mailutils
[...]
> My system is Arch Linux with everything up to date, gcc 12.2.1 and libgccjit 12.2.1. I don't know if I'm doing anything as it doesn't seem there have 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=aot" 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=30-$(git rev-parse --short HEAD); (./autogen.sh &&
./configure --with-modules --without-dbus --with-native-compilation
--without-compress-install --with-tree-sitter CFLAGS=-O2 && make
install -j 20 NATIVE_FULL_AOT=1
prefix=/d/emacs-build/install/emacs-${SLUG}) | tee
/d/emacs-build/install/emacs-${SLUG}.log)





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

* bug#62481: Unable to build master
  2023-03-27 13:56 ` Eli Zaretskii
@ 2023-03-27 17:05   ` Andrea Corallo
  2023-03-29 11:50     ` Arsen Arsenović via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 5+ messages in thread
From: Andrea Corallo @ 2023-03-27 17:05 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Juan Miguel Carceller, 62481

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Juan Miguel Carceller <j.m.carcell@cern.ch>
>> Date: Mon, 27 Mar 2023 08:42:22 +0000
>> 
>> I pulled today from the github mirror from master and now emacs doesn't build, even after a clean build. This
>> is what I get:
>> 
>> ```
>> Error: native-ice ("org/org-plot.el" "block does not end with a branch" #s(comp-block-lap bb_8 ((comment
>> "LAP TAG 83") (call helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil
>
> Could be a duplicate of bug#61917.
>
> Andrea, can you take a look, please?

Yep will do

  Andrea






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

* bug#62481: Unable to build master
  2023-03-27 17:05   ` Andrea Corallo
@ 2023-03-29 11:50     ` Arsen Arsenović via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 5+ messages in thread
From: Arsen Arsenović via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-03-29 11:50 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: j.m.carcell, eliz, 62481

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


Andrea Corallo <akrl@sdf.org> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> From: Juan Miguel Carceller <j.m.carcell@cern.ch>
>>> Date: Mon, 27 Mar 2023 08:42:22 +0000
>>> 
>>> I pulled today from the github mirror from master and now emacs doesn't build, even after a clean build. This
>>> is what I get:
>>> 
>>> ```
>>> Error: native-ice ("org/org-plot.el" "block does not end with a branch" #s(comp-block-lap bb_8 ((comment
>>> "LAP TAG 83") (call helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil
>>
>> Could be a duplicate of bug#61917.
>>
>> Andrea, can you take a look, please?
>
> Yep will do
>
>   Andrea

I bisected this before learning of this bug report to commit
emacs-28.2-164697-g52b67740d10.  Reverting that commit lets me build
Emacs.

On gcc (Gentoo Hardened 13.0.1_pre20230326 p9) 13.0.1 20230326
(experimental)

Hope that helps, have a lovely day.
-- 
Arsen Arsenović

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

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

end of thread, other threads:[~2023-03-29 11:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27  8:42 bug#62481: Unable to build master Juan Miguel Carceller
2023-03-27 13:56 ` Eli Zaretskii
2023-03-27 17:05   ` Andrea Corallo
2023-03-29 11:50     ` Arsen Arsenović via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-27 14:43 ` Corwin Brust

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.