[Issue 1895] New: missing symbols during linking for anything that uses writef

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 7 00:14:28 PST 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 at digitalmars.com
        ReportedBy: braddr at 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.


-- 



More information about the Digitalmars-d-bugs mailing list