From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=5.0 tests=AWL,DNS_FROM_RFC_POST, MISSING_HEADERS,SPF_NEUTRAL autolearn=disabled version=3.1.3 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 333E3BC37 for ; Sun, 24 May 2009 20:44:57 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsCAF0yGUrRVdyukGdsb2JhbACNXolGPwEBAQEJCQwHEQOnAgiBC45AAQMBBIQHBYY4 X-IronPort-AV: E=Sophos;i="4.41,240,1241388000"; d="scan'208";a="29836290" Received: from mail-fx0-f174.google.com ([209.85.220.174]) by mail1-smtp-roc.national.inria.fr with ESMTP; 24 May 2009 20:44:57 +0200 Received: by fxm22 with SMTP id 22so2710920fxm.9 for ; Sun, 24 May 2009 11:44:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=512PdgJ+EGNUJ6sgz1NfowjhY9RVedwEi9bUsUQ9M/w=; b=gBWT3wXZAimb4W+NUUBtuX/iebnnW0aAHXt5rOgh8rwDgo0tu4xCbfhKAPPB4tnHVR +/qG9Szh/TvTsykkwGK89foXvq13hGV8kdrjYB2xlUD0FeuNQmLyTe5FyA02WJux+8/1 DNDIyK/FUfXHzeGmsbqZ003PX5P/9u7LHnSlU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=SDZtjVK8HIdttcPjebFOgseRvS9VtT6uBOU1nmmHRxjnATWq49Crm9Vx5nAD9Eithg n83kb/FnS20zdNuSrDJFzoMTqQ4lOq/3iCL4aOBvSShsFx/7X1I0ZoYnsTKlm34w3OU5 E4BLWqTc8mnjHXK2nh3A/EAyaXu4sSNjzmw3M= Received: by 10.204.58.9 with SMTP id e9mr6024399bkh.23.1243190696806; Sun, 24 May 2009 11:44:56 -0700 (PDT) Received: from ?192.168.1.10? (251.48.197-77.rev.gaoland.net [77.197.48.251]) by mx.google.com with ESMTPS id z15sm3708150fkz.37.2009.05.24.11.44.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 24 May 2009 11:44:56 -0700 (PDT) Message-ID: <4A1995A6.4020904@gmail.com> Date: Sun, 24 May 2009 20:44:54 +0200 From: Matthieu Dubuget Reply-To: matthieu.dubuget@gmail.com User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 Cc: caml-list@inria.fr Subject: Re: [Caml-list] Linking fails for native version of 3.11 under MinGW when using large number of modules References: <4A195857.9050306@simula.no> In-Reply-To: <4A195857.9050306@simula.no> X-Enigmail-Version: 0.95.7 OpenPGP: id=F60AB8F5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam: no; 0.00; matthieu:01 dubuget:01 matthieu:01 dubuget:01 mingw:01 rafaelsen:01 caml-list:01 modules:02 modules:02 linking:02 linking:02 native:03 seems:03 shorter:04 problem:05 Hans Ole Rafaelsen a écrit : > By removing some of the packages from the link stage, it builds easily > with more BarXXX modules included. Some of the packages seems to high a > higher impact than others. By instead opening BXXX modules, which do the > same as BarXXX modules, but have shorter names, I'm able to include a > few more, when linking against the same packages. Including up to B116 > works, and it fails when trying B117. So it looks like it is impacted of > both the number of symbols and their length. By not linking against any > packages, I'm able to include a large number of my own modules (tested > with long names), so it does not seem to be the length of the command > line arguments that is causing the problems. > > Some info about the various versions of programs being used: Can you check the version of flexlink you are using? I had some problem when the command line was too long. I'm not sure what the error message where, though. Hoping this helps Salutations Matt