Version française
Home     About     Download     Resources     Contact us    
Browse thread
Bytecode run on AIX - "unknown C primitive" error
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christoph Bauer <christoph.bauer@l...>
Subject: RE: [Caml-list] Bytecode run on AIX - "unknown C primitive" error

> The problem is that the assembler available on AIX doesn't unserstand
> power-aix.S:
> 
> as  -o power-aix.o power-aix.S
> Assembler:
> power-aix.S: line 103: 1252-023 The symbol 
> .caml_garbage_collection is not defined.
> power-aix.S: line 103: 1252-087 The target of the branch instruction
>         must be a relocatable or external expression.
> power-aix.S: line 457: 1252-023 The symbol caml_young_limit 
> is not defined.
> power-aix.S: line 457: 1252-040 The specified expression is not valid.
>         Make sure that all symbols are defined.
>         Check the rules on symbols used in an arithmetic expression
>         concerning relocation.
> ...... (many similar messages)

Please try:

$ cd asmrun
$ cpp -DSYS_aix power-aix.S > power-aix.s
$ as -u  power-aix.s
$ cd ..
$ make opt

Christoph Bauer