Ticket #3 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

rebuild sometimes fails with files of same name in different directories

Reported by: ChristianK Assigned to: Gregor
Priority: major Milestone:
Component: DSSS Version:
Keywords: Cc:

Description

Using the -oq option: If you have two files of the same name in different directories like file.d and pkg/file.d, then there's a problem when pkg/file.d is recompiled and file.d isn't. pkg/file.d seems to be compiled to file.o and then renamed to pkg.file.o - resulting in the linker error

gcc: file.o: No such file or directory

It'd be fixed by compiling pkg/file.d to a file of a name that can't overlap with existing object files and then renaming it.

This happened to me with a homemade array.d and std.array (which is never actually compiled, but array.o is renamed to std.array.o in each run of rebuild anyway).

Change History

02/19/07 13:52:59 changed by Gregor

  • owner changed from somebody to Gregor.
  • status changed from new to assigned.

Sorry I didn't see this, I'm not good at ticket systems ... working on it.

02/19/07 14:07:14 changed by Gregor

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in rebuild 0.11 (which will be released in a few minutes).

(Admittedly, this was fixed in a rather primitive way)