-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The package 'toolchain-gccarmlinuxgnueabi' is not available #2
Comments
Temporary solution is http://docs.platformio.org/en/latest/plus/pio-remote.html |
Another data point.
|
@hoosierEE your issue has been fixed bc5f23c Could you re-test?
|
Re-tested, no change. To be clear, the target device which I want to program is a Teensy 3.5, the host machine (which runs PlatformIO) is Linux ARM aarch64. [EDIT]
|
FYI, at least on Debian derivatives there is a system package
Since the toolchain is rather large, I'd suggest to fall back to download only if it is not already present. |
I seriously can't understand why the toolchain for linux_arm does only exist for darwin but not linux platforms. I was not able to find it, only for darwin. As this causes a but every 2 weeks, can you please add the proper entry and toolchain, please. It is obviously a wanted target.
|
We don't have toolchains for Linux which allow building source code for ARM GNU EABI. We have all toolchains for NONE EABI. |
а это вообще будет работать???)))) |
Is it possible to cross-compile yet (from Linux 64bit desktop for Linux ARM Raspberry Pi)? I cannot access my device with PIO Remote and do not have a similar device with me. I just want to be able to compile the source to a binary format and send it to my non-technical colleagues to test. Is there any way to build the output file at all? Even if the process is very tedious, I am willing to do it. Thanks. |
agreed, would be fantastic to cross-compile for the rpi. is it an IP issue? |
On Linux using qemu binfmt to emulate ARM build environment might be another workaround: sudo apt install qemu binfmt-support qemu-user-static
wget https://github.com/debuerreotype/docker-debian-artifacts/raw/dist-arm32v7/buster/slim/rootfs.tar.xz
unp -u rootfs.tar.xz
cd rootfs
sudo mount -o bind /sys ./sys
sudo mount -o bind /proc ./proc
sudo chroot ./
apt install python3-pip
pip3 install platformio In this ARM based change root file system you can use any platformio command to compile the binary for your raspberry. I have not yet tested it completely but so far it seems to work. |
This was asked again at https://community.platformio.org/t/raspbberry-pi-4-create-project-problem/22314/, official support would be good :( |
Ok... so 5 years have passed... is this still "temporary" half a decade later? or has this just become an accepted limitation that will never be resolved? Personal Note: This is deeply frustrating to me (and I'm probably not the only one that finds it frustrating), the whole reason I read up on PlatformIO and bothered to install it in the first place was to simplify dealing with cross-compiling C/C++ (Honestly I'd rather just use rust where this is is a solved problem with zero issues cross compiling, but I have a whole C SDK I need to use on a project, so I'm stuck dealing with c/c++ cross compile toolchains) |
@techdragon I couldn't agree more as indeed I just went thorough that same loop. Another hour of my life wasted. Grr. |
Temporary solution
PlatformIO currently does not support cross-compilation for RaspberryPi and similar boards.
Please use one of:
a) PlatformIO Core directly on a target device
b) PIO Remote and work with your hardware from anywhere in the world.
Attempt to use the arm / raspberrypi platform. gets the error.
Error: The package 'toolchain-gccarmlinuxgnueabi' is not available for your system 'linux_x86_64'
Also had this error under 64 bit windows.
Configuration
Operating system: Linux, x86_64 x-ubuntu
PlatformIO Version (
platformio --version
):PlatformIO, version 2.8.5
Description of problem
Steps to Reproduce
Actual Results
PlaftormIO: Failed to initialize PlatformIO project!
Error: The package 'toolchain-gccarmlinuxgnueabi' is not available for your system 'linux_x86_64'
Expected Results
I would expect to be able to cross compile to arm from 64 bit linux..
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: