Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005627OCamlOCaml backend (code generation)public2012-05-30 16:482012-07-11 23:04
Reportergarrigue 
Assigned ToFabrice 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformMacOSOSXOS VersionLion
Product Version4.00.0+dev 
Target VersionFixed in Version4.00.0+dev 
Summary0005627: Cannot compile lablgtk2
DescriptionCompiling lablgtk2 from ocamlforge results in the following error:

...
ocamlc.opt -w s -c gData.ml
ocamlc.opt -w s -c gMain.mli
ocamlc.opt -w s -c gMain.ml
ocamlc.opt -w s -c ogtkBaseProps.ml
obj/1744
>> Fatal error: Bytegen.comp_expr: var obj_1744
Fatal error: exception Misc.Fatal_error
make[1]: *** [ogtkBaseProps.cmo] Error 2
make: *** [world] Error 2
Steps To ReproduceGet the current version of lablgtk

git clone https://forge.ocamlcore.org/anonscm/git/lablgtk/lablgtk.git [^]

configure and make world.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0007474)
garrigue (manager)
2012-05-30 16:57

Fails in 4.00 since 12514.
Still worked in trunk as of 12514 (before merger of binannot in trunk).
(0007475)
garrigue (manager)
2012-05-30 17:13

Same thing applies to lablgtk-2.14.2 too.
(0007476)
garrigue (manager)
2012-05-30 18:02

Already occurred in revision 12423 of branch 4.00-with-binannot.

Hint: to compile lablgtk, just need to compile and install ocaml up to Unix and Bigarray.
To avoid dependency on camlp4, do not use make clean for lablgtk,
but rather
  \rm src/g*.cm*
(0007477)
garrigue (manager)
2012-05-30 18:15

Already occurred in branch binary-annotation, not at revision 10790, but already at revision 10795
(0007478)
lefessan (developer)
2012-05-31 09:03

Yes, there was a problem with virtual instance variables.
(0007587)
Boris Yakobowski (reporter)
2012-06-20 12:54

This bug was reintroduced by commit 12614 in the trunk, which unmade the previous fix:

http://caml.inria.fr/cgi-bin/viewvc.cgi?view=revision&revision=12614 [^]
(0007589)
garrigue (manager)
2012-06-20 14:02

Actually, it was never fixed in trunk, only in 4.00.
But I had merged it on my personal copy of trunk, and later I merged it in 12613,
and removed it just after thinking it was a wrong commit...
Fixed in 12619 for trunk.

- Issue History
Date Modified Username Field Change
2012-05-30 16:48 garrigue New Issue
2012-05-30 16:57 garrigue Note Added: 0007474
2012-05-30 17:13 garrigue Note Added: 0007475
2012-05-30 17:16 garrigue Assigned To => Fabrice
2012-05-30 17:16 garrigue Status new => assigned
2012-05-30 18:02 garrigue Note Added: 0007476
2012-05-30 18:15 garrigue Note Added: 0007477
2012-05-31 09:03 lefessan Note Added: 0007478
2012-05-31 09:03 lefessan Status assigned => resolved
2012-05-31 09:03 lefessan Fixed in Version => 4.00.0+dev
2012-05-31 09:03 lefessan Resolution open => fixed
2012-06-20 12:54 Boris Yakobowski Note Added: 0007587
2012-06-20 14:02 garrigue Note Added: 0007589


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker