www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17475] New: [REG2.075] linker error on specific code

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

          Issue ID: 17475
           Summary: [REG2.075] linker error on specific code
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: b2.temp gmx.com

with dmd at 5f2f2811a3d756777bcf098983b94db543f1dfcf
with druntime at 2b14f6cd6b3ed338bbb54b0a3fe30427cf050d0b
with phobos at f036ef12eafda45b9bcb31c4d06975adb6313e6a

this code:

====
void main()
{
    import std.stdio;
    import std.compiler;
    writeln(vendor);
}
====

cannot be linked:

/tmp/temp_7F12E3A4FF10.o : Dans la fonction «Â
_D3std6format60__T14formatUnsignedTS3std5stdio4File17LockingTextWriterTmTaZ14formatUnsignedFNfS3std5stdio4File17LockingTextWritermKxS3std6format18__T10FormatSpecTaZ10FormatSpeckbZvÂ
» :
/tmp/temp_7F12E3A4FF10.d:(.text._D3std6format60__T14formatUnsignedTS3std5stdio4File17LockingTextWriterTmTaZ14formatUnsignedFNfS3std5stdio4File17LockingTextWritermKxS3std6format18__T10FormatSpecTaZ10FormatSpeckbZv[_D3std6format60__T14formatUnsignedTS3std5stdio4File17LockingTextWriterTmTaZ14formatUnsignedFNfS3std5stdio4File17LockingTextWritermKxS3std6format18__T10FormatSpecTaZ10FormatSpeckbZv]+0x312)Â
: référence indéfinie vers «Â
_D3std6format18__T10FormatSpecTaZ10FormatSpec11flSeparatorMxFNaNbNdNiNfZb »
/tmp/temp_7F12E3A4FF10.d:(.text._D3std6format60__T14formatUnsignedTS3std5stdio4File17LockingTextWriterTmTaZ14formatUnsignedFNfS3std5stdio4File17LockingTextWritermKxS3std6format18__T10FormatSpecTaZ10FormatSpeckbZv[_D3std6format60__T14formatUnsignedTS3std5stdio4File17LockingTextWriterTmTaZ14formatUnsignedFNfS3std5stdio4File17LockingTextWritermKxS3std6format18__T10FormatSpecTaZ10FormatSpeckbZv]+0x436)Â
: référence indéfinie vers «Â
_D3std6format18__T10FormatSpecTaZ10FormatSpec11flSeparatorMxFNaNbNdNiNfZb »
/tmp/temp_7F12E3A4FF10.o : Dans la fonction «Â
_D3std6format64__T14formatUnsignedTS3std5array17__T8AppenderTAyaZ8AppenderTmTaZ14formatUnsignedFNaNfS3std5array17__T8AppenderTAyaZ8AppendermKxS3std6format18__T10FormatSpecTaZ10FormatSpeckbZvÂ
» :
/tmp/temp_7F12E3A4FF10.d:(.text._D3std6format64__T14formatUnsignedTS3std5array17__T8AppenderTAyaZ8AppenderTmTaZ14formatUnsignedFNaNfS3std5array17__T8AppenderTAyaZ8AppendermKxS3std6format18__T10FormatSpecTaZ10FormatSpeckbZv[_D3std6format64__T14formatUnsignedTS3std5array17__T8AppenderTAyaZ8AppenderTmTaZ14formatUnsignedFNaNfS3std5array17__T8AppenderTAyaZ8AppendermKxS3std6format18__T10FormatSpecTaZ10FormatSpeckbZv]+0x316)Â
: référence indéfinie vers «Â
_D3std6format18__T10FormatSpecTaZ10FormatSpec11flSeparatorMxFNaNbNdNiNfZb »
/tmp/temp_7F12E3A4FF10.d:(.text._D3std6format64__T14formatUnsignedTS3std5array17__T8AppenderTAyaZ8AppenderTmTaZ14formatUnsignedFNaNfS3std5array17__T8AppenderTAyaZ8AppendermKxS3std6format18__T10FormatSpecTaZ10FormatSpeckbZv[_D3std6format64__T14formatUnsignedTS3std5array17__T8AppenderTAyaZ8AppenderTmTaZ14formatUnsignedFNaNfS3std5array17__T8AppenderTAyaZ8AppendermKxS3std6format18__T10FormatSpecTaZ10FormatSpeckbZv]+0x43a)Â
: référence indéfinie vers «Â
_D3std6format18__T10FormatSpecTaZ10FormatSpec11flSeparatorMxFNaNbNdNiNfZb »
collect2: error: ld returned 1 exit status

--
Jun 07