Hello Sebastian,
On 2/2/23 10:09, Sebastian Sumpf wrote:
The unwind code for C++ exceptions is in ld.lib.so. But for shared libraries we do not link ld.lib.so, because the missing unwind symbols should end up as undefined symbols in the library. Only when the dynamic binary is linked ld.lib.so should be required to resolve these undefined symbols. The questions is why the linking of libc++.lib.so complains about these undefined symbols in the first place?
Using Genode aarch64 objdump on the generated libraries shows, that only the `_init` symbol ends up in there.
Using the same command for x86_64 shows many more things in the libraries for this platform.
Now I wonder what is the difference in linking libraries for aarch64 compared to x86_64?
The commands to link the library for both platforms are attached.
Regards, Pirmin