-
Notifications
You must be signed in to change notification settings - Fork 287
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
fails to link with arm-none-eabi/lib/crt0.o: Conflicting CPU architectures 12/1 #514
Comments
Did you every fix this? I have the same. |
Try removing completely the |
This warning (I trimmed the paths to make it easier to read) is due to the way the Ubuntu cross compiler is configured:
The crt0 it's trying to link in is built for ARM(v4), but a m0 machine only supports thumb. When building for
However, we don't have a I did some experiments to work out what was going on, before realising that Ubuntu appears to have fixed the issue since I reported it. I'm running libnewlib-arm-none-eabi 2.4.0.20160527-4. Ubuntu bionic has 2.4.0.20160527-3, which I think was the broken version. You could try to install the version of libnewlib-arm-* from Ubuntu cosmic? |
this could be a Ubuntu 18.04 bug https://bugs.launchpad.net/ubuntu/+source/gcc-arm-none-eabi/+bug/1767223 |
Yes, I can confirm fixing the issue by installing the newer packages. Just get the libnewlib-dev (2.4.0.20160527-4) and libnewlib-arm-none-eabi (2.4.0.20160527-4) *.deb files, then install them:
|
As of today, @temporaryaccount's instructions worked for Ubuntu 18.04.1 (but the versions provided at the links have been updated).
|
I see this on my Ubuntu system.
The text was updated successfully, but these errors were encountered: