digitalmars.D.learn - My DMD ~master build gives linker error and IDK why
This is my script: ==== HOST_DMD=dmd MODEL=64 cd dmd make -fposix.mak MODEL=64 clean make -fposix.mak ENABLE_RELEASE=1 MODEL=64 DMD=../dmd/src/dmd -j 5 cd ../druntime make -fposix.mak MODEL=64 clean make -fposix.mak MODEL=64 DMD=../dmd/src/dmd -j 5 cd ../phobos make -fposix.mak MODEL=64 clean make -fposix.mak MODEL=64 DMD=../dmd/src/dmd -j 5 cd .. cp dmd/generated/linux/release/64/dmd bin-master/ cp phobos/generated/linux/release/64/libphobos2.a bin-master/libs/ ==== When i compile a simple module with a main function and std.stdio as import i get: ==== /tmp/temp_7F12E3A4FF10.o : Dans la fonction « safe void std.format.formatUnsigned!(std.stdio.File.LockingTextWriter, ulong, char).formatUnsigned(std.stdio.File.LockingTextWriter, ulong, ref const(std.format.FormatSpec!(char).FormatSpec), uint, bool) » : /tmp/temp_7F12E3A4FF10.d:(.text. safe void std.format.formatUnsigned!(std.stdio.File.LockingTextWriter, ulong, char).formatUnsigned(std.stdio.File.LockingTextWriter, ulong, ref const(std.format.FormatSpec!(char).FormatSpec), uint, bool)[ safe void std.format.formatUnsigned!(std.stdio.File.LockingTextWriter, ulong, char).formatUnsigned(std.stdio.File.LockingTextWriter, ulong, ref const(std.format.FormatSpec!(char).FormatSpec), uint, bool)]+0x312) : référence indéfinie vers « const(pure nothrow property nogc safe bool function()) std.format.FormatSpec!(char).FormatSpec.flSeparator » /tmp/temp_7F12E3A4FF10.d:(.text. safe void std.format.formatUnsigned!(std.stdio.File.LockingTextWriter, ulong, char).formatUnsigned(std.stdio.File.LockingTextWriter, ulong, ref const(std.format.FormatSpec!(char).FormatSpec), uint, bool)[ safe void std.format.formatUnsigned!(std.stdio.File.LockingTextWriter, ulong, char).formatUnsigned(std.stdio.File.LockingTextWriter, ulong, ref const(std.format.FormatSpec!(char).FormatSpec), uint, bool)]+0x436) : référence indéfinie vers « const(pure nothrow property nogc safe bool function()) std.format.FormatSpec!(char).FormatSpec.flSeparator » /tmp/temp_7F12E3A4FF10.o : Dans la fonction « pure safe void std.format.formatUnsigned!(std.array.Appender!(immutable(char)[]).Appender, ulong, char).formatUnsigned(std.array.Appender!(immutable(char)[]).Appender, ulong, ref const(std.format.FormatSpec!(char).FormatSpec), uint, bool) » : /tmp/temp_7F12E3A4FF10.d:(.text.pure safe void std.format.formatUnsigned!(std.array.Appender!(immutable(char)[]).Appender, ulong, char).formatUnsigned(std.array.Appender!(immutable(char)[]).Appender, ulong, ref const(std.format.FormatSpec!(char).FormatSpec), uint, bool)[pure safe void std.format.formatUnsigned!(std.array.Appender!(immutabl (char)[]).Appender, ulong, char).formatUnsigned(std.array.Appender!(immutable(char)[]).Appender, ulong, ref const(std.format.FormatSpec!(char).FormatSpec), uint, bool)]+0x316) : référence indéfinie vers « const(pure nothrow property nogc safe bool function()) std.format.FormatSpec!(char).FormatSpec.flSeparator » /tmp/temp_7F12E3A4FF10.d:(.text.pure safe void std.format.formatUnsigned!(std.array.Appender!(immutable(char)[]).Appender, ulong, char).formatUnsigned(std.array.Appender!(immutable(char)[]).Appender, ulong, ref const(std.format.FormatSpec!(char).FormatSpec), uint, bool)[pure safe void std.format.formatUnsigned!(std.array.Appender!(immutabl (char)[]).Appender, ulong, char).formatUnsigned(std.array.Appender!(immutable(char)[]).Appender, ulong, ref const(std.format.FormatSpec!(char).FormatSpec), uint, bool)]+0x43a) : référence indéfinie vers « const(pure nothrow property nogc safe bool function()) std.format.FormatSpec!(char).FormatSpec.flSeparator » collect2: error: ld returned 1 exit status Error: linker exited with status 1 ==== But this used to work fine, this for months and months even recently i've cast a session where i build DMD master to show something about my IDE.
Jun 07 2017
On Wednesday, 7 June 2017 at 09:50:41 UTC, Basile B. wrote:bla bla blaActually it's this code: void main(string[] args) { import std.stdio; import std.compiler; writeln(vendor); } that gives the error. I suspect a regression.
Jun 07 2017
On Wednesday, 7 June 2017 at 09:55:24 UTC, Basile B. wrote:On Wednesday, 7 June 2017 at 09:50:41 UTC, Basile B. wrote:Pass your way, you cannot help. Eventually you can verify that you're also affected. https://issues.dlang.org/show_bug.cgi?id=17475bla bla blaActually it's this code: void main(string[] args) { import std.stdio; import std.compiler; writeln(vendor); } that gives the error. I suspect a regression.
Jun 07 2017