My DMD ~master build gives linker error and IDK why

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 7 02:50:41 PDT 2017


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. at 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. at 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!(immutable(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!(immutable(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.


More information about the Digitalmars-d-learn mailing list