https://bugzilla.redhat.com/show_bug.cgi?id=1477363 --- Comment #5 from Richard W.M. Jones <rjones@xxxxxxxxxx> --- I believe you can change the ocamlbuild command line to add ocamlbuild ... -tag debug (https://nicolaspouillard.fr/ocamlbuild/ocamlbuild-user-guide.html) You'll also want to check what actual ocamlopt commands are being executed to ensure that -g is passed to them all. To check that debuginfo is being generated at all, look at the *.o files. For example: echo 'print_endline "hello world"' > test.ml ocamlopt.opt -g test.ml eu-readelf --debug-dump=info test.o You should see entries such as ‘name’, ‘comp_dir’. However if -g has been omitted then eu-readelf will give an error: eu-readelf: cannot get debug context descriptor: No DWARF information found You can also run the same commands on executables. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx