Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Altera SoC Buildroot external toolchain incompatible error
@ 2017-05-11 19:51 lemonoje
  2017-05-11 20:14 ` Thomas Petazzoni
  0 siblings, 1 reply; 10+ messages in thread
From: lemonoje @ 2017-05-11 19:51 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-05-12 14:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-11 19:51 [Buildroot] Altera SoC Buildroot external toolchain incompatible error lemonoje
2017-05-11 20:14 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox