From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9164 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: MUSL issue while loading C++ lib Date: Thu, 21 Jan 2016 18:12:46 +0100 Message-ID: <20160121171245.GC9621@port70.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1453396382 2001 80.91.229.3 (21 Jan 2016 17:13:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Jan 2016 17:13:02 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9177-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jan 21 18:13:01 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1aMIn7-0000ZP-9v for gllmg-musl@m.gmane.org; Thu, 21 Jan 2016 18:13:01 +0100 Original-Received: (qmail 13474 invoked by uid 550); 21 Jan 2016 17:12:59 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 13454 invoked from network); 21 Jan 2016 17:12:58 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Xref: news.gmane.org gmane.linux.lib.musl.general:9164 Archived-At: * N Jain [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