From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: MUSL issue while loading C++ lib
Date: Thu, 21 Jan 2016 18:12:46 +0100 [thread overview]
Message-ID: <20160121171245.GC9621@port70.net> (raw)
In-Reply-To: <CAOkOUedH3Tyw_ERM4j_5T-RQ3QH5Ow0egZst_5Nup68m-xA3RA@mail.gmail.com>
* N Jain <jain61@gmail.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
next prev parent reply other threads:[~2016-01-21 17:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-21 16:21 N Jain
2016-01-21 17:12 ` Szabolcs Nagy [this message]
2016-01-21 19:05 ` N Jain
2016-01-21 20:06 ` Szabolcs Nagy
2016-01-21 21:17 ` N Jain
2016-01-21 22:48 ` Szabolcs Nagy
2016-01-27 19:04 ` N Jain
2016-01-27 20:08 ` Szabolcs Nagy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160121171245.GC9621@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).