[Issue 17345] New: [REG2.075.0] dirEntries link failure with -debug

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Apr 23 16:43:48 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17345

          Issue ID: 17345
           Summary: [REG2.075.0] dirEntries link failure with -debug
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: link-failure
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: thecybershadow at gmail.com

/////////////// test.d //////////////
import std.file;

void main()
{
    dirEntries("", SpanMode.shallow);
}
/////////////////////////////////////

$ dmd -debug test.d    
test.o: In function
`_D3std5array52__T8AppenderTAS3std4file15DirIteratorImpl9DirHandleZ8Appender4Data11__xopEqualsFKxS3std5array52__T8AppenderTAS3std4file15DirIteratorImpl9DirHandleZ8Appender4DataKxS3std5array52__T8AppenderTAS3std4file15DirIteratorImpl9DirHandleZ8Appender4DataZb':
test.d:(.text._D3std5array52__T8AppenderTAS3std4file15DirIteratorImpl9DirHandleZ8Appender4Data11__xopEqualsFKxS3std5array52__T8AppenderTAS3std4file15DirIteratorImpl9DirHandleZ8Appender4DataKxS3std5array52__T8AppenderTAS3std4file15DirIteratorImpl9DirHandleZ8Appender4DataZb[_D3std5array52__T8AppenderTAS3std4file15DirIteratorImpl9DirHandleZ8Appender4Data11__xopEqualsFKxS3std5array52__T8AppenderTAS3std4file15DirIteratorImpl9DirHandleZ8Appender4DataKxS3std5array52__T8AppenderTAS3std4file15DirIteratorImpl9DirHandleZ8Appender4DataZb]+0x3b):
undefined reference to
`_D6object91__T8__equalsTxS3std4file15DirIteratorImpl9DirHandleTxS3std4file15DirIteratorImpl9DirHandleZ8__equalsFNaNbNiNfAxS3std4file15DirIteratorImpl9DirHandleAxS3std4file15DirIteratorImpl9DirHandleZb'
test.o: In function
`_D3std5array34__T8AppenderTAS3std4file8DirEntryZ8Appender4Data11__xopEqualsFKxS3std5array34__T8AppenderTAS3std4file8DirEntryZ8Appender4DataKxS3std5array34__T8AppenderTAS3std4file8DirEntryZ8Appender4DataZb':
test.d:(.text._D3std5array34__T8AppenderTAS3std4file8DirEntryZ8Appender4Data11__xopEqualsFKxS3std5array34__T8AppenderTAS3std4file8DirEntryZ8Appender4DataKxS3std5array34__T8AppenderTAS3std4file8DirEntryZ8Appender4DataZb[_D3std5array34__T8AppenderTAS3std4file8DirEntryZ8Appender4Data11__xopEqualsFKxS3std5array34__T8AppenderTAS3std4file8DirEntryZ8Appender4DataKxS3std5array34__T8AppenderTAS3std4file8DirEntryZ8Appender4DataZb]+0x3b):
undefined reference to
`_D6object55__T8__equalsTxS3std4file8DirEntryTxS3std4file8DirEntryZ8__equalsFNaNbNiNfAxS3std4file8DirEntryAxS3std4file8DirEntryZb'
collect2: error: ld returned 1 exit status
Error: linker exited with status 1

--


More information about the Digitalmars-d-bugs mailing list