[llvm] r221591 - [CMake] Let llvm-shlib work on Linux with --whole-archive.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Nov 10 11:31:10 PST 2014


> Unfortunately, --gc-sections is not powerful in this case to prune unused "visibility(default)" entries.

This is very likely just a bug on old versions of bfd ld. Version
2.23.1 and newer should work. See r220237.

Cheers,
Rafael



More information about the llvm-commits mailing list