Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: lemonoje <lemonoje@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Altera SoC Buildroot external toolchain incompatible error
Date: Thu, 11 May 2017 12:51:09 -0700 (PDT)	[thread overview]
Message-ID: <1494532269551-164744.post@n4.nabble.com> (raw)

Hello,

I have been trying to find an answer for this error and I found something
close posted here, but I don't understand fully the problem/solution.  I am
building a Linux system for my Altera Arria 10 SoC Cortex-A9.  I'm new to
Buildroot, and building Linux in general, so I have been pretty closely
following the instructions on Rocketboards.org (except now I am trying to
get newer versions of buildroot and gcc toolchain).

More spcifically for my question I am on part 9. (Building rootfs) in this
guide:  
https://rocketboards.org/foswiki/Documentation/EmbeddedLinuxBeginnerSGuide
<https://rocketboards.org/foswiki/Documentation/EmbeddedLinuxBeginnerSGuide>  

When I try to make buildroot I am selecting an external toolchain
(pre-downloaded from releases.linaro.org), and configuring accordingly.  I
then run  

*make -C buildroot ARCH=ARM BR2_TOOLCHAIN_EXTERNAL_PATH=$TOOLCHAIN all*

and I get the error:
>>> toolchain-external  Configuring
/sf/ArriaX/ltsi_4_1_33/gcc-linaro-5.4.1-2017.01-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/5.4.1/../../../../arm-linux-gnueabihf/bin/ld:
error: /sf/ArriaX/ltsi_4_1_33/buildroot/output/build/.br-toolchain-test.tmp
uses VFP register arguments, /tmp/ccbU9FJ0.o does not
/sf/ArriaX/ltsi_4_1_33/gcc-linaro-5.4.1-2017.01-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/5.4.1/../../../../arm-linux-gnueabihf/bin/ld:
failed to merge target specific data of file /tmp/ccbU9FJ0.o
collect2: error: ld returned 1 exit status
Incorrect ABI setting: EABI selected, but toolchain is incompatible
package/pkg-generic.mk:206: recipe for target
'/sf/ArriaX/ltsi_4_1_33/buildroot/output/build/toolchain-external/.stamp_configured'
failed
make: ***
[/sf/ArriaX/ltsi_4_1_33/buildroot/output/build/toolchain-external/.stamp_configured]
Error 1
make: Leaving directory '/sf/ArriaX/ltsi_4_1_33/buildroot'


Thanks in advance for any help!!



--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/Altera-SoC-Buildroot-external-toolchain-incompatible-error-tp164744.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.

             reply	other threads:[~2017-05-11 19:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-11 19:51 lemonoje [this message]
2017-05-11 20:14 ` [Buildroot] Altera SoC Buildroot external toolchain incompatible error Thomas Petazzoni
2017-05-11 20:19   ` lemonoje
2017-05-11 20:51     ` Thomas Petazzoni
2017-05-11 20:46       ` lemonoje
2017-05-11 21:23         ` Thomas Petazzoni
2017-05-12 13:11           ` lemonoje
2017-05-12 13:52             ` Thomas Petazzoni
2017-05-12 14:16               ` lemonoje
2017-05-12 14:45                 ` lemonoje

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=1494532269551-164744.post@n4.nabble.com \
    --to=lemonoje@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox