linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: tbm@cyrius.com (Martin Michlmayr)
To: linux-arm-kernel@lists.infradead.org
Subject: osd_initiator.c fails to build on ARM with old ABI
Date: Wed, 11 Nov 2009 15:29:48 +0000	[thread overview]
Message-ID: <20091111152948.GA3601@deprecation.cyrius.com> (raw)

I just tried to build the OSD SCSI drivers using the versatile defconfig
and got a build failure.  While investigating why it fails since it
previously built fine for me after adding the fix from
http://marc.info/?l=linux-scsi&m=125795248206756&w=2 I noticed that the
defconfig used the old ABI.

As it turns out, the failure shows up with -mabi=apcs-gnu:

(lenny)9655:tbm at em64t: ~/scratch/linux-2.6] arm-linux-gnueabi-gcc -c -mabi=apcs-gnu osd_initiator.i
osd_initiator.i: In function 'build_test':
osd_initiator.i:14644: error: negative width in bit-field '<anonymous>'
osd_initiator.i:14645: error: negative width in bit-field '<anonymous>'
(lenny)9656:tbm at em64t: ~/scratch/linux-2.6] arm-linux-gnueabi-gcc -c osd_initiator.i
(lenny)9657:tbm at em64t: ~/scratch/linux-2.6]

Maybe someone wants to investigate this.

BTW, why does the versatile defconfig not set EABI?
-- 
Martin Michlmayr
http://www.cyrius.com/

                 reply	other threads:[~2009-11-11 15:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20091111152948.GA3601@deprecation.cyrius.com \
    --to=tbm@cyrius.com \
    --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).