Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006218OCamlOCaml generalpublic2013-11-02 11:002013-11-02 14:20
Reportergoswin 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version4.00.1 
Target VersionFixed in Version 
Summary0006218: Doesn't fail with name conflicts
DescriptionWhen 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 Reproduceecho "let () = ()" >foo.ml
ocamlopt -output-obj -o foo.o foo.ml
Tagsjunior_job
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-11-02 11:00 goswin New Issue
2013-11-02 14:20 gasche Tag Attached: junior_job


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker