[m-dev.] hlc.gc.prof test failing to link on ceres

Ralph Becket rafe at cs.mu.OZ.AU
Fri Jul 30 11:51:39 AEST 2004


The hlc.gc.prof tests are failing to link on ceres.

Is a link error regarding the symbol MR_grade_v12_hlc_gc_prof_tags2 a
problem with not having the correct installed grades on ceres or
something else?

Might it be that the hlc.gc.prof installation on ceres is out of date?

ll /home/ceres/public/mercury-latest/i686-pc-linux-gnu/lib/mercury/lib/hlc.gc.prof/i686-pc-linux-gnu/
total 14356
drwxrwxr-x    3 mercury  mercury      4096 Jan 24  2004 inc
-rw-rw-r--    1 mercury  mercury    923094 May 28 00:39 libmer_browser.a
-rwxrwxr-x    1 mercury  mercury    777163 May 28 00:39 libmer_browser.so
-rw-rw-r--    1 mercury  mercury     56966 May 28 00:39 libmer_mdbcomp.a
-rwxrwxr-x    1 mercury  mercury     60287 May 28 00:39 libmer_mdbcomp.so
-rw-rw-r--    1 mercury  mercury   4171406 Jul 30 00:45 libmer_rt.a
-rwxrwxr-x    1 mercury  mercury    598558 Jul 30 00:45 libmer_rt.so
-rw-rw-r--    1 mercury  mercury   3235888 May 28 00:38 libmer_std.a
-rwxrwxr-x    1 mercury  mercury   2762903 May 28 00:38 libmer_std.so
-rw-rw-r--    1 mercury  mercury   1545848 May 28 00:39 libmer_trace.a
-rwxrwxr-x    1 mercury  mercury    501028 May 28 00:39 libmer_trace.so

Here's a sample from test-latest-ceres.out:

gmake[5]: Entering directory `/home/ceres/test_mercury_ceres/build.latest.gcc/tests/benchmarks'
mmc --compile-to-c --grade hlc.gc.prof      -O5 --opt-space --mercury-linkage shared --pic-reg    cqueens > cqueens.err 2>&1
mgnuc --grade hlc.gc.prof      --pic-reg  --      -c cqueens.c -o cqueens.o
mgnuc --grade hlc.gc.prof      --pic-reg  --      -c cqueens_init.c -o cqueens_init.o
ml --grade hlc.gc.prof       --shared       --    -o cqueens cqueens_init.o \ 
        cqueens.o \
            
/home/ceres/public/mercury-latest/i686-pc-linux-gnu/lib/mercury/lib/hlc.gc.prof/i686-pc-linux-gnu/libmer_std.so: undefined reference to `MR_grade_v12_hlc_gc_prof_tags2'
/home/ceres/public/mercury-latest/i686-pc-linux-gnu/lib/mercury/lib/hlc.gc.prof/i686-pc-linux-gnu/libmer_std.so: undefined reference to `<predicate 'table_builtin.table_nondet_resume'/1 mode 0>'
/home/ceres/public/mercury-latest/i686-pc-linux-gnu/lib/mercury/lib/hlc.gc.prof/i686-pc-linux-gnu/libmer_std.so: undefined reference to `<predicate 'table_builtin.table_nondet_suspend'/2 mode 0>'
collect2: ld returned 1 exit status
Mercury Linker:
        Note: the symbol `MR_grade_v12_hlc_gc_prof_tags2' was mentioned.
        Any link errors are most likely due to linking together object
        files compiled with different compilation model options.
        Try doing `mmake clean' and then rebuilding.
gmake[5]: *** [cqueens] Error 1
gmake[5]: Target `cqueens.runtest' not remade because of errors.
gmake[5]: Leaving directory `/home/ceres/test_mercury_ceres/build.latest.gcc/tests/benchmarks'

-- Ralph
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list