www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5205] New: D runtime duplication in zip

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5205

           Summary: D runtime duplication in zip
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: Jesse.K.Phillips+D gmail.com
                CC: Jesse.K.Phillips+D gmail.com


--- Comment #0 from Jesse Phillips <Jesse.K.Phillips+D gmail.com> 2010-11-11
19:16:02 PST ---
The zip file distributed for DMD includes the source code for druntime. There
is actually an old version of the code lingering in the import section, which
now also contains generated interface files. dmd may be preferring the .d files
over .di causing old code to be used.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 11 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5205


Steven Schveighoffer <schveiguy yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy yahoo.com
          Component|Phobos                      |druntime
         AssignedTo|nobody puremagic.com        |sean invisibleduck.org


--- Comment #1 from Steven Schveighoffer <schveiguy yahoo.com> 2010-11-12
05:15:06 PST ---
The import directory is what is used for imports.  The compiler doesn't use the
src directory.

What files do you see that are old?  IIRC, the only non-generated file is
object.di, which is maintained seperately from object_.d in the src directory.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 12 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5205



--- Comment #2 from Jesse Phillips <Jesse.K.Phillips+D gmail.com> 2010-11-12
10:50:16 PST ---
There are both .di file and .d files in the import directory. The .d files are
old, while the .di files are generated.

It looks like this only starts under core/sys

Anyway it was more confusing then a problem a guess. I thought enum values
might be used from the .di files, since you shouldn't, no storage right?, be
able to get its value from the library.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 12 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5205


Steven Schveighoffer <schveiguy yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|druntime                    |DMD
         AssignedTo|sean invisibleduck.org      |bugzilla digitalmars.com


--- Comment #3 from Steven Schveighoffer <schveiguy yahoo.com> 2010-11-12
11:42:58 PST ---
You are absolutely right.  When looking in svn, those files have been removed. 
It's probably in the way the zipfile is packaged, it's not using a clean
directory structure.

Here is the complete list of d files that should be removed (all in import
directory):
core/sys/windows/windows.d
core/sys/osx/mach/kern_return.d
core/sys/osx/mach/port.d
core/sys/osx/mach/semaphore.d
core/sys/osx/mach/thread_act.d
core/sys/posix/utime.d
core/sys/posix/ucontext.d
core/sys/posix/netinet/tcp.d
core/sys/posix/netinet/in_.d
core/sys/posix/sys/ipc.d
core/sys/posix/sys/shm.d
core/sys/posix/sys/stat.d
core/sys/posix/sys/select.d
core/sys/posix/sys/time.d
core/sys/posix/sys/uio.d
core/sys/posix/sys/wait.d
core/sys/posix/sys/mman.d
core/sys/posix/sys/types.d
core/sys/posix/sys/socket.d
core/sys/posix/poll.d
core/sys/posix/time.d
core/sys/posix/signal.d
core/sys/posix/stdlib.d
core/sys/posix/stdio.d
core/sys/posix/fcntl.d
core/sys/posix/pthread.d
core/sys/posix/dlfcn.d
core/sys/posix/semaphore.d
core/sys/posix/unistd.d
core/sys/posix/inttypes.d
core/sys/posix/arpa/inet.d
core/sys/posix/net/if_.d
core/sys/posix/dirent.d
core/sys/posix/termios.d
core/sys/posix/config.d
core/sys/posix/setjmp.d
core/sys/posix/sched.d
core/sys/posix/pwd.d
core/stdc/stdarg.d
core/stdc/complex.d
core/stdc/limits.d
core/stdc/math.d
core/stdc/errno.d
core/stdc/stdint.d
core/stdc/string.d
core/stdc/time.d
core/stdc/signal.d
core/stdc/stdlib.d
core/stdc/stdio.d
core/stdc/ctype.d
core/stdc/inttypes.d
core/stdc/locale.d
core/stdc/wctype.d
core/stdc/stddef.d
core/stdc/float_.d
core/stdc/config.d
core/stdc/wchar_.d
core/stdc/tgmath.d
core/stdc/fenv.d

Reassigning to Walter so he sees this.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 12 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5205


Steven Schveighoffer <schveiguy yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw ubuntu.com


--- Comment #4 from Steven Schveighoffer <schveiguy yahoo.com> 2010-11-15
08:06:40 PST ---
*** Issue 5208 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 15 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5205


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |thecybershadow gmail.com
         Resolution|                            |FIXED


--- Comment #5 from Vladimir Panteleev <thecybershadow gmail.com> 2011-08-23
19:16:38 PDT ---
dmd.2.054.zip looks OK in this regard, I guess this was fixed a while ago.

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