Gold is more strict about --whole-archive and will report duplicated
symbols because of an Object.o in a .a and one outside. A similar problem happens for the non-shared part of libpthread. This patch moves the -whole-archive/-no-whole-archive to include just the llvm libs.
Showing
想要评论请 注册 或 登录