Closed rymrg closed 3 years ago
Thanks for the report. I'm not an expert on the Linux LDC configurations, but my first thought is that it's related to the ldc2.conf
file you listed. I pulled the tar file for the current LDC linux release (ldc2-1.24.0-linux-x86_64.tar.xz, found here: github.com/ldc-developers/ldc/releases/tag/v1.24.0).
In this release bundle there are no libraries with the *-ldc-lto-shared*
name. The *-ldc-lto*
libraries are .a
files (not .so
), without the -shared
component in the name. And, the ldc2.conf
file in the release bundle does not include the -link-defaultlib-shared
entry that your ldc1.conf
file shows. The tsv-utils
build does not specify the -shared
versions of the libraries, so it must be coming from the LDC setup.
Here's the ldc2.conf
file in the v1.24.0 release:
default:
{
// default switches injected before all explicit command-line switches
switches = [
"-defaultlib=phobos2-ldc,druntime-ldc",
];
// default switches appended after all explicit command-line switches
post-switches = [
"-I%%ldcbinarypath%%/../import",
];
// default directories to be searched for libraries when linking
lib-dirs = [
"%%ldcbinarypath%%/../lib",
];
// default rpath when linking against the shared default libs
rpath = "%%ldcbinarypath%%/../lib";
};
Here are a couple things to try:
First, set LDC_HOME
to the LDC installation directory when building tsv-utils
. This will ensure that the LDC build is seeing a consistent set of directories, and not different directories due to multiple installs. For example, this is a command line to build tsv-utils
on ubuntu, with LDC installed in the /wrk directory:
$ make DCOMPILER=ldc2 LDC_HOME=/wrk/ldc2-1.24.0-linux-x86_64
If that doesn't work, try downloading the latest LDC release bundle and see if that addresses the issue. It can be unpacked into a standalone directory to avoid interfering with existing installations. Set the LDC_HOME
environment as shown above to work with the downloaded release package.
If neither of these work we'll figure out the next steps.
Note that I've been assuming an ArchLinux distribution is not particularly different than the what's in the prebuilt Linux package. If that's not the case then there might be something about the differences in configuration.
Thanks for the response. Here are my results so far.
ldc 1.24.0
and using LDC_HOME
to compile. This builds with LTO correctly with no issue.-link-defaultlib-shared
(which originates from Archlinux default ldc config) results in the error we see.
/usr/bin/ld.gold: error: cannot find -lphobos2-ldc-lto-shared
/usr/bin/ld.gold: error: cannot find -ldruntime-ldc-lto-shared
-link-defaultlib-shared
from /etc/ldc2.conf
results in a different compilation error.
$ make DCOMPILER=ldc2 LDC_LTO_RUNTIME=1
make -C common make[1]: Entering directory '/tmp/tsv-utils/common' make[1]: 'release' is up to date. make[1]: Leaving directory '/tmp/tsv-utils/common'
make -C csv2tsv make[1]: Entering directory '/tmp/tsv-utils/csv2tsv' ldc2 -release -O3 -boundscheck=off -singleobj -flto=thin -odobj -defaultlib=phobos2-ldc-lto,druntime-ldc-lto -of/tmp/tsv-utils/bin/csv2tsv -I/tmp/tsv-utils/common/src/tsv_utils/common /tmp/tsv-utils/csv2tsv/src/tsv_utils/csv2tsv.d /tmp/tsv-utils/common/src/tsv_utils/common/utils.d /tmp/tsv-utils/common/src/tsv_utils/common/numerics.d /tmp/tsv-utils/common/src/tsv_utils/common/fieldlist.d /tmp/tsv-utils/common/src/tsv_utils/common/getopt_inorder.d /tmp/tsv-utils/common/src/tsv_utils/common/unittest_utils.d /tmp/tsv-utils/common/src/tsv_utils/common/tsvutils_version.d /tmp/lto-llvm-986490.o:tsvutils_version.d:function ldc.register_dso: error: undefined reference to '_d_dso_registry' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt12endOfOptionsAya' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getopt__T12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt12endOfOptionsAya' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt13configuration20stopOnFirstNonOptionMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt10optionCharw' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getopt__T12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt13configuration8bundlingMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt10optionCharw' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt8optMatchFNfAyaMQeKQhSQBhQBg13configurationZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_d_arraycatT' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std5ascii7isUpperFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std5ascii7isUpperFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std5range10primitivesT5emptyTAyaZQlFNaNbNdNiNfMKQtZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_aApplycd2' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_d_arraycatnTX' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std4conv10parseErrorFNaNfLAyaQdmZCQBjQBi13ConvException' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getopt__T12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_d_throw_exception' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_d_eh_enter_catch' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_d_throw_exception' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getopt__T12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std5range10primitivesT5emptyTAyaZQlFNaNbNdNiNfMKQtZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_d_throw_exception' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFAyaQjKAQhKSQBuQBt13configurationbZ14foreachbody6MFNfKmKwZi: error: undefined reference to '_D3std5ascii7isAlphaFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFAyaQjKAQhKSQBuQBt13configurationbZ14foreachbody6MFNfKmKwZi: error: undefined reference to '_D3std6getopt10optionCharw' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFAyaQjKAQhKSQBuQBt13configurationbZ14foreachbody6MFNfKmKwZi: error: undefined reference to '_d_arrayappendcTX' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPbZQsFAyaQjKAQhKSQBuQBt13configurationbZ14foreachbody6MFNfKmKwZi: error: undefined reference to '_d_arrayappendcTX' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getopt__T12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt12endOfOptionsAya' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt12endOfOptionsAya' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt13configuration20stopOnFirstNonOptionMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getopt__T12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt10optionCharw' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt13configuration8bundlingMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std6getopt8optMatchFNfAyaMQeKQhSQBhQBg13configurationZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_d_arraycatT' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std9exceptionT7enforceZTQmTbZQrFNaNfbLAxaAyamZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_d_arraycatT' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std5range10primitivesT5emptyTAyaZQlFNaNbNdNiNfMKQtZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_D3std5range10primitivesT5emptyTAyaZQlFNaNbNdNiNfMKQtZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_aApplycd2' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_d_arraycatnTX' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_d_throw_exception' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFNfAyaQlKAQhKSQBwQBv13configurationbZb: error: undefined reference to '_d_eh_enter_catch' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFAyaQjKAQhKSQBuQBt13configurationbZ14foreachbody6MFNfKmKwZi: error: undefined reference to '_D3std5ascii7isAlphaFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFAyaQjKAQhKSQBuQBt13configurationbZ14foreachbody6MFNfKmKwZi: error: undefined reference to '_d_arrayappendcTX' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFAyaQjKAQhKSQBuQBt13configurationbZ14foreachbody6MFNfKmKwZi: error: undefined reference to '_d_arrayappendcTX' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFAyaQjKAQhKSQBuQBt13configurationbZ12dgliteral7MFNaNbNfZAxa: error: undefined reference to '_D12TypeInfo_Axa6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPaZQsFAyaQjKAQhKSQBuQBt13configurationbZ12dgliteral7MFNaNbNfZAxa: error: undefined reference to '_d_arraycatnTX' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPAyaZQuFNfQjQmKAQpKSQBxQBw13configurationbZb: error: undefined reference to '_D3std6getopt13configuration20stopOnFirstNonOptionMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPAyaZQuFNfQjQmKAQpKSQBxQBw13configurationbZb: error: undefined reference to '_D3std6getopt13configuration8bundlingMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getopt__T12handleOptionTPAyaZQuFNfQjQmKAQpKSQBxQBw13configurationbZb: error: undefined reference to '_D3std6getopt8optMatchFNfAyaMQeKQhSQBhQBg13configurationZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPAyaZQuFNfQjQmKAQpKSQBxQBw13configurationbZb: error: undefined reference to '_d_arraycatT' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPAyaZQuFNfQjQmKAQpKSQBxQBw13configurationbZb: error: undefined reference to '_D3std9exceptionT7enforceZTQmTbZQrFNaNfbLAxaAyamZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getopt__T12handleOptionTPAyaZQuFNfQjQmKAQpKSQBxQBw13configurationbZb: error: undefined reference to '_aApplycd2' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPAyaZQuFNfQjQmKAQpKSQBxQBw13configurationbZb: error: undefined reference to '_d_arraycatnTX' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPAyaZQuFQhQkKAQnKSQBvQBu13configurationbZ14foreachbody6MFNfKmKwZi: error: undefined reference to '_D3std5ascii7isAlphaFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6getoptT12handleOptionTPAyaZQuFQhQkKAQnKSQBvQBu13configurationbZ12dgliteral7MFNaNbNfZAxa: error: undefined reference to '_D12TypeInfo_Axa6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std4convT4textTAyaTxaZQnFNaNbNfQqxaZQv: error: undefined reference to '_D3std5arrayT8appenderTAyaZQoFNaNbNfZSQBmQBlT8AppenderTQBiZQo' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT6encodeVEQu8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG4awZm: error: undefined reference to '_D3std3utf12UTFException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT6encodeVEQu8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG4awZm: error: undefined reference to '_d_allocclass' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT6encodeVEQu8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG4awZm: error: undefined reference to '_D3std3utf12UTFException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT6encodeVEQu8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG4awZm: error: undefined reference to '_D3std3utf12UTFException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT6encodeVEQu8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG4awZm: error: undefined reference to '_D3std3utf12UTFException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT6encodeVEQu8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG4awZm: error: undefined reference to '_d_allocclass' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT6encodeVEQu8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG4awZm: error: undefined reference to '_D3std3utf12UTFException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT6encodeVEQu8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG4awZm: error: undefined reference to '_D3std3utf12UTFException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT6encodeVEQu8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG4awZm: error: undefined reference to '_D3std3utf12UTFException6ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCnQCmQCl' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D9tsv_utils6common5utils11InputSource11fieldDtorMFNeZv: error: undefined reference to '_D3std5stdio4File6dtorMFNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5arrayT8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv: error: undefined reference to '_d_newitemT' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5array__T8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv: error: undefined reference to '_D4core6memory2GC6extendFNaNbPvmmxC8TypeInfoZm' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5arrayT8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv: error: undefined reference to 'D4core6memory2GC6qallocFNaNbmkxC8TypeInfoZSQBqQBo8BlkInfo' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAyaZQjMFNfMQlZv: error: undefined reference to '_D3std5stdio4File17LockingTextWriter26highSurrogateShouldBeEmptyMFNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAyaZQjMFNfMQlZv: error: undefined reference to '_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAyaZQjMFNfMQlZv: error: undefined reference to '_D3std9exception14ErrnoException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAyaZQjMFNfMQlZv: error: undefined reference to '_d_allocclass' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAyaZQjMFNfMQlZv: error: undefined reference to '_D3std9exception14ErrnoException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAyaZQjMFNfMQlZv: error: undefined reference to '_D3std9exception14ErrnoException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAyaZQjMFNfMQlZv: error: undefined reference to '_D3std9exception14ErrnoException6ctorMFNfAyaQdmZCQBxQBwQBp' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std5stdio4File17lockingTextWriterMFNfZSQBoQBnQBk17LockingTextWriter' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File__T8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6ctorMFNaNbNcNiNfIAaZSQCdQCcTQByTaZQCe' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6format__T9getNthIntVAyaa13_696e7465676572207769647468TQBiTQBmZQCbFNaNfkQBzQCcZi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6flDashMFNaNbNdNiNfbZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6formatT9getNthIntVAyaa17_696e746567657220707265636973696f6eTQBqTQBuZQCjFNaNfkQChQCkZi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File__T8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6formatT9getNthIntVAyaa13_696e7465676572207769647468TQBiTQBmZQCbFNaNfkQBzQCcZi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6flDashMFNaNbNdNiNfbZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6formatT9getNthIntVAyaa17_696e746567657220707265636973696f6eTQBqTQBuZQCjFNaNfkQChQCkZi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6format__T9getNthIntVAyaa21_736570617261746f72206469676974207769647468TQByTQCcZQCrFNaNfkQCpQCsZi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6formatT6getNthVAyaa19_736570617261746f7220636861726163746572SQCq6traits10isSomeCharTwTQCtTQCxZQDjFNaNfkQDkQDnZw' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File__T8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std9exceptionT7enforceHTCQBc6format15FormatExceptionZTQBqTbZQBwFNaNfbLAxaAyamZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std9exceptionT7enforceHTCQBc6format15FormatExceptionZTQBqTbZQBwFNaNfbLAxaAyamZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std5stdio4File17LockingTextWriter26highSurrogateShouldBeEmptyMFNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std5stdio4File17LockingTextWriter10aggrDtorMFNeZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6format15FormatException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_d_allocclass' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File__T8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6format15FormatException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6format15FormatException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std4convT4textTAyaThTaTaTQkTmZQvFNaNbNfQyhaaQBdmZQBi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std6format15FormatException6ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCtQCsQCo' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8writeflnTaTAyaTQeZQtMFNfIAaQqQsZv: error: undefined reference to '_D3std5stdio4File17LockingTextWriter10aggrDtorMFNeZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAxaZQjMFNfMQlZv: error: undefined reference to '_D3std5stdio4File17LockingTextWriter26highSurrogateShouldBeEmptyMFNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAxaZQjMFNfMQlZv: error: undefined reference to '_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAxaZQjMFNfMQlZv: error: undefined reference to '_D3std9exception14ErrnoException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAxaZQjMFNfMQlZv: error: undefined reference to '_D3std9exception14ErrnoException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAxaZQjMFNfMQlZv: error: undefined reference to '_D3std9exception14ErrnoException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTAxaZQjMFNfMQlZv: error: undefined reference to '_D3std9exception14ErrnoException6ctorMFNfAyaQdmZCQBxQBwQBp' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTxwZQiMFNfxwZv: error: undefined reference to '_D3std5stdio4File17LockingTextWriter26highSurrogateShouldBeEmptyMFNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File17LockingTextWriterT3putTxwZQiMFNfxwZv: error: undefined reference to '_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8rawWriteTaZQmMFNfIAaZv: error: undefined reference to '_D3std5arrayT8appenderTAyaZQoFNaNbNfZSQBmQBlT8AppenderTQBiZQo' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8rawWriteTaZQmMFNfIAaZv: error: undefined reference to '_D11TypeInfo_Aa6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8rawWriteTaZQmMFNfIAaZv: error: undefined reference to '_d_newarrayU' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8rawWriteTaZQmMFNfIAaZv: error: undefined reference to '_D11TypeInfo_Aa6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8rawWriteTaZQmMFNfIAaZv: error: undefined reference to '_d_newarrayU' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4File__T8rawWriteTaZQmMFNfIAaZv: error: undefined reference to '_D3std9exception14ErrnoException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8rawWriteTaZQmMFNfIAaZv: error: undefined reference to '_D3std9exception14ErrnoException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8rawWriteTaZQmMFNfIAaZv: error: undefined reference to '_D3std9exception14ErrnoException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8rawWriteTaZQmMFNfIAaZv: error: undefined reference to '_D12TypeInfo_Axa6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8rawWriteTaZQmMFNfIAaZv: error: undefined reference to '_d_newarrayU' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5stdio4FileT8rawWriteTaZQmMFNfIAaZv: error: undefined reference to '_D3std9exception14ErrnoException6ctorMFNfAyaQdmZCQBxQBwQBp' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5arrayT8AppenderTAaZQn13ensureAddableMFNaNbNfmZv: error: undefined reference to '_d_newitemT' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5arrayT8AppenderTAaZQn13ensureAddableMFNaNbNfmZv: error: undefined reference to '_D4core6memory2GC6extendFNaNbPvmmxC8TypeInfoZm' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std5arrayT8AppenderTAaZQn13ensureAddableMFNaNbNfmZv: error: undefined reference to 'D4core6memory2GC6qallocFNaNbmkxC8TypeInfoZSQBqQBo8BlkInfo' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std4path14isDirSeparatorFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std4path14isDirSeparatorFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std4path14isDirSeparatorFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std4path14isDirSeparatorFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt11splitAndGetFNaNbNeAyaZSQBkQBj6Option' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt13configuration8requiredMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_aaGetY' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_aaGetY' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt13configuration8requiredMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D12TypeInfo_Aya6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException8mixin16ctorMFNaNbNiNfAyaC6object9ThrowableQvmZCQDcQDbQCx' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt13configuration8requiredMFNaNbNdNiNfbZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt9setConfigFNaNbNiNfKSQBgQBf13configurationEQCcQCb6configZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt11splitAndGetFNaNbNeAyaZSQBkQBj6Option' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt13configuration8requiredMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_aaGetY' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_aaGetY' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt13configuration8requiredMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException6__vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D12TypeInfo_Aya6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException8mixin16ctorMFNaNbNiNfAyaC6object9ThrowableQvmZCQDcQDbQCx' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt13configuration8requiredMFNaNbNdNiNfbZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt9setConfigFNaNbNiNfKSQBgQBf13configurationEQCcQCb6configZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt11splitAndGetFNaNbNeAyaZSQBkQBj6Option' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException7__ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D12TypeInfo_Aya6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException8mixin16ctorMFNaNbNiNfAyaC6object9ThrowableQvmZCQDcQDbQCx' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt13configuration8requiredMFNaNbNdNiNfbZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt11splitAndGetFNaNbNeAyaZSQBkQBj6Option' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException6__vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D12TypeInfo_Aya6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt15GetOptException8mixin16ctorMFNaNbNiNfAyaC6object9ThrowableQvmZCQDcQDbQCx' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt13configuration8requiredMFNaNbNdNiNfbZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt9setConfigFNaNbNiNfKSQBgQBf13configurationEQCcQCb6configZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt9setConfigFNaNbNiNfKSQBgQBf13configurationEQCcQCb6configZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt13configuration11passThroughMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt13configuration20stopOnFirstNonOptionMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt20defaultGetoptPrinterFAyaASQBnQBm6OptionZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt20defaultGetoptPrinterFAyaASQBnQBm6OptionZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio13trustedStdoutFNdNeZSQBgQBf4File' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File17lockingTextWriterMFNfZSQBoQBnQBk17LockingTextWriter' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File6dtorMFNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std6getopt13configuration16keepEndOfOptionsMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std9exceptionT7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std9exceptionT7enforceZTQmTbZQrFNaNfbLAxaAyamZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File17LockingTextWriter10__aggrDtorMFNeZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdioT10makeGlobalVEQBbQBa13StdFileHandlea22_636f72652e737464632e737464696f2e7374646f7574ZQDgFNbNcNdNiZSQEhQEg4File' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File10postblitMFNbNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File10__postblitMFNbNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File6dtorMFNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdioT10makeGlobalVEQBbQBa13StdFileHandlea21_636f72652e737464632e737464696f2e737464696eZQDeFNbNcNdNiZSQEfQEe4File' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File10postblitMFNbNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File6ctorMFNcNfAyaMAxaZSQBlQBkQBh' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File10postblitMFNbNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File7byChunkMFAhZSQBdQBcQz11ByChunkImpl' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File6dtorMFNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File11ByChunkImpl15fieldPostblitMFNbNeZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File11ByChunkImpl11fieldDtorMFNeZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File11ByChunkImpl5emptyMxFNbNdZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File11ByChunkImpl5frontMFNbNdZAh' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File11ByChunkImpl8popFrontMFZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File11ByChunkImpl5emptyMxFNbNdZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File11ByChunkImpl11__fieldDtorMFNeZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D9Exception7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D9Exception6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D9Exception6__initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5arrayT8appenderTAyaZQoFNaNbNfZSQBmQBlT8AppenderTQBiZQo' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std9exceptionT7enforceHTCQBc6format15FormatExceptionZTQBqTbZQBwFNaNfbLAxaAyamZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D6object9Exception6ctorMFNaNbNiNfAyaQdmCQBp9ThrowableZCQBx' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D9Exception7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D9Exception6__vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D9Exception6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D12TypeInfo_Axa6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_d_newarrayU' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D6object9Exception6__ctorMFNaNbNiNfAyaQdmCQBp9ThrowableZCQBx' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File17LockingTextWriter10aggrDtorMFNeZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_d_eh_enter_catch' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio13trustedStdoutFNdNeZSQBgQBf4File' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdioT10makeGlobalVEQBbQBa13StdFileHandlea21_636f72652e737464632e737464696f2e737464696eZQDeFNbNcNdNiZSQEfQEe4File' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdio4File5flushMFNeZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdioT10makeGlobalVEQBbQBa13StdFileHandlea22_636f72652e737464632e737464696f2e737464657272ZQDgFNbNcNdNiZSQEhQEg4File' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_d_eh_enter_catch' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _Dmain: error: undefined reference to '_D3std5stdioT10makeGlobalVEQBbQBa13StdFileHandlea22_636f72652e737464632e737464696f2e737464657272ZQDgFNbNcNdNiZSQEhQEg4File' /tmp/lto-llvm-986490.o:tsvutils_version.d:function main: error: undefined reference to '_d_run_main' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT10decodeImplVbi1VEQBd8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFNaKQlKmZw: error: undefined reference to '_D3std3utf12isValidDcharFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT10decodeImplVbi1VEQBd8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ10invalidUTFMFNaNbZCQFgQFf12UTFException: error: undefined reference to '_D3std3utf12UTFException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT10decodeImplVbi1VEQBd8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ10invalidUTFMFNaNbZCQFgQFf12UTFException: error: undefined reference to '_D3std3utf12UTFException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT10decodeImplVbi1VEQBd8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ10invalidUTFMFNaNbZCQFgQFf12UTFException: error: undefined reference to '_D3std3utf12UTFException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT10decodeImplVbi1VEQBd8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ10invalidUTFMFNaNbZCQFgQFf12UTFException: error: undefined reference to '_D3std3utf12UTFException6ctorMFNaNbNfAyamQemC6object9ThrowableZCQCmQClQCk' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT10decodeImplVbi1VEQBd8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ11outOfBoundsMFNaNbZCQFhQFg12UTFException: error: undefined reference to '_D3std3utf12UTFException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT10decodeImplVbi1VEQBd8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ11outOfBoundsMFNaNbZCQFhQFg12UTFException: error: undefined reference to '_D3std3utf12UTFException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT10decodeImplVbi1VEQBd8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ11outOfBoundsMFNaNbZCQFhQFg12UTFException: error: undefined reference to '_D3std3utf12UTFException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT10decodeImplVbi1VEQBd8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ11outOfBoundsMFNaNbZCQFhQFg12UTFException: error: undefined reference to '_D3std3utf12UTFException6ctorMFNaNbNfAyamQemC6object9ThrowableZCQCmQClQCk' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std4convT8textImplTAyaTwTwZQsFNaNfwwZQs: error: undefined reference to '_D3std5arrayT8appenderTAyaZQoFNaNbNfZSQBmQBlT8AppenderTQBiZQo' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std4convT9convErrorTAyaTbZQrFNaNfQnQpmZCQBrQBq13ConvException: error: undefined reference to '_D3std4conv13ConvException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std4convT9convErrorTAyaTbZQrFNaNfQnQpmZCQBrQBq13ConvException: error: undefined reference to '_D3std4conv13ConvException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std4convT9convErrorTAyaTbZQrFNaNfQnQpmZCQBrQBq13ConvException: error: undefined reference to '_D3std4conv13ConvException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std4convT9convErrorTAyaTbZQrFNaNfQnQpmZCQBrQBq13ConvException: error: undefined reference to '_D3std4conv13ConvException8mixin26ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCyQCxQCv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std4convT9convErrorTAyaTaZQrFNaNfQnQpmZCQBrQBq13ConvException: error: undefined reference to '_D3std4conv13ConvException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std4convT9convErrorTAyaTaZQrFNaNfQnQpmZCQBrQBq13ConvException: error: undefined reference to '_D3std4conv13ConvException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std4convT9convErrorTAyaTaZQrFNaNfQnQpmZCQBrQBq13ConvException: error: undefined reference to '_D3std4conv13ConvException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std4convT9convErrorTAyaTaZQrFNaNfQnQpmZCQBrQBq13ConvException: error: undefined reference to '_D3std4conv13ConvException8mixin26ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCyQCxQCv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT10decodeImplVbi1VEQBd8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFNaQkKmZw: error: undefined reference to '_D3std3utf12isValidDcharFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT10decodeImplVbi1VEQBd8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ10invalidUTFMFNaNbZCQFfQFe12UTFException: error: undefined reference to '_D3std3utf12UTFException6ctorMFNaNbNfAyamQemC6object9ThrowableZCQCmQClQCk' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std3utfT10decodeImplVbi1VEQBd8typeconsT4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ11outOfBoundsMFNaNbZCQFgQFf12UTFException: error: undefined reference to '_D3std3utf12UTFException6ctorMFNaNbNfAyamQemC6object9ThrowableZCQCmQClQCk' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT10FormatSpecTaZQpT17writeUpToNextSpecTSQCd5stdio4File17LockingTextWriterZQCdMFNlNfKQBtZb: error: undefined reference to '_D3std9exceptionT7enforceHTCQBc6format15FormatExceptionZTQBqTbZQBwFNaNfbLAxaAyamZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT10FormatSpecTaZQpT17writeUpToNextSpecTSQCd5stdio4File17LockingTextWriterZQCdMFNlNfKQBtZb: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6fillUpMFNaNlNfZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5stdio4File17LockingTextWriterTaTAyaTQeZQCjFKQBxMxAaQtQvZ12dgliteral6MFNaNbNiNfZAxa: error: undefined reference to '_D3std4convT4textTAyaTaZQmFNaNbNfQpaZQt' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5stdio4File17LockingTextWriterTaTAyaTQeZQCjFKQBxMxAaQtQvZ12__dgliteral7MFNaNbNiNfZAxa: error: undefined reference to '_D3std4convT4textTAyaTaZQmFNaNbNfQpaZQt' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6formatT19needToSwapEndianessTaZQyFNaNbNiNfMKxSQCbQCaT10FormatSpecTaZQpZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6ctorMFNaNbNcNiNfIAaZSQCdQCcTQByTaZQCe' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6flDashMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDh__T10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni11isGraphicalFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni11isGraphicalFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6ctorMFNaNbNcNiNfIAaZSQCdQCcTQByTaZQCe' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std4convT2toTiZTQjTkZQoFNaNfkZi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6flDashMFNaNbNdNiNfbZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std4convT2toTiZTQjTkZQoFNaNfkZi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std4convT2toTiZTQjTkZQoFNaNfkZi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6flDashMFNaNbNdNiNfbZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDh__T10FormatSpecTaZQpZv: error: undefined reference to '_D3std4convT2toTiZTQjTkZQoFNaNfkZi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6format15FormatException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDh__T10FormatSpecTaZQpZv: error: undefined reference to '_D3std6format15FormatException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6format15FormatException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6format15FormatException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDh__T10FormatSpecTaZQpZv: error: undefined reference to '_D3std6format15FormatException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6format15FormatException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6format15FormatException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDh__T10FormatSpecTaZQpZv: error: undefined reference to '_D3std6format15FormatException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6format15FormatException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std4convT4textTAyaTQeTQhZQqFNaNbNfQtQvQxZQBa' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDh__T10FormatSpecTaZQpZv: error: undefined reference to '_D3std4convT4textTAyaThTaTaTQkTmZQvFNaNbNfQyhaaQBdmZQBi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT11formatRangeTSQBd5stdio4File17LockingTextWriterTAyaTaZQCdFNfKQBwKQrMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6format15FormatException6ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCtQCsQCo' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni19isRegionalIndicatorFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std8internal14unicode_tables7isHangLFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni6hangLVFNaNbNdNiNfZySQBdQBcT4TrieTSQBtQBsT9BitPackedTbVmi1ZQrTwVmi1114112TSQDjQDiT9sliceBitsVmi13Vmi21ZQvTSQErQEqTQBiVmi8Vmi13ZQBvTSQFsQFrTQCjVmi0Vmi8ZQCvZQFf' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTkVmi13ZQsVmi16ZQCa6ctorMNgFNaNbNcNiNfPNgmZNgSQDrQDqTQDpTQDdVmi16ZQEc' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTkVmi13ZQsVmi16ZQCa7opIndexMNgFNaNbNimZQCh' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTbVmi1ZQrVmi1ZQBy6ctorMNgFNaNbNcNiNfPNgmZNgSQDpQDoTQDnTQDbVmi1ZQDz' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTbVmi1ZQrVmi1ZQBy7opIndexMNgFNaNbNimZQCf' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std8internal14unicode_tables7isHangVFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni7hangLVTFNaNbNdNiNfZySQBeQBdT4TrieTSQBuQBtT9BitPackedTbVmi1ZQrTwVmi1114112TSQDkQDjT9sliceBitsVmi13Vmi21ZQvTSQEsQErTQBiVmi8Vmi13ZQBvTSQFtQFsTQCjVmi0Vmi8ZQCvZQFf' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTkVmi13ZQsVmi16ZQCa6ctorMNgFNaNbNcNiNfPNgmZNgSQDrQDqTQDpTQDdVmi16ZQEc' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTkVmi13ZQsVmi16ZQCa7opIndexMNgFNaNbNimZQCh' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTbVmi1ZQrVmi1ZQBy6ctorMNgFNaNbNcNiNfPNgmZNgSQDpQDoTQDnTQDbVmi1ZQDz' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTbVmi1ZQrVmi1ZQBy7opIndexMNgFNaNbNimZQCf' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std8internal14unicode_tables7isHangTFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni19isRegionalIndicatorFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std8internal14unicode_tables7isHangLFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std8internal14unicode_tables7isHangVFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std8internal14unicode_tables7isHangTFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std8internal14unicode_tables7isHangVFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni6hangLVFNaNbNdNiNfZySQBdQBcT4TrieTSQBtQBsT9BitPackedTbVmi1ZQrTwVmi1114112TSQDjQDiT9sliceBitsVmi13Vmi21ZQvTSQErQEqTQBiVmi8Vmi13ZQBvTSQFsQFrTQCjVmi0Vmi8ZQCvZQFf' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTkVmi13ZQsVmi16ZQCa6ctorMNgFNaNbNcNiNfPNgmZNgSQDrQDqTQDpTQDdVmi16ZQEc' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTkVmi13ZQsVmi16ZQCa7opIndexMNgFNaNbNimZQCh' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTbVmi1ZQrVmi1ZQBy6ctorMNgFNaNbNcNiNfPNgmZNgSQDpQDoTQDnTQDbVmi1ZQDz' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTbVmi1ZQrVmi1ZQBy7opIndexMNgFNaNbNimZQCf' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni7hangLVTFNaNbNdNiNfZySQBeQBdT4TrieTSQBuQBtT9BitPackedTbVmi1ZQrTwVmi1114112TSQDkQDjT9sliceBitsVmi13Vmi21ZQvTSQEsQErTQBiVmi8Vmi13ZQBvTSQFtQFsTQCjVmi0Vmi8ZQCvZQFf' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTkVmi13ZQsVmi16ZQCa6ctorMNgFNaNbNcNiNfPNgmZNgSQDrQDqTQDpTQDdVmi16ZQEc' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTkVmi13ZQsVmi16ZQCa7opIndexMNgFNaNbNimZQCh' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTbVmi1ZQrVmi1ZQBy6ctorMNgFNaNbNcNiNfPNgmZNgSQDpQDoTQDnTQDbVmi1ZQDz' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uniT13PackedPtrImplTSQBcQBbT9BitPackedTbVmi1ZQrVmi1ZQBy7opIndexMNgFNaNbNimZQCf' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni18graphemeExtendTrieFNaNbNdNiNfZySQBqQBpT4TrieTSQCgQCfT9BitPackedTbVmi1ZQrTwVmi1114112TSQDwQDvT9sliceBitsVmi13Vmi21ZQvTSQFeQFdTQBiVmi8Vmi13ZQBvTSQGfQGeTQCjVmi0Vmi8ZQCvZQFf' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDh__T10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni6mcTrieFNaNbNdNiNfZySQBdQBcT4TrieTSQBtQBsT9BitPackedTbVmi1ZQrTwVmi1114112TSQDjQDiT9sliceBitsVmi13Vmi21ZQvTSQErQEqTQBiVmi8Vmi13ZQBvTSQFsQFrTQCjVmi0Vmi8ZQCvZQFf' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAyaTaZQCeFNfKQBwQqMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6flDashMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDgT10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6flDashMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDg__T10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6flZeroMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDgT10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6flPlusMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDgT10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6flHashMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDg__T10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6flHashMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDgT10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp7flSpaceMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDgT10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp11flSeparatorMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDg__T10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp11flSeparatorMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDgT10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp11flSeparatorMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDgT10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std9exception14ErrnoException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDg__T10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std9exception14ErrnoException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDgT10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std9exception14ErrnoException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formatUnsignedTSQBg5stdio4File17LockingTextWriterTmTaZQCeFNfKQBumMKxSQDhQDgT10FormatSpecTaZQpkbZv: error: undefined reference to '_D3std9exception14ErrnoException6ctorMFNfAyaQdmZCQBxQBwQBp' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAwTaZQCdFNfKQBvQpMKxSQDhQDg__T10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni19isRegionalIndicatorFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAwTaZQCdFNfKQBvQpMKxSQDhQDgT10FormatSpecTaZQpZv: error: undefined reference to '_D3std8internal14unicode_tables7isHangLFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAwTaZQCdFNfKQBvQpMKxSQDhQDgT10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni6hangLVFNaNbNdNiNfZySQBdQBcT4TrieTSQBtQBsT9BitPackedTbVmi1ZQrTwVmi1114112TSQDjQDiT9sliceBitsVmi13Vmi21ZQvTSQErQEqTQBiVmi8Vmi13ZQBvTSQFsQFrTQCjVmi0Vmi8ZQCvZQFf' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAwTaZQCdFNfKQBvQpMKxSQDhQDgT10FormatSpecTaZQpZv: error: undefined reference to '_D3std8internal14unicode_tables7isHangVFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAwTaZQCdFNfKQBvQpMKxSQDhQDg__T10FormatSpecTaZQpZv: error: undefined reference to '_D3std3uni7hangLVTFNaNbNdNiNfZySQBeQBdT4TrieTSQBuQBtT9BitPackedTbVmi1ZQrTwVmi1114112TSQDkQDjT9sliceBitsVmi13Vmi21ZQvTSQEsQErTQBiVmi8Vmi13ZQBvTSQFtQFsTQCjVmi0Vmi8ZQCvZQFf' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAwTaZQCdFNfKQBvQpMKxSQDhQDgT10FormatSpecTaZQpZv: error: undefined reference to '_D3std8internal14unicode_tables7isHangTFNaNbNiNfwZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT12writeAlignedTSQBe5stdio4File17LockingTextWriterTAwTaZQCdFNfKQBvQpMKxSQDhQDgT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6flDashMxFNaNbNdNiNfZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT15formatValueImplTSQBh5stdio4File17LockingTextWriterTkTaZQCfFNfKQBukMKxSQDiQDhT10FormatSpecTaZQpZv: error: undefined reference to '_D3std6formatT19needToSwapEndianessTaZQyFNaNbNiNfMKxSQCbQCaT10FormatSpecTaZQpZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5stdio4File17LockingTextWriterTaTkZQCeFKQBsMxAakZ12dgliteral5MFNaNbNiNfZAxa: error: undefined reference to '_D3std4convT4textTAyaTaZQmFNaNbNfQpaZQt' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa19_736570617261746f7220636861726163746572SQCq6traits10isSomeCharTwTkZQDdFNaNfkkZw: error: undefined reference to '_D3std4convT4textTAyaTQeTQhTQkTkZQvFNaNbNfQyQBaQBdQBgkZQBl' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa19_736570617261746f7220636861726163746572SQCq6traits10isSomeCharTwTkZQDdFNaNfkkZw: error: undefined reference to '_D3std4convT4textTAyaTQeTQhZQqFNaNbNfQtQvQxZQBa' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa19_736570617261746f7220636861726163746572SQCq6traits10isSomeCharTwTkZQDdFNaNfkkZw: error: undefined reference to '_D3std6format15FormatException6ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCtQCsQCo' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5stdio4File17LockingTextWriterTaTkZQCeFKQBsMxAakZ12dgliteral6MFNaNbNiNfZAxa: error: undefined reference to '_D3std4convT4textTAyaTaZQmFNaNbNfQpaZQt' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std6formatT10FormatSpecTaZQp6ctorMFNaNbNcNiNfIAaZSQCdQCcTQByTaZQCe' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std6formatT10FormatSpecTaZQpT17writeUpToNextSpecTSQCd5arrayT8AppenderTAyaZQoZQByMFNaNlNfKQBqZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std6formatT14formatIntegralTSQBg5arrayT8AppenderTAyaZQoTmTaZQBzFNaNfKQBrxmMKxSQDfQDeT10FormatSpecTaZQpkmZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5array__T8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std6formatT10FormatSpecTaZQpT17writeUpToNextSpecTSQCd5arrayT8AppenderTAyaZQoZQByMFNaNlNfKQBqZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std6formatT11formatValueTSQBd5arrayT8AppenderTAyaZQoTQhTaZQBxFNaNfKQBsKQzMKxSQDeQDdT10FormatSpecTaZQpZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std6formatT19needToSwapEndianessTaZQyFNaNbNiNfMKxSQCbQCaT10FormatSpecTaZQpZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std5range10primitivesT3putTSQBf5arrayT8AppenderTAyaZQoTxaZQBmFNaNbNfKQBsxaZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std5range10primitivesT3putTSQBf5arrayT8AppenderTAyaZQoTxaZQBmFNaNbNfKQBsxaZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std5range10primitivesT3putTSQBf5arrayT8AppenderTAyaZQoTxaZQBmFNaNbNfKQBsxaZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std5range10primitivesT3putTSQBf5arrayT8AppenderTAyaZQoTxaZQBmFNaNbNfKQBsxaZv' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std4convT4textTAyaThTaTaTQkTmZQvFNaNbNfQyhaaQBdmZQBi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std4convT4textTAyaTQeTQhTQkTkZQvFNaNbNfQyQBaQBdQBgkZQBl' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std4convT4textTAyaTQeTQhZQqFNaNbNfQtQvQxZQBa' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5array__T8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std6format15FormatException6ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCtQCsQCo' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std4conv21ConvOverflowException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std4conv21ConvOverflowException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5array__T8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std4conv21ConvOverflowException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT14formattedWriteTSQBg5arrayT8AppenderTAyaZQoTaTQjTmZQCcFNaNfKQBuMxAaQBemZk: error: undefined reference to '_D3std4conv21ConvOverflowException6ctorMFNaNbNfAyaQdmZCQCdQCcQCa' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatTQkTaTAyaTmZQvFIAaQmmZ12dgliteral5MFNaNbNiNfZAxa: error: undefined reference to '_D3std4convT4textTAyaTkTQgTmTQlZQuFNaNbNfQxkQBamQBeZQBi' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa19_736570617261746f7220636861726163746572SQCq6traits10isSomeCharTwTQCtTmZQDhFNaNfkQDimZw: error: undefined reference to '_D3std4convT4textTAyaTQeTQhTQkTkZQvFNaNbNfQyQBaQBdQBgkZQBl' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa19_736570617261746f7220636861726163746572SQCq6traits10isSomeCharTwTQCtTmZQDhFNaNfkQDimZw: error: undefined reference to '_D3std4convT4textTAyaTQeTQhTQkTkZQvFNaNbNfQyQBaQBdQBgkZQBl' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa19_736570617261746f7220636861726163746572SQCq6traits10isSomeCharTwTQCtTmZQDhFNaNfkQDimZw: error: undefined reference to '_D3std4convT4textTAyaTQeTQhZQqFNaNbNfQtQvQxZQBa' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa13_696e7465676572207769647468SQCe6traits10isIntegralTiTQChTmZQCvFNaNfkQCwmZi: error: undefined reference to '_D3std4conv21ConvOverflowException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa13_696e7465676572207769647468SQCe6traits10isIntegralTiTQChTmZQCvFNaNfkQCwmZi: error: undefined reference to '_D3std4conv21ConvOverflowException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa13_696e7465676572207769647468SQCe6traits10isIntegralTiTQChTmZQCvFNaNfkQCwmZi: error: undefined reference to '_D3std4conv21ConvOverflowException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa13_696e7465676572207769647468SQCe6traits10isIntegralTiTQChTmZQCvFNaNfkQCwmZi: error: undefined reference to '_D3std4conv21ConvOverflowException6ctorMFNaNbNfAyaQdmZCQCdQCcQCa' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa17_696e746567657220707265636973696f6eSQCm6traits10isIntegralTiTQCpTmZQDdFNaNfkQDemZi: error: undefined reference to '_D3std4conv21ConvOverflowException7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa17_696e746567657220707265636973696f6eSQCm6traits10isIntegralTiTQCpTmZQDdFNaNfkQDemZi: error: undefined reference to '_D3std4conv21ConvOverflowException6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa17_696e746567657220707265636973696f6eSQCm6traits10isIntegralTiTQCpTmZQDdFNaNfkQDemZi: error: undefined reference to '_D3std4conv21ConvOverflowException6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:function _D3std6formatT6getNthVAyaa17_696e746567657220707265636973696f6eSQCm6traits10isIntegralTiTQCpTmZQDdFNaNfkQDemZi: error: undefined reference to '_D3std4conv21ConvOverflowException6__ctorMFNaNbNfAyaQdmZCQCdQCcQCa' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D15TypeInfo_HAyaAv6initZ: error: undefined reference to '_D25TypeInfo_AssociativeArray6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D15TypeInfo_HAyaAv6initZ: error: undefined reference to '_D11TypeInfo_Av6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D29TypeInfo_AS3std6getopt6Option6initZ: error: undefined reference to '_D14TypeInfo_Array6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D28TypeInfo_S3std6getopt6Option6initZ: error: undefined reference to '_D15TypeInfo_Struct6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D28TypeInfo_S3std6getopt6Option6initZ: error: undefined reference to '_D3std6getopt6Option9xtoHashFNbNeKxSQBkQBjQBfZm' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D28TypeInfo_S3std6getopt6Option6__initZ: error: undefined reference to '_D3std6getopt6Option11xopEqualsFKxSQBjQBiQBeKxQmZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D13TypeInfo_AAya6initZ: error: undefined reference to '_D14TypeInfo_Array6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D11TypeInfo_xm6initZ: error: undefined reference to '_D14TypeInfo_Const6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D11TypeInfo_xm6initZ: error: undefined reference to '_D10TypeInfo_m6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D11TypeInfo_xb6initZ: error: undefined reference to '_D14TypeInfo_Const6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D11TypeInfo_xb6initZ: error: undefined reference to '_D10TypeInfo_b6initZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D12TypeInfo_xAa6initZ: error: undefined reference to '_D14TypeInfo_Const6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D3std9exception12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D3std6format12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12__ModuleInfoZ: error: undefined reference to '_D3std5range12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D3std5regex12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D3std5stdio12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12__ModuleInfoZ: error: undefined reference to '_D3std6traits12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D3std8typecons12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D3std5regex8internal12backtracking12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12__ModuleInfoZ: error: undefined reference to '_D3std5regex8internal6parser12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D3std5array12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D3std10functional12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12__ModuleInfoZ: error: undefined reference to '_D3std4conv12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D3std9algorithm8mutation12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D3std9algorithm10comparison12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12__ModuleInfoZ: error: undefined reference to '_D3std6string12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D3std5regex8internal8thompson12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D4core8internal5array5utils12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12__ModuleInfoZ: error: undefined reference to '_D4core6memory12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common9fieldlist12ModuleInfoZ: error: undefined reference to '_D3std3uni12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common8numerics12ModuleInfoZ: error: undefined reference to '_D3std6traits12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common8numerics12__ModuleInfoZ: error: undefined reference to '_D3std5range12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils16InputSourceRange7ClassZ: error: undefined reference to '_D14TypeInfo_Class6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils16InputSourceRange7ClassZ: error: undefined reference to '_D6Object7__ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils16InputSourceRange6vtblZ: error: undefined reference to '_D6object6Object8toStringMFZAya' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils16InputSourceRange6vtblZ: error: undefined reference to '_D6object6Object6toHashMFNbNeZm' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils16InputSourceRange6vtblZ: error: undefined reference to '_D6object6Object5opCmpMFCQqZi' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils16InputSourceRange6vtblZ: error: undefined reference to '_D6object6Object8opEqualsMFCQtZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils11InputSource7ClassZ: error: undefined reference to '_D14TypeInfo_Class6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils11InputSource7__ClassZ: error: undefined reference to '_D6Object7ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils11InputSource6vtblZ: error: undefined reference to '_D6object6Object8toStringMFZAya' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils11InputSource6vtblZ: error: undefined reference to '_D6object6Object6toHashMFNbNeZm' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils11InputSource6vtblZ: error: undefined reference to '_D6object6Object5opCmpMFCQqZi' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils11InputSource6vtblZ: error: undefined reference to '_D6object6Object8opEqualsMFCQtZb' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D44TypeInfo_S3std5arrayT8AppenderTAyaZQo4Data6initZ: error: undefined reference to '_D15TypeInfo_Struct6vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D43TypeInfo_S3std5arrayT8AppenderTAaZQn4Data6initZ: error: undefined reference to '_D15TypeInfo_Struct6__vtblZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils12ModuleInfoZ: error: undefined reference to '_D3std5range12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils12__ModuleInfoZ: error: undefined reference to '_D3std5stdio12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils12ModuleInfoZ: error: undefined reference to '_D3std6traits12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils12ModuleInfoZ: error: undefined reference to '_D3std8typecons12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils6common5utils12__ModuleInfoZ: error: undefined reference to '_D3std9exception12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12ModuleInfoZ: error: undefined reference to '_D3std5stdio12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12ModuleInfoZ: error: undefined reference to '_D3std9exception12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12__ModuleInfoZ: error: undefined reference to '_D3std6format12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12ModuleInfoZ: error: undefined reference to '_D3std5range12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12ModuleInfoZ: error: undefined reference to '_D3std6traits12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12__ModuleInfoZ: error: undefined reference to '_D3std8typecons12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12ModuleInfoZ: error: undefined reference to '_D3std4path12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12ModuleInfoZ: error: undefined reference to '_D3std9algorithm8mutation12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12__ModuleInfoZ: error: undefined reference to '_D3std4conv12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12ModuleInfoZ: error: undefined reference to '_D3std5array12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12ModuleInfoZ: error: undefined reference to '_D4core6memory12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12__ModuleInfoZ: error: undefined reference to '_D4core8internal5array5utils12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12ModuleInfoZ: error: undefined reference to '_D3std9algorithm10comparison12__ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12ModuleInfoZ: error: undefined reference to '_D3std10functional12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12__ModuleInfoZ: error: undefined reference to '_D3std6string12ModuleInfoZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:_D9tsv_utils7csv2tsv12ModuleInfoZ: error: undefined reference to '_D3std3uni12__ModuleInfoZ' /tmp/lto-llvm-986490.o(.data+0x0): error: undefined reference to '_D6object9Throwable7ClassZ' /tmp/lto-llvm-986490.o(.data+0x8): error: undefined reference to '_D9Exception7__ClassZ' /tmp/lto-llvm-986490.o:tsvutils_version.d:DW.ref._d_eh_personality: error: undefined reference to '_d_eh_personality' collect2: error: ld returned 1 exit status Error: /usr/bin/cc failed with status: 1 make[1]: [../makeapp.mk:18: /tmp/tsv-utils/bin/csv2tsv] Error 1 make[1]: Leaving directory '/tmp/tsv-utils/csv2tsv' make: [makefile:96: csv2tsv] Error 2
4. Comparing the difference between compling with and without `LTO`, it seems the following differ between the two executions (without shared).
4.1. `-flto=thin` is added as expected.
4.2. `-defaultlib=phobos2-ldc-lto,druntime-ldc-lto` is added.
5. Trying to compile with `-flto=thin`and without `-defaultlib=phobos2-ldc-lto,druntime-ldc-lto` works.
6. Compiling with `shared` and without the extra `-defaultlib=phobos2-ldc-lto,druntime-ldc-lto` seem to work on Archlinux.
---
So we know that `tsv-utils` does not build with `shared` and `LTO` right now. Removing `-defaultlib=phobos2-ldc-lto,druntime-ldc-lto` from the compile line allows building with -shared on both the pre-built `ldc` and Archlinux `ldc`.
The -defaultlib=phobos2-ldc-lto,druntime-ldc-lto
flag instructs the linker to use the IR compiled versions of the phobos and druntime libraries in the LTO optimizations. It may be that the IR compiled library versions are not included with the default Arch Linux distributions. That would explain why using the prebuilt release package worked - It includes the IR versions.
I can ask or file an issue with the LDC folks to see if it has to do with the Arch Linux distribution. I'll do this tomorrow.
One thing you can do is try a simple hello world program that includes these flags and see if has the same problem. There's a hello world variant the LDC team used to test this here: LDC PR #2640. I don't think the -linker=gold
flag in the example shown is necessary any more.
Also, add the LDC version info to the issue.
As to the value of using the IR versions of phobos and druntime - For tsv-utils it's where the big wins from LTO are coming from. This is because a number of tsv-utils programs go into tight loops executing algorithms from phobos. LTO optimizations that include phobos improve significantly from access to the IR.
The Archlinux distribution of LDC (1.24.0) includes the LTO versions of the libs. Specifically in the paths
/usr/lib/libdruntime-ldc-lto.a
/usr/lib/libphobos2-ldc-lto.a
Hello World
from LDC does not work on Archlinux's LDC (had to change -bc to -lto to get it to work with the pre-built version).
@Vild Any ideas?
Hm.. So the Archlinux distribution includes the libraries. That suggests the config file in the distribution may be the issue.
I put a note in the LDC gitter page to see anyone is familiar with this, should hear back after while.
For tsv-utils there is another thing you can try, which is the LDC_BUILD_RUNTIME=1
flag. This will cause the LTO libraries to the built locally. This is done by downloading the correct source code for phobos and druntime to be downloaded from the LDC release archives (version matched to the local LDC compiler), then LTO versions built locally. The tsv-utils make
points the linker to these. I don't know if the ArchLinux config file will interfere. And, since you can simply download the prebuilt release package its not such an exciting option. But you can try it and see if it works on your environment. The command would be:
make DCOMPILER=ldc2 LDC_BUILD_RUNTIME=1 LDC_PGO=2
The LDC_HOME variable can be set if needed. That's where the ldc-build-runtime
program is found.
tsv-utils has this support from a time prior to inclusion of LTO library versions in the prebuilt LDC packages. The way tsv-utils runs the build puts the LTO files in the tsv-utils directories. It could be used when building other programs, but its not particularly convenient. It would be better to get this support included with the LDC installation itself.
The only difference between Archlinux ldc2.conf
and the pre-built one is the -link-defaultlib-shared
switch.
You can see how it is built using the PKGBUILD. I am not sure why LTO breaks.
LDC_BUILD_RUNTIME=1
builds with and without shared on the Archlinux LDC.
Other than that, I think -link-defaultlib-shared=false
should be automatically added when building with LDC_LTO_RUNTIME=1
. Otherwise it'll fail when defaulting to shared.
This is from @kinke from the LDC team:
According to the files list of https://archlinux.org/packages/community/x86_64/liblphobos, the libs are included, so it's probably an ldc2.conf issue. The user might need to add
-link-defaultlib-shared=false
if it defaults to true in the config.
It confirms what you are saying. The DFLAGS
variable can be used when building tsv-utils to override the ldc2.conf
default. e.g.
$ make LDC_HOME=/wrk/ldc2-1.24.0-linux-x86_64 DCOMPILER=ldc2 LDC_LTO_RUNTIME=1 LDC_PGO=2 DFLAGS='-link-defaultlib-shared=false'
Try that and see if it works.
The addition of DFLAGS removes the need of editing ldc2.conf and resolves the linker issue. The only problem is it still fails to build. I'm not sure why it still outputs errors of undefined references.
Okay, I see. And, just to be sure I understand the situation, the helloworld app fails to build too, and both the helloworld app and tsv-utils build correctly when using the prepacked LDC from GitHub releases. Is that correct?
Correct.
I used the ArchLinux docker image and was able to reproduce this with both the hello world app and tsv-utils. The packaged GitHub release (v1.24.0) works and the version from the ArchLinux distribution (pacman -S ldc) fails.
My guess is that there is something in the Archlinux build of the phobos and druntime libs that is not correct. e.g. Something causing necessary symbols to be stripped. But, it's not really my area, and I didn't see anything obvious looking at the PKGBUILD files.
@rymrg How would you like to proceed? It's a general issue with the LDC distribution on Archlinux, not specific to tsv-utils. Would you be willing to create an issue/ticket against LDC and/or the Archlinux LDC build? I can do it, but it might be better coming from an Archlinux user.
Separate thing - The recommendation to add -link-defaultlib-shared=false
when building with LDC_LTO_RUNTIME=1
sounds good, I'll do that.
Your cue about stripping helped a lot. Arch by defaults strips symbols and in this case strips things it shouldn't. Adding !strip
to options solves the issue.
Feel free to close the issue as fixed once you add -link-defaultlib-shared=false
when building with LDC_LTO_RUNTIME=1
.
Thanks a lot!
Hey, sorry about not answering earlier I've been a bit busy.
Thanks for debugging and the noticing that LTO was broken. I've pushed up a new package version with the !strip
fix.
I would also recommend adding -link-defaultlib-shared=false
, as I cannot change the default from =true
to =false
on Arch as that broke stuff. (I've tried in the past)
Thanks @Vild. I tried the new ldc package and it worked fine. Thanks for the report and debugging @rymrg.
I've updated tsv-utils to set -link-defaultlib-shared=false
when building with LDC_LTO_RUNTIME=1 (PR #329). It's available on the master branch (tested on Archlinux). I didn't make a tagged release for it. Unless there's a near-term need for a tagged release I'll let that happen whenever the next tagged release occurs.
Hi,
As per our conversation, building tsv-utils with LTO and PGO on Archlinux fails. Below is the output for trying to compile current master with just LTO.
ldc2.conf contains the following on Archlinux: