xclerc / ocamljava

http://www.ocamljava.org
Other
172 stars 14 forks source link

ocamljava fatal error "exception Not_found" #19

Closed xavierleroy closed 9 years ago

xavierleroy commented 9 years ago

"make" of the attached repro case aborts with

ocamljava -c Parser.ml Fatal error: exception Not_found

I did not have the fortitude to build a smaller repro case.

xavierleroy commented 9 years ago

The repro is here: http://gallium.inria.fr/~xleroy/tmp/camljava-PR19.tgz (Just discovered that you can't attach files to Github issues, how primitive.)

xavierleroy commented 9 years ago

On Xavier Clerc's advice, I tried with the OPAM version of ocamljava (instead of the binary distribution), and I'm sorry to report that the problem is here in this other version as well:

$ ocamljava -c Parser.ml Fatal error: exception Not_found (Cannot print stack backtrace: program not linked with -g) $ type ocamljava ocamljava is hashed (/home/xleroy/.opam/ocamljava-2.0-alpha2/bin/ocamljava)

xclerc commented 9 years ago

For the record, the problem is related to the size of the constants.