From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA26735; Tue, 22 Oct 2002 18:11:43 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA26307 for ; Tue, 22 Oct 2002 18:11:42 +0200 (MET DST) Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id g9MGBeD11964 for ; Tue, 22 Oct 2002 18:11:41 +0200 (MET DST) Received: (qmail 61773 invoked from network); 22 Oct 2002 16:06:33 -0000 Received: from adsl-host-sf-228.apexworld.net (HELO checkerlap.d6.com) (66.114.212.228) by relay1.pair.com with SMTP; 22 Oct 2002 16:06:33 -0000 X-pair-Authenticated: 66.114.212.228 Message-Id: <4.3.2.7.2.20021022090136.035ec2f8@mail.d6.com> X-Sender: checker@mail.d6.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 22 Oct 2002 09:07:00 -0700 To: Yang Shouxun , caml-list@inria.fr From: Chris Hecker Subject: Re: [Caml-list] Error during partial linking In-Reply-To: <200210221737.56370.yangsx@fltrp.com> References: <20021022104215.A9456@pauillac.inria.fr> <200210221333.36858.yangsx@fltrp.com> <20021022104215.A9456@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >+ /usr/bin/objcopy --redefine-sym >'WeightBalancedSet__zero_227=Baire__WeightBalancedSet__zero_227' [...] >--redefine-sym 'AmortizedQueue=Baire__AmortizedQueue' 'baire.o' >Error during partial linking >make[1]: *** [nativepack] Error 2 I think this is the command line length limit problem, for which there is a FIXME comment in the asmcomp/asmpackager.ml. The fix is really simple and localized (fold over the symbols_to_rename and break them up into smaller chunks, and then iter over that list of lists calling objcopy), but you'll have to patch the compiler to do it. I don't know of a workaround except building multiple smaller packed files. Chris ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners