|
|
Message-ID: <20160121171245.GC9621@port70.net>
Date: Thu, 21 Jan 2016 18:12:46 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: MUSL issue while loading C++ lib
* N Jain <jain61@...il.com> [2016-01-21 11:21:57 -0500]:
>
> Error relocating /lib/libstdc++.so.6: _Unwind_Resume_or_Rethrow: symbol not
> found
> Error relocating /lib/libstdc++.so.6: _Unwind_GetLanguageSpecificData:
> symbol not found
>
these symbols should be defined in libgcc_s.so.1
which is linked to c++ code by gcc.
sounds like a gcc toolchain issue, if you cannot
figure it out then post
echo 'int main(){}' |g++ -xc++ -
readelf -ld ./a.out
strace /lib/ld-musl-*.so.1 ./a.out
readelf -d /lib/libstdc++.so.6
readelf -aW /lib/libstdc++.so.6 |grep Unwind
readelf -aW /lib/libgcc_s.so.1 |grep Unwind
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.