From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2689 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: Re: ARM unwind issue Date: Mon, 28 Jan 2013 21:03:55 -0800 Message-ID: <20130128210355.ca8cbd88.idunham@lavabit.com> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1359435850 14899 80.91.229.3 (29 Jan 2013 05:04:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jan 2013 05:04:10 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2690-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jan 29 06:04:30 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 1U03My-0003hY-DM for gllmg-musl@plane.gmane.org; Tue, 29 Jan 2013 06:04:28 +0100 Original-Received: (qmail 1475 invoked by uid 550); 29 Jan 2013 05:04:10 -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 1467 invoked from network); 29 Jan 2013 05:04:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=55nZm66UTavShLDZGOLWfKWP1Dyl2FrbKrA/vsuqwPF8nJ9O7nBqC9PAteSMsJkv5/EFeb8jYH/3KR7Z0UT+Ppbqygw6+HnwGSZpwIFrTICNKE2ZGPQ/PdQntYSRI7sj3dJFM/s/urv9xNo3FTiD8aC/Wab/0KwyrPlj6Z13Njc=; h=Date:From:To:Subject:Message-Id:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; In-Reply-To: X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; i486-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:2689 Archived-At: On Tue, 29 Jan 2013 12:02:37 +1300 Andre Renaud wrote: > Hi, > 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? 2: I guess you're manually duplicating REALGCC=/tools/arm/arm-2010q1/bin/gcc musl-gcc program.c -o program.o 3: Does this occur even with a trivial program (hello world or int main(){ }) ? > Any ideas on what I've messed up in either my musl build, or my > cflags/lflags to cause this? Googling "hidden symbol is referenced by DSO" I find that similar problems occurr with newlib when not linked with libgcc. So it would probably help figure it out if you attached your config.mak and musl-gcc.specs. > Regards, > Andre -- Isaac Dunham