You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6371 Reporter:@whitequark Assigned to:@garrigue Status: closed (set by @xavierleroy on 2015-12-11T18:26:36Z) Resolution: fixed Priority: normal Severity: crash Platform: 64-bit Linux OS: Debian OS Version: 7.0 Fixed in version: 4.02.0+dev Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Bug description
If I try to compile camlp4 trunk on ocaml trunk, it exhibits unbounded recursion while executing:
$HOME/.opam/4.02.0dev+trunk/bin/ocamlc.opt -c -g -warn-error A -w a -I camlp4/import -I camlp4/config -I camlp4/boot -o camlp4/boot/Camlp4.cmo camlp4/boot/Camlp4.ml
Attaching gdb to the process reveals that the loop consists of calls to:
0x00000000004f1150 in camlBtype__iter_type_expr_1466 ()
0x00000000004f189f in camlBtype__it_type_expr_1518 ()
(The cycle is larger than just these two calls.)
This issue is very problematic, because I have to use trunk to get -ppx, and such commonly used packages as lwt or oasis have a hard dependency on camlp4.
Later, I will try to bisect the OCaml tree between the separation of camlp4 and trunk.
Steps to reproduce
$ git clone git://github.com/ocaml/camlp4
$ cd camlp4
$ ./configure
$ make all
The text was updated successfully, but these errors were encountered:
Original bug ID: 6371
Reporter: @whitequark
Assigned to: @garrigue
Status: closed (set by @xavierleroy on 2015-12-11T18:26:36Z)
Resolution: fixed
Priority: normal
Severity: crash
Platform: 64-bit Linux
OS: Debian
OS Version: 7.0
Fixed in version: 4.02.0+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Bug description
If I try to compile camlp4 trunk on ocaml trunk, it exhibits unbounded recursion while executing:
$HOME/.opam/4.02.0dev+trunk/bin/ocamlc.opt -c -g -warn-error A -w a -I camlp4/import -I camlp4/config -I camlp4/boot -o camlp4/boot/Camlp4.cmo camlp4/boot/Camlp4.ml
Attaching gdb to the process reveals that the loop consists of calls to:
0x00000000004f1150 in camlBtype__iter_type_expr_1466 ()
0x00000000004f189f in camlBtype__it_type_expr_1518 ()
(The cycle is larger than just these two calls.)
This issue is very problematic, because I have to use trunk to get -ppx, and such commonly used packages as lwt or oasis have a hard dependency on camlp4.
Later, I will try to bisect the OCaml tree between the separation of camlp4 and trunk.
Steps to reproduce
$ git clone git://github.com/ocaml/camlp4
$ cd camlp4
$ ./configure
$ make all
The text was updated successfully, but these errors were encountered: