2024-04-19 16:04 AEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000114mercuryBugpublic2009-10-30 09:45
Reporterjanicek 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusacknowledgedResolutionopen 
PlatformDarwinOSMac OS XOS Version10.5.8
Product Version 
Target VersionFixed in Version 
Summary0000114: rotd-2009-10-05's library install fails for grade hlc.agc
DescriptionTrying to install Mercury library with grade hlc.agc fails in "make install" ends with an error:

-- BEGIN SNIPPET --

mmc --compile-to-c --grade hlc.agc --mercury-linkage shared --flags LIB_FLAGS --flags INTER_FLAGS -R/Users/sandius/Developer/mercury-rotd-2009-10-05-agc/lib/mercury/lib/hlc.agc -R/Users/sandius/Develop
er/mercury-rotd-2009-10-05-agc/l
ib/mercury/lib version_hash_table > version_hash_table.err 2>&1
mmc --compile-to-c --grade hlc.agc --mercury-linkage shared --flags LIB_FLAGS --flags INTER_FLAGS -R/Users/sandius/Developer/mercury-rotd-2009-10-05-agc/lib/mercury/lib/hlc.agc -R/Users/sandius/Develop
er/mercury-rotd-2009-10-05-agc/lib/mercury/lib version_store > version_store.err 2>&1
mmc --compile-to-c --grade hlc.agc --mercury-linkage shared --flags LIB_FLAGS --flags INTER_FLAGS -R/Users/sandius/Developer/mercury-rotd-2009-10-05-agc/lib/mercury/lib/hlc.agc -R/Users/sandius/Develop
er/mercury-rotd-2009-10-05-agc/lib/mercury/lib version_types > version_types.err 2>&1
/Users/sandius/tmp/mercury-compiler-rotd-2009-10-05/install_grade_dir.hlc.agc/scripts/mgnuc --grade hlc.agc -- -c array.c -o array.o
array.c: In function ‘mercury__array__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_111_114_116_95_95_91_84_32_61_32_105_110_116_93_95_48_95_49_1_f_0’:
array.c:1369: error: ‘mercury__array__frame_ptr’ undeclared (first use in this function)
array.c:1369: error: (Each undeclared identifier is reported only once
array.c:1369: error: for each function it appears in.)
array.c: In function ‘mercury__array__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_111_114_116_95_95_91_84_32_61_32_115_116_114_105_110_103_93_95_48_95_49
_1_f_0’:
array.c:1469: error: ‘mercury__array__frame_ptr’ undeclared (first use in this function)
array.c: In function ‘mercury__array__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_97_109_115_111_114_116_95_115_117_98_97_114_114_97_121_95_95_91_84_32_6
1_32_105_110_116_93_95_48_95_49_3_f_0’:
array.c:1569: error: ‘mercury__array__frame_ptr’ undeclared (first use in this function)
array.c: In function ‘mercury__array__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_97_109_115_111_114_116_95_115_117_98_97_114_114_97_121_95_95_91_84_32_6
1_32_115_116_114_105_110_103_93_95_48_95_49_3_f_0’:
array.c:1626: error: ‘mercury__array__frame_ptr’ undeclared (first use in this function)
array.m: In function ‘mercury__array__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_97_109_115_111_114_116_95_117_112_95_95_91_84_32_61_32_105_110_116_93_9
5_48_95_49_8_p_0’:
array.m:1715: error: ‘mercury__array__frame_ptr’ undeclared (first use in this function)
array.m: In function ‘mercury__array__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_97_109_115_111_114_116_95_117_112_95_95_91_84_32_61_32_115_116_114_105_
110_103_93_95_48_95_49_8_p_0’:
array.m:1715: error: ‘mercury__array__frame_ptr’ undeclared (first use in this function)
array.m: In function ‘mercury__array__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_97_109_115_111_114_116_95_100_111_119_110_95_95_91_84_32_61_32_105_110_
116_93_95_48_95_49_8_p_0’:
array.m:1747: error: ‘mercury__array__frame_ptr’ undeclared (first use in this function)
array.m: In function ‘mercury__array__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_97_109_115_111_114_116_95_100_111_119_110_95_95_91_84_32_61_32_115_116_
114_105_110_103_93_95_48_95_49_8_p_0’:
array.m:1747: error: ‘mercury__array__frame_ptr’ undeclared (first use in this function)
array.c: In function ‘mercury__array__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_99_111_112_121_95_114_117_110_95_97_115_99_101_110_100_105_110_103_95_95_91
_84_32_61_32_105_110_116_93_95_48_95_49_6_p_0’:
array.c:2343: error: ‘mercury__array__frame_ptr’ undeclared (first use in this function)
array.c: In function ‘mercury__array__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_99_111_112_121_95_114_117_110_95_97_115_99_101_110_100_105_110_103_95_95_91
_84_32_61_32_115_116_114_105_110_103_93_95_48_95_49_6_p_0’:

-- END SNIPPET --

Configured with

$ ./configure --prefix=$HOME/Developer/mercury-rotd-2009-10-05-agc --enable-libgrades=hlc.gc,hlc.agc

$ gcc --version
i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5566)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ uname -a
Darwin freya.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

config.log attached.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000214

janicek (reporter)

The code snippet is truncated (there are many more errors than this, see the attached "make_install.nohup").

~0000215

juliensf (administrator)

It's probably just bitrot; the .agc grades have not been actively worked on
for some time. They should be considered as still experimental in any case.
+Notes

-Issue History
Date Modified Username Field Change
2009-10-19 19:19 janicek New Issue
2009-10-19 19:19 janicek File Added: config.log
2009-10-19 19:21 janicek File Added: make_install.nohup
2009-10-19 19:22 janicek Note Added: 0000214
2009-10-30 09:45 juliensf Note Added: 0000215
2009-10-30 09:45 juliensf Status new => acknowledged
+Issue History