You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 391 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
I have checked out the current CVS-version (3.01+3 (2001-06-08)) and
ran into the following linking problem on Linux:
markus@chopin:~/foo$ ocamlopt -thread unix.cmxa threads.cmxa -o foo foo.cmx
/raid/user/markus/local/linux-gnu/lib/ocaml/libthreadsnat.a(posix_n.o): In function caml_thread_uncaught_exception': posix_n.o(.text+0x620): undefined reference to backtrace_active'
posix_n.o(.text+0x628): undefined reference to `print_exception_backtrace'
collect2: ld returned 1 exit status
Error during linking
Here is the file foo.ml:
open Thread
let calc () = ()
let _ = Thread.create calc ()
I have checked out the current CVS-version (3.01+3 (2001-06-08)) and
ran into the following linking problem on Linux:
posix_n.o(.text+0x620): undefined reference to backtrace_active' posix_n.o(.text+0x628): undefined reference to print_exception_backtrace'
Right, I added support for stack backtrace on uncaught exceptions in
threads, and forgot that backtrace is available only under bytecode.
This is now fixed in the CVS repository.
Original bug ID: 391
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
I have checked out the current CVS-version (3.01+3 (2001-06-08)) and
ran into the following linking problem on Linux:
markus@chopin:~/foo$ ocamlopt -thread unix.cmxa threads.cmxa -o foo foo.cmx
/raid/user/markus/local/linux-gnu/lib/ocaml/libthreadsnat.a(posix_n.o): In function
caml_thread_uncaught_exception': posix_n.o(.text+0x620): undefined reference to
backtrace_active'posix_n.o(.text+0x628): undefined reference to `print_exception_backtrace'
collect2: ld returned 1 exit status
Error during linking
Here is the file foo.ml:
open Thread
let calc () = ()
let _ = Thread.create calc ()
Regards,
Markus Mottl
--
Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl
The text was updated successfully, but these errors were encountered: