[mercury-users] Installing on Irix 6.x

Gregory Daniel Denehy gdenehy at cs.monash.edu.au
Mon Sep 13 18:15:12 AEST 1999


Hi,

I'm trying to install the mercury 0.8.1 compiler from the source
distribution on an SGI Indy running Irix 6.2, however, it appears that the
assembler doesn't understand certain macros.  I was wondering if anyone
else has tried this before and if there is a fix.  I've included the
output from the installation below.

Greg






creating cache ./config.cache
loading cache ./config.cache
checking host system type... mips-sgi-irix6.2
looking for an already installed Mercury compiler to bootstrap with...
checking for mmc... no
looking for GNU Make...
checking for gmake... gmake
found GNU Make: gmake
looking for SICStus Prolog...
checking for sp... no
checking for sicstus... sicstus
configure: warning: SICStus Prolog not found
looking for NU-Pconfigure: warning: NU-Prolog not found
rolog...
checking for np... no
looking for a way to create named pipes...
checking for mkfifo... /usr/bin/mkfifo
looking for a way to create temporary files...
checking for mktemp... no
configure: warning: cannot find a working `mktemp'
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether cross-compiling... no
checking for ranlib... ranlib
checking return type of signal handlers... void
checking for sysconf... yes
checking for getpagesize... yes
checking for memalign... yes
checking for mprotect... yes
checking for sigaction... yes
checking for setitimer... yes
checking for strerror... yes
checking for memmove... yes
checking for sys/wait.h... yes
checking for sys/siginfo.h... yes
checking for ucontext.h... yes
checking for asm/sigcontext.h... no
checking for sys/param.h... yes
checking for sys/time.h... yes
checking for `sigaction' field name... sa_handler
checking for SA_RESTART... configure: warning: using sigaction without SA_RESTART
no
checking for working `sigcontext_struct' in second arg... no
checking for working `sigcontext_struct' in third arg... no
checking for `siginfo_t'... yes
checking for `siginfo' pc access at signals... CTX_EPC
checking for an integer type with the same size as a pointer... int
checking the number of low tag bits available... 2
checking the number of bytes per word... 4
checking the number of words in a synchronization term... 10
checking the number of bits per word... 32
checking whether we can use unboxed floats... no
checking whether float is 64-bit... no
checking whether double is 64-bit... yes
checking whether long double is 64-bit... yes
checking whether architecture is big-endian... yes
checking whether architecture is little-endian... no
checking return values of system... yes
checking for tempnam... yes
checking whether we can use gcc labels... yes
checking whether we can use asm labels... yes
checking whether we can use gcc labels and global registers... yes
checking whether we can support profiling on this system... yes
checking whether we can use global registers without gcc labels... yes
using `GRADE=asm_fast.gc' to compile the compiler
using `DEFAULT_GRADE=asm_fast.gc' as the default grade for applications
using `LIBGRADES= asm_fast asm_fast.gc.prof asm_fast.prof asm_fast.gc.memprof asm_fast.gc.tr asm_fast.gc.tr.debug ' as the set of library grades to install
checking whether the assembler does not handle .type... no
checking whether structure assignment conflicts with global registers... no
checking whether Mercury supports shared libraries on this system... no
updating cache ./config.cache
creating ./config.status
creating Mmake.common
creating scripts/Mmake.vars
creating scripts/mmc
creating scripts/mprof
creating scripts/mercury_update_interface
creating scripts/mgnuc
creating scripts/ml
creating scripts/mmake
creating scripts/mnc
creating scripts/mnl
creating scripts/mnp
creating scripts/c2init
creating scripts/mdb
creating scripts/mdbrc
creating scripts/msc
creating scripts/msl
creating scripts/msp
creating scripts/sicstus_conv
creating scripts/mkfifo_using_mknod
creating bindist/bindist.build_vars
creating runtime/mercury_conf.h
	MMAKE_DIR=`pwd`/scripts scripts/mmake  MMAKEFLAGS= all 2>&1 | tee make_all.log
cd scripts && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/tmp_mnt/u/hon/gdenehy/mercury/src/scripts'
gmake[1]: Nothing to be done for `default_target'.
gmake[1]: Leaving directory `/tmp_mnt/u/hon/gdenehy/mercury/src/scripts'
cd util && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/tmp_mnt/u/hon/gdenehy/mercury/src/util'
MERCURY_C_INCL_DIR=../runtime ../scripts/mgnuc --grade asm_fast.gc -I../runtime  -O0 -o mkinit mkinit.c
MERCURY_C_INCL_DIR=../runtime ../scripts/mgnuc --grade asm_fast.gc -I../runtime  -O0 -o mdemangle mdemangle.c
MERCURY_C_INCL_DIR=../runtime ../scripts/mgnuc --grade asm_fast.gc -I../runtime  -O0 -o info_to_mdb info_to_mdb.c
gmake[1]: Leaving directory `/tmp_mnt/u/hon/gdenehy/mercury/src/util'
case "$grade" in \
    *.prof*) \
	prof=_prof \
	;; \
    *) \
	prof= \
	;; \
esac; \
cd boehm_gc && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake  PROF=$prof
gmake[1]: Entering directory `/tmp_mnt/u/hon/gdenehy/mercury/src/boehm_gc'
MAKEFLAGS=""; export MAKEFLAGS; \
gmake  GRADE=asm_fast.gc PROF= libgc.a \
	libgc.a a
gmake[2]: Entering directory `/tmp_mnt/u/hon/gdenehy/mercury/src/boehm_gc'
../scripts/mgnuc --grade asm_fast.gc --no-ansi --no-check -DSILENT -DDONT_DEFINE_READ -DNO_DEBUGGING -DNO_EXECUTE_PERMISSION      -c alloc.c -o alloc.o
../scripts/mgnuc --grade asm_fast.gc --no-ansi --no-check -DSILENT -DDONT_DEFINE_READ -DNO_DEBUGGING -DNO_EXECUTE_PERMISSION      -c reclaim.c -o reclaim.o
../scripts/mgnuc --grade asm_fast.gc --no-ansi --no-check -DSILENT -DDONT_DEFINE_READ -DNO_DEBUGGING -DNO_EXECUTE_PERMISSION      -c allchblk.c -o allchblk.o
../scripts/mgnuc --grade asm_fast.gc --no-ansi --no-check -DSILENT -DDONT_DEFINE_READ -DNO_DEBUGGING -DNO_EXECUTE_PERMISSION      -c misc.c -o misc.o
../scripts/mgnuc --grade asm_fast.gc --no-ansi --no-check -DSILENT -DDONT_DEFINE_READ -DNO_DEBUGGING -DNO_EXECUTE_PERMISSION    -o if_mach ./if_mach.c
../scripts/mgnuc --grade asm_fast.gc --no-ansi --no-check -DSILENT -DDONT_DEFINE_READ -DNO_DEBUGGING -DNO_EXECUTE_PERMISSION    -o if_not_there ./if_not_there.c
../scripts/mgnuc --grade asm_fast.gc --no-ansi --no-check -DSILENT -DDONT_DEFINE_READ -DNO_DEBUGGING -DNO_EXECUTE_PERMISSION    -o threadlibs ./threadlibs.c
rm -f mach_dep.o
./if_mach MIPS IRIX5 ../scripts/mgnuc --grade asm_fast.gc --assemble -o mach_dep.o ./mips_sgi_mach_dep.s
./mips_sgi_mach_dep.s: Assembler messages:
./mips_sgi_mach_dep.s:11: Error: unrecognized opcode `nested(GC_push_regs,'
./mips_sgi_mach_dep.s:12: Warning: .mask outside of .ent
./mips_sgi_mach_dep.s:12: Error: Rest of line ignored. First ignored character is `0'.
./mips_sgi_mach_dep.s:13: Error: illegal operands `move'
./mips_sgi_mach_dep.s:14: Error: unrecognized opcode `setup_gpx(t8)'
./mips_sgi_mach_dep.s:15: Error: unrecognized opcode `ptr_subu'
./mips_sgi_mach_dep.s:17: Error: unrecognized opcode `setup_gp64(GPOFF,'
./mips_sgi_mach_dep.s:19: Error: unrecognized opcode `save_gp(GPOFF)'
./mips_sgi_mach_dep.s:20: Error: unrecognized opcode `reg_s'
./mips_sgi_mach_dep.s:22: Error: unrecognized opcode `call_push($2)'
./mips_sgi_mach_dep.s:23: Error: unrecognized opcode `call_push($3)'
./mips_sgi_mach_dep.s:25: Error: unrecognized opcode `call_push($16)'
./mips_sgi_mach_dep.s:26: Error: unrecognized opcode `call_push($17)'
./mips_sgi_mach_dep.s:27: Error: unrecognized opcode `call_push($18)'
./mips_sgi_mach_dep.s:28: Error: unrecognized opcode `call_push($19)'
./mips_sgi_mach_dep.s:29: Error: unrecognized opcode `call_push($20)'
./mips_sgi_mach_dep.s:30: Error: unrecognized opcode `call_push($21)'
./mips_sgi_mach_dep.s:31: Error: unrecognized opcode `call_push($22)'
./mips_sgi_mach_dep.s:32: Error: unrecognized opcode `call_push($23)'
./mips_sgi_mach_dep.s:33: Error: unrecognized opcode `call_push($30)'
./mips_sgi_mach_dep.s:34: Error: unrecognized opcode `reg_l'
./mips_sgi_mach_dep.s:36: Error: unrecognized opcode `restore_gp64'
./mips_sgi_mach_dep.s:38: Error: unrecognized opcode `ptr_addu'
./mips_sgi_mach_dep.s:40: Warning: .end directive without a preceding .ent directive
./mips_sgi_mach_dep.s:40: Error: Rest of line ignored. First ignored character is `G'.
gmake[2]: *** [mach_dep.o] Error 1
gmake[2]: Leaving directory `/tmp_mnt/u/hon/gdenehy/mercury/src/boehm_gc'
gmake[1]: *** [submake] Error 2
gmake[1]: Leaving directory `/tmp_mnt/u/hon/gdenehy/mercury/src/boehm_gc'
gmake: *** [boehm_gc] Error 2
	MMAKE_DIR=`pwd`/scripts scripts/mmake  MMAKEFLAGS= install 2>&1 | tee make_install.log
cd scripts && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/tmp_mnt/u/hon/gdenehy/mercury/src/scripts'
gmake[1]: Nothing to be done for `default_target'.
gmake[1]: Leaving directory `/tmp_mnt/u/hon/gdenehy/mercury/src/scripts'
cd util && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/tmp_mnt/u/hon/gdenehy/mercury/src/util'
gmake[1]: Nothing to be done for `default_target'.
gmake[1]: Leaving directory `/tmp_mnt/u/hon/gdenehy/mercury/src/util'
case "$grade" in \
    *.prof*) \
	prof=_prof \
	;; \
    *) \
	prof= \
	;; \
esac; \
cd boehm_gc && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake  PROF=$prof
gmake[1]: Entering directory `/tmp_mnt/u/hon/gdenehy/mercury/src/boehm_gc'
MAKEFLAGS=""; export MAKEFLAGS; \
gmake  GRADE=asm_fast.gc PROF= libgc.a \
	libgc.a a
gmake[2]: Entering directory `/tmp_mnt/u/hon/gdenehy/mercury/src/boehm_gc'
rm -f mach_dep.o
./if_mach MIPS IRIX5 ../scripts/mgnuc --grade asm_fast.gc --assemble -o mach_dep.o ./mips_sgi_mach_dep.s
./mips_sgi_mach_dep.s: Assembler messages:
./mips_sgi_mach_dep.s:11: Error: unrecognized opcode `nested(GC_push_regs,'
./mips_sgi_mach_dep.s:12: Warning: .mask outside of .ent
./mips_sgi_mach_dep.s:12: Error: Rest of line ignored. First ignored character is `0'.
./mips_sgi_mach_dep.s:13: Error: illegal operands `move'
./mips_sgi_mach_dep.s:14: Error: unrecognized opcode `setup_gpx(t8)'
./mips_sgi_mach_dep.s:15: Error: unrecognized opcode `ptr_subu'
./mips_sgi_mach_dep.s:17: Error: unrecognized opcode `setup_gp64(GPOFF,'
./mips_sgi_mach_dep.s:19: Error: unrecognized opcode `save_gp(GPOFF)'
./mips_sgi_mach_dep.s:20: Error: unrecognized opcode `reg_s'
./mips_sgi_mach_dep.s:22: Error: unrecognized opcode `call_push($2)'
./mips_sgi_mach_dep.s:23: Error: unrecognized opcode `call_push($3)'
./mips_sgi_mach_dep.s:25: Error: unrecognized opcode `call_push($16)'
./mips_sgi_mach_dep.s:26: Error: unrecognized opcode `call_push($17)'
./mips_sgi_mach_dep.s:27: Error: unrecognized opcode `call_push($18)'
./mips_sgi_mach_dep.s:28: Error: unrecognized opcode `call_push($19)'
./mips_sgi_mach_dep.s:29: Error: unrecognized opcode `call_push($20)'
./mips_sgi_mach_dep.s:30: Error: unrecognized opcode `call_push($21)'
./mips_sgi_mach_dep.s:31: Error: unrecognized opcode `call_push($22)'
./mips_sgi_mach_dep.s:32: Error: unrecognized opcode `call_push($23)'
./mips_sgi_mach_dep.s:33: Error: unrecognized opcode `call_push($30)'
./mips_sgi_mach_dep.s:34: Error: unrecognized opcode `reg_l'
./mips_sgi_mach_dep.s:36: Error: unrecognized opcode `restore_gp64'
./mips_sgi_mach_dep.s:38: Error: unrecognized opcode `ptr_addu'
./mips_sgi_mach_dep.s:40: Warning: .end directive without a preceding .ent directive
./mips_sgi_mach_dep.s:40: Error: Rest of line ignored. First ignored character is `G'.
gmake[2]: *** [mach_dep.o] Error 1
gmake[2]: Leaving directory `/tmp_mnt/u/hon/gdenehy/mercury/src/boehm_gc'
gmake[1]: *** [submake] Error 2
gmake[1]: Leaving directory `/tmp_mnt/u/hon/gdenehy/mercury/src/boehm_gc'
gmake: *** [boehm_gc] Error 2

--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list