Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000474 | mercury | Bug | public | 2018-11-18 23:01 | 2018-11-18 23:23 |
Reporter | pbone | ||||
---|---|---|---|---|---|
Assigned To | |||||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | i386 | OS | Linux | OS Version | Debian 9 |
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000474: Mercury cannot be installed, compiler crashes | ||||
Description | The mercury compiler crashes when building the first libgrade: root@oxygen:/tmp/mercury-rotd-20181114# cat install_grade_dir.asm_fast.gc.decldebug.stseg/library/mer_std.dep_err Uncaught Mercury exception: Software Error: map.lookup: key not found Key Type: libs.options.option Key Value: profile_time Value Type: getopt_io.option_data Stack dump not available in this grade. It crashes when invoked with no arguments. root@oxygen:/tmp/mercury-rotd-20181114# ./compiler/mercury_compile Uncaught Mercury exception: Software Error: map.lookup: key not found Key Type: libs.options.option Key Value: profile_time Value Type: getopt_io.option_data Stack dump not available in this grade. I don't think this is a configuration problem because it works on amd64, this is just happening on i386 (32-bit). Maybe something to do with argument packing on 32bit systems when those arguments are used as map keys? | ||||
Steps To Reproduce | I found this while building Mercury to make Debian packages. My scripts install a minimal system in /tmp/bootstrap and then clean the build directory and use the first version to build a more complete version, it seems that the second generation compiler is crashing. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
Notes | |||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2018-11-18 23:01 | pbone | New Issue | |||
2018-11-18 23:23 | juliensf | Note Added: 0001021 |