From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 96E16BBAF for ; Fri, 22 Jan 2010 12:25:22 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnkAAFMaWUtVnoqDlGdsb2JhbACBRZpiAQEBAQkLCAkTBbwShDwE X-IronPort-AV: E=Sophos;i="4.49,323,1262559600"; d="scan'208";a="47713175" Received: from mail186.messagelabs.com ([85.158.138.131]) by mail1-smtp-roc.national.inria.fr with SMTP; 22 Jan 2010 12:25:01 +0100 X-VirusChecked: Checked X-Env-Sender: christoph.bauer@lmsintl.com X-Msg-Ref: server-9.tower-186.messagelabs.com!1264159500!48707993!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [213.68.136.230] Received: (qmail 933 invoked from network); 22 Jan 2010 11:25:00 -0000 Received: from kaiserslautern1.lms-gmbh.de (HELO mail-in.lmsintl.com) (213.68.136.230) by server-9.tower-186.messagelabs.com with SMTP; 22 Jan 2010 11:25:00 -0000 Received: from KAIP-EXHUB01.lmsintl.com (unknown [10.2.100.90]) by mail-in.lmsintl.com (Postfix) with ESMTP id 1B1AF43C005; Fri, 22 Jan 2010 15:17:54 +0100 (CET) Received: from KAIP-EXMSG01.lmsintl.com ([10.2.100.91]) by KAIP-EXHUB01.lmsintl.com ([10.2.100.90]) with mapi; Fri, 22 Jan 2010 12:25:00 +0100 From: Christoph Bauer To: Dawid Toton , "caml-list@yquem.inria.fr" Date: Fri, 22 Jan 2010 12:24:58 +0100 Subject: RE: [Caml-list] Bytecode run on AIX - "unknown C primitive" error Thread-Topic: [Caml-list] Bytecode run on AIX - "unknown C primitive" error Thread-Index: AcqZ/LkfSKv2ZV87RZWYNfoBZeev1QBWEp2w Message-ID: <9A8556989A396A408C72088C69EDE5633EC26CBF@KAIP-EXMSG01.lmsintl.com> References: <4B5616B9.7030105@wp.pl> <9A8556989A396A408C72088C69EDE5633EC26A23@KAIP-EXMSG01.lmsintl.com> <4B5748DF.90604@wp.pl> In-Reply-To: <4B5748DF.90604@wp.pl> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam: no; 0.00; bytecode:01 asmrun:01 cpp:01 -dsys:01 023:98 023:98 ......:98 garbage:01 caml-list:01 arithmetic:01 expression:02 expression:02 caml:02 caml:02 defined:02 > The problem is that the assembler available on AIX doesn't unserstand > power-aix.S: >=20 > as -o power-aix.o power-aix.S > Assembler: > power-aix.S: line 103: 1252-023 The symbol=20 > .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=20 > 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