| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0005115 | OCaml | OCaml general | public | 2010-07-28 13:27 | 2012-03-24 15:01 |
|
| Reporter | doligez | |
| Assigned To | xleroy | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | Windows | OS Version | 64-bit |
| Product Version | 3.12.0 | |
| Target Version | | Fixed in Version | 3.12.1+dev | |
|
| Summary | 0005115: msvc64 port produces bytecode executables that don't work on 32-bit versions |
| Description | In the 64-bit MSVC version, output-value does the wrong thing on native ints and makes them unreadable by 32-bit versions of OCaml.
Also, if a 64-bit version of OCaml compiles a program with a large nativeint constant, the resulting bytecode will crash the 32-bit versions because they try to raise an exception before the global constants are initialized.
|
| Steps To Reproduce | Bootstrap with MSVC in 64-bit mode and try to use the resulting ocamlc, e.g. under cygwin -> crash
|
| Tags | No tags attached. |
|
| Attached Files | |
|