mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Andre Renaud <andre@bluewatersys.com>
To: musl@lists.openwall.com
Subject: Re: ARM unwind issue
Date: Wed, 30 Jan 2013 08:56:27 +1300	[thread overview]
Message-ID: <CAPfzE3Zzexi8n534g-pCwoKUdcKvJ9KbQ6QEquhQdYZMTgkdtQ@mail.gmail.com> (raw)
In-Reply-To: <20130128210355.ca8cbd88.idunham@lavabit.com>

>> 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


  reply	other threads:[~2013-01-29 19:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-28 23:02 Andre Renaud
2013-01-29  0:44 ` Rich Felker
2013-01-29  5:03 ` Isaac Dunham
2013-01-29 19:56   ` Andre Renaud [this message]
2013-01-29 23:55     ` Rich Felker

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=CAPfzE3Zzexi8n534g-pCwoKUdcKvJ9KbQ6QEquhQdYZMTgkdtQ@mail.gmail.com \
    --to=andre@bluewatersys.com \
    --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).