From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Illegal instruction Built bcc
Date: Wed, 15 Feb 2012 21:55:08 +0100 [thread overview]
Message-ID: <201202152155.08608.arnout@mind.be> (raw)
In-Reply-To: <4F3BF8DC.6080608@labri.fr>
On Wednesday 15 February 2012 19:26:36 Jigar SOLANKI wrote:
> Hi all,
>
> I'm trying to compile and run :
>
> #include <stdlib.h>
>
> int main(){
> return 0
> }
>
> on a Leon3/Sparc+Linux architecture.
>
> When I compile it with the toolchains binaries provided by Gaisler, it
> works well (sparc-linux-gcc) it works well
> Whereas when I compile it with a toolchain that I have built using the
> BCC sources, I get an illegal instruction when trying to run it.
>
>
> Where does that come from please ?
Most likely you configured buildroot for a subarchitecture that is not
supported by your platform. You can run the working cross-compiler with
the -v option; in the long list of configure options you'll see something
like '--with-cpu=sparcsfleon'. That is the subarchitecture you should
use for buildroot too.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120215/26966dd3/attachment-0001.html>
next prev parent reply other threads:[~2012-02-15 20:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-15 18:26 [Buildroot] Illegal instruction Built bcc Jigar SOLANKI
2012-02-15 20:55 ` Arnout Vandecappelle [this message]
2012-02-16 10:45 ` Jigar SOLANKI
2012-02-16 20:49 ` Arnout Vandecappelle
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=201202152155.08608.arnout@mind.be \
--to=arnout@mind.be \
--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.