www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5766] New: undefined reference to `_D3std4bind12__ModuleInfoZ'

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

           Summary: undefined reference to `_D3std4bind12__ModuleInfoZ'
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: changlon gmail.com



I am not sure this is a dmd or phobos bug,  I use dmd 2.052 build and pass this
in windows, I use gdc v2 build this on linux,  and all code is execute correct
but cat a Segmentation fault at /lifetime.d:1122 ( see
https://bitbucket.org/goshawk/gdc/issue/171/segmentation-fault-on-linux) .


I build this project on linux 32 and 64 version both cacht this error , the dmd
version is dmd2.052 release and download form ftp.digitalmars.com

jade2test.o:(.data+0x197c): undefined reference to `_D3std4bind12__ModuleInfoZ'
collect2: ld returned 1 exit status
--- errorlevel 1


the source code is here :
http://gool.googlecode.com/files/jade_dmd_bug.tar.bz2

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 22 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5766




I am wrong about the windows can pass this ,  I am not woring on windows
recently . The latest time I check it still build and pass on windows .

Now I check agian , The windows throw the same error like GDC dose ,

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at _rt_finalize
(0x0045db0e) thread(1256)
->Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at _rt_finalize
(0x0045db0e) thread(1256) .

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 22 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5766


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug yahoo.com.au



This bug report is incomprehensible to me.
What's the bug? Is it the segfault in lifetime.d? Or the linker error?

How was it built on Windows? The build script seems not be valid for Windows.
Also the source is huge. Please reduce it to a reasonably-sized test case.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 16 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5766


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE



Bug 6014 has the same test case, and unlike this bug report, it makes sense.

*** This issue has been marked as a duplicate of issue 6014 ***

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