View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000470 | mercury | Bug | public | 2018-09-16 15:07 | 2018-09-16 17:18 | ||||
Reporter | taigua | ||||||||
Assigned To | wangp | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000470: mercury-srcdist-rotd-2018-09-11 compile failed on Linux (Ubuntu and Archlinux) | ||||||||
Description | Enviroment: Ubuntu/Archlinux 64 bit GCC Version: gcc 5.4.0/ gcc 8.2.0 Compile failed log: In file included from mercury_deconstruct.c:29:0: mercury_ml_expand_body.h: In function ‘MR_expand_functor_args’: mercury_ml_expand_body.h:719:28: error: ‘MR_ALLOC_ID’ undeclared (first use in this function) mercury_ml_expand_body.h:719:28: note: each undeclared identifier is reported only once for each function it appears in In file included from mercury_deconstruct.c:40:0: mercury_ml_expand_body.h: In function ‘MR_expand_functor_args_limit’: mercury_ml_expand_body.h:719:28: error: ‘MR_ALLOC_ID’ undeclared (first use in this function) In file included from mercury_deconstruct.c:58:0: mercury_ml_expand_body.h: In function ‘MR_expand_args_only’: mercury_ml_expand_body.h:719:28: error: ‘MR_ALLOC_ID’ undeclared (first use in this function) /tmp/mmake.0B6hj1:1495: recipe for target 'mercury_deconstruct.o' failed | ||||||||
Steps To Reproduce | Compile steps: $ ./configure --prefix=~/mercury $ make PARALLEL=-j4 # This step success $ make PARALLEL=-j4 install Then it complains: In file included from mercury_deconstruct.c:29:0: mercury_ml_expand_body.h: In function ‘MR_expand_functor_args’: mercury_ml_expand_body.h:719:28: error: ‘MR_ALLOC_ID’ undeclared (first use in this function) mercury_ml_expand_body.h:719:28: note: each undeclared identifier is reported only once for each function it appears in In file included from mercury_deconstruct.c:40:0: mercury_ml_expand_body.h: In function ‘MR_expand_functor_args_limit’: mercury_ml_expand_body.h:719:28: error: ‘MR_ALLOC_ID’ undeclared (first use in this function) In file included from mercury_deconstruct.c:58:0: mercury_ml_expand_body.h: In function ‘MR_expand_args_only’: mercury_ml_expand_body.h:719:28: error: ‘MR_ALLOC_ID’ undeclared (first use in this function) /tmp/mmake.0B6hj1:1495: recipe for target 'mercury_deconstruct.o' failed | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
Notes | |
wangp (developer) 2018-09-16 17:18 |
Thanks for the report. The problem is probably only with low-level C memprof grades, fixed now in commit bb35de8b3. |