[Issue 4095] compiling with -op -od and using absolute paths for source files make dmd write object files anywhere

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4095

Iain Buclaw  changed:

   What|Removed |Added

   Priority|P2  |P3

--


[Issue 4095] compiling with -op -od and using absolute paths for source files make dmd write object files anywhere

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4095

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|D1  D2 |D2

--


[Issue 4095] compiling with -op -od and using absolute paths for source files make dmd write object files anywhere

2013-07-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4095


Manu turkey...@gmail.com changed:

   What|Removed |Added

 CC||turkey...@gmail.com


--- Comment #5 from Manu turkey...@gmail.com 2013-07-31 15:08:38 PDT ---
This is still a problem...
VisualD makes use of this extensively, which causes lots of problems.
Plz can haz fix? :)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4095] compiling with -op -od and using absolute paths for source files make dmd write object files anywhere

2013-07-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4095



--- Comment #7 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-07-31 
15:14:41 PDT ---
Btw why is this tagged as only D1, doesn't it affect D2 as well?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4095] compiling with -op -od and using absolute paths for source files make dmd write object files anywhere

2013-07-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4095


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

 CC||andrej.mitrov...@gmail.com


--- Comment #6 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-07-31 
15:13:50 PDT ---
(In reply to comment #1)
 Note that ldc supports the -oq switch, which is much more friendlier to build
 scripts. Bug 3541 has a patch to enhance dmd with -oq.

It also has a pull, but it needs more votes:
https://github.com/D-Programming-Language/dmd/pull/1871

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4095] compiling with -op -od and using absolute paths for source files make dmd write object files anywhere

2013-07-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4095


Manu turkey...@gmail.com changed:

   What|Removed |Added

   Platform|Other   |All
Version|1.057   |D1  D2
 OS/Version|Linux   |All


--- Comment #8 from Manu turkey...@gmail.com 2013-07-31 15:17:53 PDT ---
I guess it's just ancient ;)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4095] compiling with -op -od and using absolute paths for source files make dmd write object files anywhere

2011-01-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4095


nfx...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4095] compiling with -op -od and using absolute paths for source files make dmd write object files anywhere

2011-01-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4095


Brad Roberts bra...@puremagic.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||bra...@puremagic.com
 Resolution|WONTFIX |


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4095] compiling with -op -od and using absolute paths for source files make dmd write object files anywhere

2010-12-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4095



--- Comment #3 from nfx...@gmail.com 2010-12-02 09:43:39 PST ---
As of dmd 1.065, the behaviour seems to be slightly different. Anyway, it still
doesn't work. dmd keeps overwriting its own object files if there are modules
with same name from different packages.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4095] compiling with -op -od and using absolute paths for source files make dmd write object files anywhere

2010-12-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4095



--- Comment #4 from nfx...@gmail.com 2010-12-02 10:16:51 PST ---
(In reply to comment #3)
 dmd keeps overwriting its own object files if there are modules
 with same name from different packages.

Scratch that, up on closer inspection, the problem is exactly the same as
described in the initial comment.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4095] compiling with -op -od and using absolute paths for source files make dmd write object files anywhere

2010-04-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4095



--- Comment #1 from nfx...@gmail.com 2010-04-15 18:00:36 PDT ---
Note that ldc supports the -oq switch, which is much more friendlier to build
scripts. Bug 3541 has a patch to enhance dmd with -oq. In combination with
-deps, -oq uses object filenames that can be easily known by build script,
instead of having to emulate dmd's path handling to find out the final object
filename.

E.g. in the example above, where should foo.o really be written? The
filename/path must not clash with other modules named foo, and using the
package name seems the simplest solution. Which is exactly what -oq does.

Further note that the only properly working build tool for D, xfbuild, uses
incredible kludges to work this around. When there are modules with the same
name/different packages, it does several compile runs to avoid dmd overwriting
the object files it just created in the same run.

I hope this is motivation enough to solve this problem upstream.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4095] compiling with -op -od and using absolute paths for source files make dmd write object files anywhere

2010-04-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4095



--- Comment #2 from nfx...@gmail.com 2010-04-15 18:06:07 PDT ---
I have to add that this doesn't really only apply to absolute paths. Relative
paths to source files exhibit similarly messed up behavior, but I'm not really
sure why or what it actually does or is supposed to do. It's something for a
separate bug report.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---