From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2693 Path: news.gmane.org!not-for-mail From: Andre Renaud Newsgroups: gmane.linux.lib.musl.general Subject: Re: ARM unwind issue Date: Wed, 30 Jan 2013 08:56:27 +1300 Message-ID: References: <20130128210355.ca8cbd88.idunham@lavabit.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1359489407 12041 80.91.229.3 (29 Jan 2013 19:56:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jan 2013 19:56:47 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2694-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jan 29 20:57:07 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1U0HIf-0000wo-Qu for gllmg-musl@plane.gmane.org; Tue, 29 Jan 2013 20:56:57 +0100 Original-Received: (qmail 13765 invoked by uid 550); 29 Jan 2013 19:56:39 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 13757 invoked from network); 29 Jan 2013 19:56:39 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=A2Laq91JQSL/EHaZmlPZX8mtWCSK9m9QkPKqQkcc6Ic=; b=iAai+gDBYGldT32ZwmZowQygOxHyaBLt3s2dASViaUFLiuYIUs/Ht1GtzjgbXB7Zq2 4XIeGYJ5uciCAyVBN98HJ0K9AgRtswL4iBzobjuWe+nF4d2L1ukQbYC4sQxus301Lk2o hp8zolio5yBwOW5ODvkQaI72B/OtKVosOZU+12fQKtTEVWzoHXLuwkwH/7Ypnt2eIaFh 49gxAeAmZll00BXm+dJUBxoNs9W/jvGWS47c5yG3gbxTcLwer5P6GPzY3PwJI5NqzZwQ L2ZkwWyqsXm3QTdJMyUSAYhTBRmo4kZJ1mAKT/Af4CZh4mOqnt6mjX+pUoEZjFVwAacz mZrA== X-Received: by 10.60.171.175 with SMTP id av15mr1701883oec.75.1359489387523; Tue, 29 Jan 2013 11:56:27 -0800 (PST) In-Reply-To: <20130128210355.ca8cbd88.idunham@lavabit.com> X-Gm-Message-State: ALoCoQlaUjwcn1sKPt44iia631WTRyhWBtvxB8kGxGyZkiPbHA3mjMGR+zPfG34SpUXlRSvjTLgf Xref: news.gmane.org gmane.linux.lib.musl.general:2693 Archived-At: >> I'm trying to build some software using musl on an ARM platform, and >> am getting the following error: >> arm-none-linux-gnueabi-gcc >> -specs=/home/andre/work/package-builder/staging/lib/musl-gcc.specs -o >> program program.o >> /tools/arm/arm-2010q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: >> program: hidden symbol `__aeabi_unwind_cpp_pr0' in >> /tools/arm/arm-2010q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc_eh.a(unwind-arm.o) >> is referenced by DSO > > A few details that might be informative: > > 1: I'm guessing that this is a prepackaged glibc-targetted x86->armel cross toolchain from Linaro, specifically their 2010 release? It's the codesourcery 2010q1 release. > 2: I guess you're manually duplicating > REALGCC=/tools/arm/arm-2010q1/bin/gcc musl-gcc program.c -o program.o I actually wasn't using musl-gcc, I was manually adding the '-spec' line. It turns out that the root cause was a mistake on my behalf when configuring musl, which resulted in LIBCC not being set properly in config.mak. Regards, Andre