[llvm-dev] Missing symbol __executable_start on Android when linking with LLD

Carlo Kok via llvm-dev llvm-dev at lists.llvm.org
Tue May 30 09:48:36 PDT 2017


When linking a project with lld, the android libc links to
__executable_start
which isn't defined when linking with lld (tried on x86), but is when
linking with gnu ld it seems. 

I tried:

.globl	__executable_start
__executable_start = __ehdr_start

as a workaround but seems to be ignored.

Anyone know a better workaround?

Thanks,

--
Carlo Kok
RemObjects Software


More information about the llvm-dev mailing list