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: 6218 Reporter: goswin Status: confirmed (set by @mshinwell on 2014-05-30T13:19:38Z) Resolution: open Priority: normal Severity: tweak Version: 4.00.1 Category: compiler driver Tags: junior_job Related to:#6475 Monitored by:@gasche
Bug description
When using the name of an intermediate file as output name the compiler truncates it own files and fails:
% ocamlopt -output-obj -o foo.o foo.ml
foo.o: file not recognized: File truncated
File "caml_startup", line 1:
Error: Error during linking
It would be easier to understand the problem if ocamlopt would catch the name collision.
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc.
Original bug ID: 6218
Reporter: goswin
Status: confirmed (set by @mshinwell on 2014-05-30T13:19:38Z)
Resolution: open
Priority: normal
Severity: tweak
Version: 4.00.1
Category: compiler driver
Tags: junior_job
Related to: #6475
Monitored by: @gasche
Bug description
When using the name of an intermediate file as output name the compiler truncates it own files and fails:
% ocamlopt -output-obj -o foo.o foo.ml
foo.o: file not recognized: File truncated
File "caml_startup", line 1:
Error: Error during linking
It would be easier to understand the problem if ocamlopt would catch the name collision.
Steps to reproduce
echo "let () = ()" >foo.ml
ocamlopt -output-obj -o foo.o foo.ml
The text was updated successfully, but these errors were encountered: