[Bug 905634] New: Build Service Cross-Toolchain(AVR): Arduino 1.0.6 fails to cross-compile
http://bugzilla.opensuse.org/show_bug.cgi?id=905634 Bug ID: 905634 Summary: Build Service Cross-Toolchain(AVR): Arduino 1.0.6 fails to cross-compile Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: x86-64 OS: openSUSE 13.2 Status: NEW Severity: Major Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: darren@freemaninstruments.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Running openSUSE 13.2, but using arduino-1.0.6-1.1.x86_64 from Build Service Cross-Toolchain(AVR) for 13.1, since there is no 13.2 repo available.. I get the following error when I try to "verify/compile". (You can reproduce this without connecting to a target board.) /usr/share/arduino-1.0.6/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../avr/bin/ld: skipping incompatible /usr/share/arduino-1.0.6/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../avr/lib/avr51/libm.a when searching for -lm /usr/share/arduino-1.0.6/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../avr/bin/ld: skipping incompatible /usr/share/arduino-1.0.6/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../avr/lib/libm.a when searching for -lm /usr/share/arduino-1.0.6/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../avr/bin/ld: cannot find -lm For some reason, cross-avr-gcc and cross-avr-gdb are supplied by Build Service, which is 13.1, but cross-avr-binutils is now supplied in the main 13.2 OSS repo. Why is this? What use is AVR binutils on its own? I suspected that I had a version mismatch between 13.1 and 13.2. I downgraded cross-avr-binutils to 13.1 Main Repo OSS, but it didn't fix the problem. Now I've noticed that Arduino includes a second copy of gcc and binutils, possibly a different version from the separate packages. Yet it still lists those packages as dependencies even though I don't think it uses them. I'd appreciate any and all suggestions for me to try to fix this on my end. Hopefully this will speed your efforts in moving the Build Service Arduino to 13.2. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
Hans Brage
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
--- Comment #2 from Hans Brage
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
Todor Gyumyushev
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
Todor Gyumyushev
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
Peter Sjoberg
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
--- Comment #6 from Todor Gyumyushev
runnING OpenSuse 13.1 and after updating everything I can no longer use arduino due to this bug. What's worse, old version is gone so I can't even downgrade to prev version which puts me dead in the water until some solution is found.
If you are in a hurry just remove the arduino tools as I have suggested above. We all wait for a cleaner solution but you can do it in the meantime. Also I think the cross-avr-tools is newer and better than what is distributed with Arduino-1.0.6 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
--- Comment #7 from Peter Sjoberg
(In reply to Peter Sjoberg from comment #5)
runnING OpenSuse 13.1 and after updating everything I can no longer use arduino due to this bug. What's worse, old version is gone so I can't even downgrade to prev version which puts me dead in the water until some solution is found.
If you are in a hurry just remove the arduino tools as I have suggested above. We all wait for a cleaner solution but you can do it in the meantime. Also I think the cross-avr-tools is newer and better than what is distributed with Arduino-1.0.6
Did bite the bullet and installed 1.5.8 directly from arduino.cc and after moving my project directory that worked for what I had to do that evening at least. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
Kai Dupke
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
Marco Bakera
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
saturnino peña
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
Weihua Du
http://bugzilla.opensuse.org/show_bug.cgi?id=905634
Klaus Kämpf
participants (1)
-
bugzilla_noreply@novell.com