linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: Compiling a kernel for armv5 + armv6
Date: Thu, 3 Mar 2011 15:01:38 +0100	[thread overview]
Message-ID: <20110303140138.GP29521@pengutronix.de> (raw)
In-Reply-To: <AANLkTi=u_R=c0b0PQEK_fLqEOfXe-rcyiaEr73kzo2E9@mail.gmail.com>

On Thu, Mar 03, 2011 at 03:50:26PM +0200, saeed bishara wrote:
> On Thu, Mar 3, 2011 at 3:20 PM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> > Doing so currently breaks with:
> >
> > arch/arm/kernel/entry-armv.S: Assembler messages:
> > arch/arm/kernel/entry-armv.S:196: Error: selected processor does not support `strex r1,r2,[sp]'
> > arch/arm/kernel/entry-armv.S:228: Error: selected processor does not support `strex r1,r2,[sp]'
> > arch/arm/kernel/entry-armv.S:286: Error: selected processor does not support `strex r1,r2,[sp]'
> > arch/arm/kernel/entry-armv.S:323: Error: selected processor does not support `strex r1,r2,[sp]'
> >
> > These are used in svc_exit and restore_user_regs.
> >
> > Is there a way to fix this or do we have to live with this?
> try to add this line to the Makefile
>  AFLAGS_entry-armv.o      :=-Wa,-march=armv6k

This surely keeps the compiler happy, but I doubt the result will work
on an armv5 processor.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

  reply	other threads:[~2011-03-03 14:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03 13:20 Compiling a kernel for armv5 + armv6 Sascha Hauer
2011-03-03 13:50 ` saeed bishara
2011-03-03 14:01   ` Sascha Hauer [this message]
2011-03-03 13:59 ` Russell King - ARM Linux

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=20110303140138.GP29521@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=linux-arm-kernel@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 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).