Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 28 Jan 2013 21:03:55 -0800
From: Isaac Dunham <idunham@...abit.com>
To: musl@...ts.openwall.com
Subject: Re: ARM unwind issue

On Tue, 29 Jan 2013 12:02:37 +1300
Andre Renaud <andre@...ewatersys.com> 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 <idunham@...abit.com>

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.