All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: barebox@lists.infradead.org
Subject: ARM/AT91 build failure: Error: symbol *ABS* is in a different section
Date: Sat, 12 Jun 2010 15:51:21 +0200	[thread overview]
Message-ID: <20100612155121.0909adf8@surf> (raw)

Hello,

In barebox 2010.05, the at91sam9263ek defconfig was building properly
with my 2009q1 CodeSourcery ARM toolchain. Barebox 2010.06 no longer
builds with the same defconfig/toolchain. The build failure is:

  CC      arch/arm/cpu/start.o
{standard input}: Assembler messages:
{standard input}:37: Error: symbol *ABS* is in a different section

The commit that introduced the regression is
78104ae181f78d83664fdc7522eb632d9c3b2ec9 (i.e "arm: reimplement startup
code in C").

The part causing the problem is in board_init_lowlevel_return(), more
precisely

    /* Get runtime address of this function */
    __asm__ __volatile__("adr %0, 0":"=r"(r));

I have investigated further for the moment.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2010-06-12 13:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-12 13:51 Thomas Petazzoni [this message]
2010-06-13 11:08 ` ARM/AT91 build failure: Error: symbol *ABS* is in a different section Sascha Hauer

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=20100612155121.0909adf8@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=barebox@lists.infradead.org \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.