From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] invalid commads passed in compiler line results in failure.
Date: Fri, 5 May 2017 10:45:59 +0200 [thread overview]
Message-ID: <20170505104559.434875f7@free-electrons.com> (raw)
In-Reply-To: <trinity-c9000ae1-4900-4b9d-b1b4-48dcecd9c904-1493971657439@3capp-mailcom-bs14>
Hello,
On Fri, 5 May 2017 10:07:37 +0200, daggs wrote:
> I'm trying to add a new pkg what compile a kernel driver for arm, upon compilation, I get these errors:
> aarch64-linux-gcc.br_real: error: unrecognized argument in option ?-mabi=apcs-gnu?
> aarch64-linux-gcc.br_real: note: valid arguments to ?-mabi=? are: ilp32 lp64
> aarch64-linux-gcc.br_real: error: unrecognized command line option ?-mapcs?; did you mean ?--specs??
> aarch64-linux-gcc.br_real: error: unrecognized command line option ?-mno-sched-prolog?; did you mean ?-Wno-sign-promo??
> aarch64-linux-gcc.br_real: error: unrecognized command line option ?-msoft-float?
You are passing ARM options to an AArch64 compiler: this cannot work.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-05-05 8:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-05 8:07 [Buildroot] invalid commads passed in compiler line results in failure daggs
2017-05-05 8:45 ` Thomas Petazzoni [this message]
2017-05-05 13:10 ` daggs
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=20170505104559.434875f7@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox