For context:
https://llvm.org/bugs/show_bug.cgi?id=28257
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Example repro (just used to reproduce a libreoffice link failure)
$ export LLD_REPRODUCE=patatino $ echo $LLD_REPRODUCE patatino $ make mkdir -p /home/davide/lto_experiments/libreoffice/instdir /home/davide/lto_experiments/libreoffice/solenv/bin/install-gdb-printers -a /home/davide/lto_experiments/libreoffice/instdir -c make -j 1 -rs -f /home/davide/lto_experiments/libreoffice/Makefile.gbuild all [build DEP] LNK:Library/libsal_textenclo.so [build LNK] Library/libsal_textenclo.so undefined symbol: _ZN3sal6detail7textenc37handleBadInputTextToUnicodeConversionEbbcjPPDsS2_Pj in /home/davide/lto_experiments/libreoffice/workdir/CxxObject/sal/textenc/convertbig5hkscs.o undefined symbol: _ZN3sal6detail7textenc37handleBadInputUnicodeToTextConversionEbjjPPcS2_PjPKcmPb in /home/davide/lto_experiments/libreoffice/workdir/CxxObject/sal/textenc/convertbig5hkscs.o undefined symbol: _ZN3sal6detail7textenc20convertCharToUnicodeEPKvPvPKcmPDsmjPjPm in /home/davide/lto_experiments/libreoffice/workdir/CxxObject/sal/textenc/tables.o undefined symbol: _ZN3sal6detail7textenc20convertUnicodeToCharEPKvPvPKDsmPcmjPjPm in /home/davide/lto_experiments/libreoffice/workdir/CxxObject/sal/textenc/tables.o undefined symbol: _ZN3sal6detail7textenc32handleUndefinedUnicodeToTextCharEPPKDsS3_PPcPKcjPj in /home/davide/lto_experiments/libreoffice/workdir/CxxObject/sal/textenc/tcvtbyte.o clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation) /home/davide/lto_experiments/libreoffice/sal/Library_sal_textenc.mk:11: recipe for target '/home/davide/lto_experiments/libreoffice/instdir/program/libsal_textenclo.so' failed make[1]: *** [/home/davide/lto_experiments/libreoffice/instdir/program/libsal_textenclo.so] Error 1 Makefile:254: recipe for target 'build' failed make: *** [build] Error 2 $ find . -name "patatino*" ./patatino.cpio
ELF/Driver.cpp | ||
---|---|---|
264–265 | Please separate this code as getReproduceOption function and then use it as if (const char *Path = getReproduceOption()) { ... } Do you need :: for getenv? |
This variable is dead.