search for: uniquefying

Displaying 2 results from an estimated 2 matches for "uniquefying".

2017 Sep 05
2
[ThinLTO] static library failure with object files with the same name
...problem appears to be fixed for LLD here: https://reviews.llvm.org/D25495 https://bugs.llvm.org/show_bug.cgi?id=30665 But it persists for linking with the system linker on OSX (while manually passing libLTO.dylib to the linker). If I modify lib/LTO/ThinLTOCodeGenerator.cpp to do a poor-man's uniquefying of the buffer identifier: ``` void ThinLTOCodeGenerator::addModule(StringRef Identifier, StringRef Data) { - ThinLTOBuffer Buffer(Data, Identifier.str())); + ThinLTOBuffer Buffer(Data, Identifier.str() + utostr(Data.size())); ``` then the problem is solved. What would be a proper way to fix this...
2014 Jul 25
1
Multiple -g flags in R CMD SHLIB
Does anybody know why two "-g" flags appear in the call to gcc in R CMD SHLIB Example: gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic *-g* -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 *-g* -c c_file1.c -o c_object1.o Surely it need only be listed once? Alan [[alternative HTML version deleted]]