caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christoph Bauer <christoph.bauer@lmsintl.com>
To: Dawid Toton <d0@wp.pl>,
	"caml-list@yquem.inria.fr" <caml-list@yquem.inria.fr>
Subject: RE: [Caml-list] Bytecode run on AIX - "unknown C primitive" error
Date: Fri, 22 Jan 2010 12:24:58 +0100	[thread overview]
Message-ID: <9A8556989A396A408C72088C69EDE5633EC26CBF@KAIP-EXMSG01.lmsintl.com> (raw)
In-Reply-To: <4B5748DF.90604@wp.pl>


> 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


  reply	other threads:[~2010-01-22 11:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-19 20:31 Dawid Toton
2010-01-20  9:20 ` [Caml-list] " Christoph Bauer
2010-01-20 10:07   ` Sylvain Le Gall
2010-01-20 10:36     ` [Caml-list] " Christoph Bauer
2010-01-20 18:18   ` [Caml-list] " Dawid Toton
2010-01-22 11:24     ` Christoph Bauer [this message]
2010-01-27 15:10       ` [Caml-list] OCaml on AIX Dawid Toton
2010-04-19 14:56         ` Christoph Bauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9A8556989A396A408C72088C69EDE5633EC26CBF@KAIP-EXMSG01.lmsintl.com \
    --to=christoph.bauer@lmsintl.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=d0@wp.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).