March 07, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1895

           Summary: missing symbols during linking for anything that uses
                    writef
           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
`_D3std6format80__T14formattedWriteTS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterTaZ14formattedWriteFKS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterAxaZv':
hello.d:(.text._D3std6format80__T14formattedWriteTS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterTaZ14formattedWriteFKS3std5stdio25__T17PrivateFileWriterTaZ17PrivateFileWriterAxaZv+0xa6):
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.


-- 

March 07, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1895


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:

libphobos.a
  size: 1669414
  md5sum: e90f6bfb31ce9a678a8acbfb206cd1bf

dmd.2.012.zip
  size: 5336394
  md5sum: 6e0aae81028e24e6ecc866f1b1f439bd


--