Hello.
```
136 rel = (void *)(base+dyn[DT_RELA]);
137 rel_size = dyn[DT_RELASZ];
138 for (; rel_size; rel+=3, rel_size-=3*sizeof(size_t)) {
139 if (!IS_RELATIVE(rel[1], 0)) continue;
140 size_t *rel_addr = (void *)(base + rel[0]);
141 *rel_addr = base + rel[2];
142 }
```
Here[1] is my script to build a toolchain based on musl and llvm for ubuntu 16.04(I also attached it below). It will install the toolchain into /usr/local/occlum/.
To compiler a c++ program, use : musl-clang hello.cc -I /usr/local/occlum/include/c++/v1/ -static-pie -lc++ -lc++abi -fPIC -o hello --rtlib=compiler-rt
Is it looks like a bug in llvm or compiler-rt? Or did I make some stupid mistake in my script?
Im really appreciate for any response.
--
Best Regards.
Youren Shen.