Skip to content
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

fatal ld error by ocamlopt on Solaris/SPARC #3893

Closed
vicuna opened this issue Nov 28, 2005 · 2 comments
Closed

fatal ld error by ocamlopt on Solaris/SPARC #3893

vicuna opened this issue Nov 28, 2005 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Nov 28, 2005

Original bug ID: 3893
Reporter: anonymous
Status: closed (set by @garrigue on 2005-11-28T09:39:52Z)
Resolution: not a bug
Priority: normal
Severity: major
Version: 3.09.0
Category: misc

Bug description

echo > foo.ml
ocamlopt -verbose foo.ml -o foo

  • as -o 'foo.o' '/tmp/camlasm844021.s'
  • as -o '/tmp/camlstartup6eab87.o' '/tmp/camlstartup7850e9.s'
  • gcc -o 'foo' -I'/usr/local/lib/ocaml' '/tmp/camlstartup6eab87.o' '/usr/local/lib/ocaml/std_exit.o' 'foo.o' '/usr/local/lib/ocaml/stdlib.a' '-L/usr/local/lib/ocaml' '/usr/local/lib/ocaml/libasmrun.a' -lnsl -lsocket -lm -ldl
    Undefined first referenced
    symbol in file
    _mcount /usr/local/lib/ocaml/std_exit.o
    ld: fatal: Symbol referencing errors. No output written to foo
    collect2: ld returned 1 exit status
    Error during linking

Additional information

reproduces in any machine running Solaris/SPARC (that I have access to)

[report by Eijiro Sumii (eijiro.sumii@gmail.com)]

@vicuna
Copy link
Author

vicuna commented Nov 28, 2005

Comment author: anonymous

Actually, the problem disappeared after removing /usr/local/lib/ocaml and re-installing OCaml 3.09. Sorry for bothering you.

@vicuna
Copy link
Author

vicuna commented Nov 28, 2005

Comment author: @garrigue

closed by original reporter

@vicuna vicuna closed this as completed Nov 28, 2005
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant