www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1895] New: missing symbols during linking for anything that uses writef

reply d-bugmail puremagic.com writes:

           Summary: missing symbols during linking for anything that uses
           Product: D
           Version: 2.012
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P1
         Component: Phobos
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: braddr puremagic.com

Reported in the newsgroup by 'nobody':

import std.stdio;
void main() {
    writef("Hello World\n");

dmd hello.d
hello.o: In function
undefined reference to `_D3std6format10FormatInfo6flDashMFbZv'
<... more errors ...>

I can confirm with the released 2.012 zip file's libphobos2.a.  With my own
build the problem does not occur.  Looking for symbol
_D3std6format10FormatInfo6flDashMFbZv in the release .a file, it's missing.  In
my build it's present.

Flagged as a p1 regression.

Mar 07 2008
parent d-bugmail puremagic.com writes:

braddr puremagic.com changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

------- Comment #1 from braddr puremagic.com  2008-03-07 03:38 -------
Walter uploaded a corrected dmd.2.012.zip file with the right version of the .a
file.  To check to make sure you have the right one, here's the relevant info:

  size: 1669414
  md5sum: e90f6bfb31ce9a678a8acbfb206cd1bf

  size: 5336394
  md5sum: 6e0aae81028e24e6ecc866f1b1f439bd

Mar 07 2008