All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Compiling U-Boot
Date: Wed, 27 Nov 2013 14:59:47 +0100	[thread overview]
Message-ID: <5295FAD3.7050401@gmail.com> (raw)
In-Reply-To: <5295F94A.1020407@xtech2.lv>

Dear Alexey Smishlayev,

On 11/27/2013 02:53 PM, Alexey Smishlayev wrote:
> On 2013.11.27. 15:39, Andreas Bie?mann wrote:
>> crt0.S:70 subtracts the GD_SIZE from current stack pointer. The code
>> written seems to miss the Rn according to [1]. Could you please test to
>> change it from to: 'sub sp, sp, #GD_SIZE'?
> 
> Yes, thank you! Now it successfully compiles crt0.S.
> Although, I get another error later on the compilation:

<snip>

> /usr/local/arm/gcc-4.2.3-glibc-2.3.3/arm-unknown-linux-gnu/lib/gcc/arm-unknown-linux-gnu/4.2.3
> -lgcc -Map u-boot.map -o u-boot
> /usr/local/arm/gcc-4.2.3-glibc-2.3.3/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-ld:
> -static and -shared may not be used together
> make: *** [u-boot] Error 1
> 
> Any clues on how to correct this one?

this is a known issue of outdated toolchain, please update to a newer
one. That would also fix your other problem then.

Best regards

Andreas Bie?mann

      reply	other threads:[~2013-11-27 13:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-27 12:26 [U-Boot] Compiling U-Boot Alexey Smishlayev
2013-11-27 13:39 ` Andreas Bießmann
2013-11-27 13:53   ` Alexey Smishlayev
2013-11-27 13:59     ` Andreas Bießmann [this message]

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=5295FAD3.7050401@gmail.com \
    --to=andreas.devel@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /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.