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 3398ABBAF for ; Wed, 20 Jan 2010 19:16:38 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AloBAHfXVkvUTWUHkGdsb2JhbACcBgEBAQEJCQwHEwS+G4Q2BA X-IronPort-AV: E=Sophos;i="4.49,311,1262559600"; d="scan'208";a="46192186" Received: from mx3.wp.pl ([212.77.101.7]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Jan 2010 19:16:37 +0100 Received: (wp-smtpd smtp.wp.pl 16443 invoked from network); 20 Jan 2010 19:16:33 +0100 Received: from pfpleia.if.uj.edu.pl (d0@[149.156.90.26]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with AES256-SHA encrypted SMTP for ; 20 Jan 2010 19:16:33 +0100 Message-ID: <4B5748DF.90604@wp.pl> Date: Wed, 20 Jan 2010 19:18:07 +0100 From: Dawid Toton User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Bytecode run on AIX - "unknown C primitive" error References: <4B5616B9.7030105@wp.pl> <9A8556989A396A408C72088C69EDE5633EC26A23@KAIP-EXMSG01.lmsintl.com> In-Reply-To: <9A8556989A396A408C72088C69EDE5633EC26A23@KAIP-EXMSG01.lmsintl.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [IZNE] X-Spam: no; 0.00; bytecode:01 bytecode:01 ocaml:01 translating:01 ocamlopt:01 023:98 023:98 ......:98 garbage:01 caml-list:01 arithmetic:01 expression:02 expression:02 caml:02 caml:02 > unfortunatly I haven't a solution for the bytecode stuff. I only use > ocaml with native compiled code. This works very well. > Native code would also be sufficient (to save me from translating lot of code to C). 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) How have you obtained running ocamlopt? Dawid