All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Building ARM with Soft-float
Date: Fri, 28 Sep 2007 19:01:09 +0200	[thread overview]
Message-ID: <20070928170109.GO20951@aon.at> (raw)
In-Reply-To: <1190996888.5322.198.camel@elrond.atmel.sweden>

On Fri, Sep 28, 2007 at 06:28:08PM +0200, Ulf Samuelsson wrote:
>fre 2007-09-28 klockan 10:56 +0200 skrev Ulf Samuelsson:
>> Tried the Integrator-926ejs default.
>> =>	This works:
>> 
>
>Beeing trying the ARM integrator softfloat the whole day.
>
>Vanilla configuration works.
>generic-arm, instead of arm926ejs works
>
>oabi, instead of eabi, generates a new problem
>which was not present a week ago.
>The C compiler seems to be built with EABI...

double-check, triple-check your BR2_GNU_TARGET_SUFFIX

And i'm not doing OABI ;)
>
>My configuration is as follows
>> grep ABI .config
>BR2_ARM_OABI=y
># BR2_ARM_EABI is not set
>> grep ABI toolchain_build_arm_nofpu/uClibc-0.9.29/.config
>CONFIG_ARM_OABI=y
># CONFIG_ARM_EABI is not set
>> grep abi .config
>BR2_GNU_TARGET_SUFFIX="uclibc-linux-gnueabi"

yea, that'd be it. Everything is fine.
>
>I compile the file a.c:  
>
>> cat a.c
>#ifdef  __ARM_EABI__
>#warning "EABI"
>#endif
>> ./arm-uclibc-linux-gnueabi-gcc a.c
>a.c:2:2: warning: #warning "EABI"
>
>Why is this?

See above
>
>This results in a failure, since
>uClibc/include/bits/sysnum.h is generated from 
><kernel-header>/asm/arch/unistd.h
>and if __ARM_EABI__ is set, then 
>the Syscall numbers are wrong, and the 
>_NR_syscall definition is not (base+113)
>as it was one week ago
>#define _NR_syscall  (<base>+113)
>instead it is
>#define _NR_syscall  _NR_syscall
>
>so the build of syscalls.c in uClibc fails.
>
>I can't see anything in the toolset which configures
>the ABI for the compiler.

Please look more carefully (see above)

  reply	other threads:[~2007-09-28 17:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28  8:56 [Buildroot] Building ARM with Soft-float Ulf Samuelsson
2007-09-28 16:28 ` Ulf Samuelsson
2007-09-28 17:01   ` Bernhard Fischer [this message]
2007-09-28 21:08     ` Ulf Samuelsson
2007-09-28 21:23       ` Bernhard Fischer
2007-09-28 23:24       ` [Buildroot] Buildroot filesystem files' ownership Leonid
2007-09-29 10:12         ` Bernhard Fischer
2007-09-28 16:29 ` [Buildroot] Building ARM with Soft-float Bernhard Fischer
2007-09-28 18:56   ` Ulf Samuelsson

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=20070928170109.GO20951@aon.at \
    --to=rep.dot.nop@gmail.com \
    --cc=buildroot@busybox.net \
    /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.