www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8904] New: ld error: `undefined reference to X`

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

           Summary: ld error: `undefined reference to X`
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: verylonglogin.reg gmail.com



12:20:45 MSK ---
In
https://github.com/D-Programming-Language/phobos/pull/896
it was a linker error on Posix after this commit:
https://github.com/D-Programming-Language/phobos/commit/b3d3c44cc1e879b6ca6850abf94df5ffb6fc37b0

Error:
---
Testing generated/linux/debug/32/unittest/std/typetuple
generated/linux/debug/32/unittest/std/typecons.o: In function
`_D3std8typecons51__T6scopedTC3std8typecons18__unittestL3287_53FZv1AZ6scopedFZS3std8typecons51__T6scopedTC3std8typecons18__unittestL3287_53FZv1AZ6scoped51__T6ScopedTC3std8typecons18__unittestL3287_53FZv1AZ6Scoped51__T6ScopedTC3std8typecons18__unittestL3287_53FZv1AZ6Scoped14Scoped_payloadMNgFNdZNgC3std8typecons18__unittestL3287_53FZv1A':
/home/braddr/sandbox/d/d-tester/client/pull-346162/phobos/std/typecons.d:3090:
undefined reference to
`_D3std8typecons51__T6scopedTC3std8typecons18__unittestL3287_53FZv1AZ6scopedFZS3std8typecons51__T6scopedTC3std8typecons18__unittestL3287_53FZv1AZ6scoped51__T6ScopedTC3std8typecons18__unittestL3287_53FZv1AZ6Scoped7alignedFkZk'
collect2: ld returned 1 exit status
---

A workaround commit for this issue:
https://github.com/D-Programming-Language/phobos/commit/d038acb44356e364a4ba041da167b0f5b8d0f4dc

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 28 2012
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8904


Jonathan M Davis <jmdavisProg gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg gmx.com



PDT ---
This bug is a lot more likely to be fixed if you can produce a test case which
does not rely on a particular pull request which probably won't even be around
anymore by the time anyone tries to fix this bug.

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