New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing caml_curry8 during linking while using -pack && .cmxa #7956
Comments
Comment author: administrator
I ran your test case exactly as provided, but the error you mention
|
Comment author: administrator On Mon, Nov 25, 2002 at 11:48:10AM +0100, Xavier Leroy wrote:
Well, I've initially thought that the problem was related to the debian So currently the bug manifests itself on debian boxes, no matter of Frankly I don't know where to look to better identify the bug, any TIA, -- |
Comment author: administrator On Tue, Nov 26, 2002 at 05:05:15PM +0100, Stefano Zacchiroli wrote:
Remi Vanicat was able to reproduce the bug also on a RedHat 7.2 building So the question moves forward: which machine are you using Xavier? You Thanks for your work, -- |
Comment author: administrator
I was eventually able to reproduce the bug. It's not a question of Best wishes,
|
Comment author: administrator Fixed 2002-12-02 by XL. |
Original bug ID: 1480
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
To produce the bug I've used Gerd Stoplmann's Shell module, but I'm able
to reproduce the bug also with other packages which are not part of the
ocaml distribution, actually all other external modules I've tried
manifest this behaviour.
Shell module is available at http://www.ocaml-programming.de/
(*** File: a.ml )
ignore (Shell.command);; ( just to use an external findlib module )
let foo () = prerr_endline "Hello, world!";;
( END ***)
(*** File: test.ml )
B.A.foo ();;
( END ***)
$ ocamlopt -I +shell -c a.ml
File "a.ml", line 1, characters 8-21:
Warning: this function application is partial,
maybe some arguments are missing.
$ ocamlopt -pack -o b.cmx a.cmx
$ ocamlopt -o b.cmxa -a b.cmx
$ ocamlopt -I +shell str.cmxa unix.cmxa shell.cmxa b.cmxa test.ml
/usr/lib/ocaml/shell/shell.a(shell_sys.o)(.data+0x144): In function
Shell_sys__2': : undefined reference to
caml_curry8'collect2: ld returned 1 exit status
Error during linking
Cheers.
--
Stefano Zacchiroli - undergraduate student of CS @ Uni. Bologna, Italy
zack@cs.unibo.it | ICQ 33538863 | http://www.cs.unibo.it/~zacchiro
"I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!" -- G.Romney
The text was updated successfully, but these errors were encountered: