Thread overview
[Issue 5766] New: undefined reference to `_D3std4bind12__ModuleInfoZ'
Mar 22, 2011
changlon
Mar 22, 2011
changlon
Aug 16, 2011
Don
Sep 06, 2011
Don
March 22, 2011
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


--- Comment #0 from changlon <changlon@gmail.com> 2011-03-22 01:17:19 PDT ---
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: -------
March 22, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5766



--- Comment #1 from changlon <changlon@gmail.com> 2011-03-22 01:41:18 PDT ---
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: -------
August 16, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5766


Don <clugdbug@yahoo.com.au> changed:

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


--- Comment #2 from Don <clugdbug@yahoo.com.au> 2011-08-16 00:48:31 PDT ---
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: -------
September 06, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5766


Don <clugdbug@yahoo.com.au> changed:

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


--- Comment #3 from Don <clugdbug@yahoo.com.au> 2011-09-06 01:24:59 PDT ---
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: -------