www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 888] New: -cov and _ModuleInfo linking bugs

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

           Summary: -cov and _ModuleInfo  linking bugs
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: someanon yahoo.com


On Linux, compile with -cov, then there's link error:

http://www.digitalmars.com/d/archives/digitalmars/D/bugs/6712.html

:(.data+0x93bc): more undefined references to `_D3std1c6stdlib12__ModuleInfoZ'
follow


-- 
Jan 25 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=888






Same problem, tried with lastest 1.002.

Seems happen with large bases of code.

Small examples on: http://digitalmars.com/d/code_coverage.html 
works.


-- 
Jan 25 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=888


david ferenczi.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |





Problem still exists with dmd-1.005


-- 
Feb 16 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=888


someanon yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major
           Priority|P2                          |P1
            Version|unspecified                 |2.012





This problem still exist on Linux with v2.012.

Again, the small example sieve.d works fine; but bigger programs won't link.

Since this bug has been around for a while, raise the priority.


-- 
Mar 14 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=888






And error msg:

/project/dmd/bin/../lib/libphobos2.a(gc.o):(.data+0x30): multiple definition of
`_D3std2gc12__ModuleInfoZ'

/project/dmd/bin/../lib/libphobos2.a(gc.o):(.data+0x0):first defined here

‘_D3std1c4time12__ModuleInfoZ’undefined

more undefined references to `_D3std1c6stdlib12__ModuleInfoZ' follow


-- 
Mar 14 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=888






I checked the library:

$ nm ../dmd/lib/libphobos2.a | grep _D3std1c4time12__ModuleInfoZ
$ nm ../dmd/lib/libphobos2.a | grep _D3std1c6stdlib12__ModuleInfoZ

$ nm ../dmd/lib/libphobos2.a | grep _D3std2gc12__ModuleInfoZ
00000000 D _D3std2gc12__ModuleInfoZ
00000030 D _D3std2gc12__ModuleInfoZ
         U _D3std2gc12__ModuleInfoZ


-- 
Mar 14 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=888


David Ferenczi <david ferenczi.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david ferenczi.net



---
I don't encounter the problem with v2.032 on Linux.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 10 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=888


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW
                 CC|                            |andrej.mitrovich gmail.com



11:08:24 PST ---
Status of this? Close with WORKSFORME if it's fixed.

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