[Issue 8904] New: ld error: `undefined reference to X`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 28 02:20:48 PDT 2012


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 at puremagic.com
        ReportedBy: verylonglogin.reg at gmail.com


--- Comment #0 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2012-10-28 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: -------


More information about the Digitalmars-d-bugs mailing list