[Bug 793564] New: CrossToolchain:avr/cross-avr-gcc: Bug
https://bugzilla.novell.com/show_bug.cgi?id=793564 https://bugzilla.novell.com/show_bug.cgi?id=793564#c0 Summary: CrossToolchain:avr/cross-avr-gcc: Bug Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: 3rd party software AssignedTo: jw@suse.com ReportedBy: guoyunhebrave@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: Community User Blocker: Yes 云鹤 郭 <guoyunhebrave@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flag| |SHIP_STOPPER?, CCB_Review? when i run as follow: avr-gcc -Wall -Os -fpack-struct -fshort-enums -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega16 -DF_CPU=1000000UL -MMD -MP -MF"main.d" -MT"main.d" -c -o "main.o" "../main.c" the avr-gcc report a problem: unrecognized option '-mmcu=atmega16' i use opensuse 12.2 x86_64. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=793564 https://bugzilla.novell.com/show_bug.cgi?id=793564#c1 云鹤 郭 <guoyunhebrave@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guoyunhebrave@gmail.com --- Comment #1 from 云鹤 郭 <guoyunhebrave@gmail.com> 2012-12-09 02:01:06 UTC --- this also cause the arduino cannot compile successfully. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=793564 https://bugzilla.novell.com/show_bug.cgi?id=793564#c2 --- Comment #2 from 云鹤 郭 <guoyunhebrave@gmail.com> 2012-12-09 02:26:19 UTC --- after reinstall the package, the problem disappear. now it works perfect! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=793564 https://bugzilla.novell.com/show_bug.cgi?id=793564#c3 --- Comment #3 from Juergen Weigert <jw@suse.com> 2012-12-09 20:43:06 UTC --- I have updated most avr related packages in the last few days. Maybe I fixed your issue by doing so? Can you please show the output of rpm -q cross-avr-gcc avr-libc avr-gcc cross-avr-binutils echo $PATH Another (unfixed?) issue is this: Most of the programs are installed under /opt/cross/avr/bin, although /opt/cross/avr/bin is not normally in a users $PATH. If this is the case, the compiler might try to use /usr/bin/as instead of /opt/cross/avr/bin/as which would give exactly your error message. There is also code that would manipulate your PATH setting during installation. Unfortunaly this has no immediate effect, only after you login a second time. I'd like to remove such hidden PATH manipulation and rather instruct avr-gcc to directly find its related programs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=793564 https://bugzilla.novell.com/show_bug.cgi?id=793564#c Juergen Weigert <jw@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |guoyunhebrave@gmail.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=793564 https://bugzilla.novell.com/show_bug.cgi?id=793564#c4 --- Comment #4 from 云鹤 郭 <guoyunhebrave@gmail.com> 2012-12-10 00:54:15 UTC --- after reinstall these packages, the problem disappeared. unluckily, i cannot repeat this case. now, the output as you say is: rpm -q cross-avr-gcc avr-libc avr-gcc cross-avr-binutils cross-avr-gcc-4.3.3_20100125-30.1.x86_64 avr-libc-1.8.0-7.1.noarch package avr-gcc is not installed cross-avr-binutils-2.23.1-1.1.x86_64 echo $PATH /home/sign/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/cross/bin thanks for your hard work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=793564 https://bugzilla.novell.com/show_bug.cgi?id=793564#c Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flag|SHIP_STOPPER?, CCB_Review? | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com