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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 572D8BBAF for ; Wed, 20 Jan 2010 11:36:56 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AncAANdrVktVnouzlGdsb2JhbACBRpo8AQEBAQkLCAkTBbp/hDYE X-IronPort-AV: E=Sophos;i="4.49,309,1262559600"; d="scan'208";a="42144829" Received: from mail189.messagelabs.com ([85.158.139.179]) by mail3-smtp-sop.national.inria.fr with SMTP; 20 Jan 2010 11:36:55 +0100 X-VirusChecked: Checked X-Env-Sender: christoph.bauer@lmsintl.com X-Msg-Ref: server-4.tower-189.messagelabs.com!1263983812!32939454!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [213.68.136.230] Received: (qmail 8823 invoked from network); 20 Jan 2010 10:36:53 -0000 Received: from kaiserslautern1.lms-gmbh.de (HELO mail-in.lmsintl.com) (213.68.136.230) by server-4.tower-189.messagelabs.com with SMTP; 20 Jan 2010 10:36:53 -0000 Received: from KAIP-EXHUB01.lmsintl.com (unknown [10.2.100.90]) by mail-in.lmsintl.com (Postfix) with ESMTP id 9329743C005; Wed, 20 Jan 2010 14:29:10 +0100 (CET) Received: from KAIP-EXMSG01.lmsintl.com ([10.2.100.91]) by KAIP-EXHUB01.lmsintl.com ([10.2.100.90]) with mapi; Wed, 20 Jan 2010 11:36:52 +0100 From: Christoph Bauer To: Sylvain Le Gall , "caml-list@inria.fr" Date: Wed, 20 Jan 2010 11:36:50 +0100 Subject: RE: [Caml-list] Re: Bytecode run on AIX - "unknown C primitive" error Thread-Topic: [Caml-list] Re: Bytecode run on AIX - "unknown C primitive" error Thread-Index: AcqZuGYTmn+mPCwiQ1uvuakDowI8tgAAWOdg Message-ID: <9A8556989A396A408C72088C69EDE5633EC26A52@KAIP-EXMSG01.lmsintl.com> References: <4B5616B9.7030105@wp.pl> <9A8556989A396A408C72088C69EDE5633EC26A23@KAIP-EXMSG01.lmsintl.com> In-Reply-To: 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 ocamlopt:01 ocamlopt:01 flags:01 dllunix:01 compiler:01 flags:01 makefile:01 ocaml:01 config:01 config:01 unix:01 caml-list:01 cma:01 define:02 > I confirm that ocamlopt/AIX works well (thanks to Christoph).=20 >=20 > The best solution is maybe to understand why ocamlopt cannot=20 > be built ? It's a long time since I worked on that.=20 I suspected that ld, didn't export all needed symbols.=20 Playing with linker flags didn't help. With an older version (3.09.3) I also cannot load unix.cma. I get this error message: Cannot load required shared library dllunix. Reason: dynamic loading not supported on this platform. So in config/s.h I defined for 3.11.0 #define SUPPORT_DYNAMIC_LINKING and tried to fix the compiler/linker flags in config/Makefile. The linker is called with -bexpall, but as you can see, it doesn't solve th= e case. Regards, Christoph Bauer Ceterum censeo Ocaml 3.11.2 Issue #4844, #4034 et #4644 includam esse=