Browse thread
[Caml-list] Error during partial linking
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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/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