https://bugs.llvm.org/show_bug.cgi?id=35841
Bug ID: 35841
Summary: lld -flto breaks musl
Product: lld
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: unassignedb...@nondot.org
Reporter: bjornpa...@gmail.com
CC: llvm-bugs@lists.llvm.org
Compiling musl with CFLAGS="-O2 -flto" breaks musl compilation.
lld throws this error:
/usr/bin/x86_64-gentoo-linux-musl-ld: error: undefined symbol: __dls2
>>> referenced by ld-temp.o
>>> lto.tmp:(_dlstart_c)
clang-5.0: error: linker command failed with exit code 1 (use -v to see
invocation)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs