Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Error during partial linking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] Error during partial linking

>+ /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/  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.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: