2024-11-21 23:40 AEDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000515mercuryBugpublic2020-10-16 07:06
Reporterjuliensf 
Assigned Tozs 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000515: Library not building in deep profiling grades with rotd-2020-07-26
DescriptionCompilation of the the standard library in grade asm_fast.gc.profdeep.stseg with rotd-2020-07-26 onwards results in:

../scripts/mgnuc --grade asm_fast.gc.profdeep.stseg -- -c exception.c -o exception.o
In file included from exception.m:2101:0:
../runtime/mercury_exception_catch_body.h: In function ‘hand_written_exception_module’:
../runtime/mercury_exception_catch_body.h:61:5: error: ‘mercury__profiling_builtin__non_call_port_code_sr_5_0’ undeclared (first use in this function)
../runtime/mercury_exception_catch_body.h:61:5: note: each undeclared identifier is reported only once for each function it appears in
../runtime/mercury_exception_catch_body.h:64:5: error: ‘mercury__profiling_builtin__prepare_for_ho_call_2_0’ undeclared (first use in this function)
../runtime/mercury_exception_catch_body.h:82:5: error: ‘mercury__profiling_builtin__non_exit_port_code_sr_3_0’ undeclared (first use in this function)
In file included from exception.m:2161:0:
../runtime/mercury_exception_catch_body.h:99:5: error: ‘mercury__profiling_builtin__non_redo_port_code_sr_2_0’ undeclared (first use in this function)
../runtime/mercury_exception_catch_body.h:115:5: error: ‘mercury__profiling_builtin__non_fail_port_code_sr_3_0’ undeclared (first use in this function)
exception.c: At top level:

This is occurring on testing.mercurylang.org. (Also, checked on my Linux machine with GCC 4.8)
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0001101

zs (developer)

I have fix for the linking issue (attached). However, a bootstrap in the deep
profiling grade now gets a SIGSEGV when making the stage 3 dependencies,
even when if I undo the commit that fixed Mantis bug 514 (commit c5b35aca...),
which was the previous change that directly affected deep profiling.
So this needs further investigation.

~0001119

zs (developer)

The fix was committed 2020 aug 1.
+Notes

-Issue History
Date Modified Username Field Change
2020-07-31 01:34 juliensf New Issue
2020-07-31 14:27 zs File Added: PATCH.2020_07_31_exception
2020-07-31 14:27 zs Note Added: 0001101
2020-07-31 14:27 zs Assigned To => zs
2020-07-31 14:27 zs Status new => assigned
2020-10-16 07:06 zs Status assigned => resolved
2020-10-16 07:06 zs Resolution open => fixed
2020-10-16 07:06 zs Note Added: 0001119
+Issue History