[Bug 1112499]
The 4.7 branch is being closed, moving target milestone to 4.8.4. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1112499 Title: WiFi.cpp doesn't compile with default flags To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1112499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1112499]
GCC 4.8.4 has been released. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1112499 Title: WiFi.cpp doesn't compile with default flags To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1112499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1112499]
(In reply to Jorn Wolfgang Rennecke from comment #28) I can't reproduce this with the current trunk. Confirmed. gcc-4.9 doesn't show this bug for --target=avr-rtems4.11, anymore. Can was mark this as known to work for 4.9 ? I am inclined to agree. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1112499 Title: WiFi.cpp doesn't compile with default flags To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1112499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1112499]
I can't reproduce this with the current trunk. Can was mark this as known to work for 4.9 ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1112499 Title: WiFi.cpp doesn't compile with default flags To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1112499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1112499]
GCC 4.6.4 has been released and the branch has been closed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1112499 Title: WiFi.cpp doesn't compile with default flags To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1112499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1112499] Re: WiFi.cpp doesn't compile with default flags
** Branch linked: lp:ubuntu/raring-proposed/arduino -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1112499 Title: WiFi.cpp doesn't compile with default flags To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1112499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1112499] Re: WiFi.cpp doesn't compile with default flags
This bug was fixed in the package arduino - 1:1.0.3+dfsg-2 --- arduino (1:1.0.3+dfsg-2) experimental; urgency=low * debian/patches/no-caller-saves.patch - workaround for GCC 4.7 bug, WiFi.cpp won't compile (Closes: #698254) (LP: #1112499) -- Scott Howard show...@debian.org Fri, 01 Feb 2013 09:47:46 -0500 ** Changed in: arduino (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1112499 Title: WiFi.cpp doesn't compile with default flags To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1112499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1112499] [NEW] WiFi.cpp doesn't compile with default flags
Public bug reported: While working on a package for Ubuntu Quantal (which has gcc 4.7), I noticed sketches which use WiFi.cpp seem to trigger a GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50925 Apparently it can be worked around by passing -fno-caller-saves to avr-gcc and avr-g++. I haven't extensively tested any sketches (yet) using that fix, but at least the sketches compile again. While I haven't checked myself, it seems quite likely that Debian's Arduino package may be affected by this issue was well. I discovered this by building the ConnectWithWPA example. ** Affects: gcc Importance: Unknown Status: Unknown ** Affects: arduino (Ubuntu) Importance: Undecided Status: New ** Affects: arduino (Debian) Importance: Unknown Status: Unknown ** Bug watch added: Debian Bug tracker #698254 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698254 ** Also affects: arduino (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698254 Importance: Unknown Status: Unknown ** Bug watch added: GCC Bugzilla #50925 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50925 ** Also affects: gcc via http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50925 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1112499 Title: WiFi.cpp doesn't compile with default flags To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1112499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1112499] Re: WiFi.cpp doesn't compile with default flags
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: arduino (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1112499 Title: WiFi.cpp doesn't compile with default flags To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1112499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1112499] Re: WiFi.cpp doesn't compile with default flags
Launchpad has imported 27 comments from the remote bug at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50925. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2011-10-30T19:09:23+00:00 Joel-l wrote: /home2/joel/build/b-avr-gcc/./gcc/xgcc -B/home2/joel/build/b-avr-gcc/./gcc/ -nostdinc -B/home2/joel/build/b-avr-gcc/avr-rtems4.11/avr25/newlib/ -isystem /home2/joel/build/b-avr-gcc/avr-rtems4.11/avr25/newlib/targ-include -isystem /users/joel/test-gcc/gcc-svn/newlib/libc/include -B/users/joel/test-gcc/install-svn/avr-rtems4.11/bin/ -B/users/joel/test-gcc/install-svn/avr-rtems4.11/lib/ -isystem /users/joel/test-gcc/install-svn/avr-rtems4.11/include -isystem /users/joel/test-gcc/install-svn/avr-rtems4.11/sys-include -mmcu=avr25 -DPACKAGE_NAME=\newlib\ -DPACKAGE_TARNAME=\newlib\ -DPACKAGE_VERSION=\1.19.0\ -DPACKAGE_STRING=\newlib\ 1.19.0\ -DPACKAGE_BUGREPORT=\\ -DPACKAGE_URL=\\ -I. -I/users/joel/test-gcc/gcc-svn/newlib/libc/search -Os -DPREFER_SIZE_OVER_SPEED -mcall-prologues -D_COMPILING_NEWLIB -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN -Wall -fno-builtin -g -O2 -mmcu=avr25 -c -o lib_a-twalk.o `test -f 'twalk.c' || echo '/users/joel/test-gcc/gcc-svn/newlib/libc/search/'`twalk.c /users/joel/test-gcc/gcc-svn/newlib/libc/search/hash.c: In function '__expand_table': /users/joel/test-gcc/gcc-svn/newlib/libc/search/hash.c:898:1: error: unable to find a register to spill in class 'POINTER_REGS' /users/joel/test-gcc/gcc-svn/newlib/libc/search/hash.c:898:1: error: this is the insn: (insn 172 96 173 10 (set (reg:QI 18 r18) (mem/c:QI (plus:HI (reg/f:HI 28 r28) (const_int 5 [0x5])) [16 S1 A8])) /users/joel/test-gcc/gcc-svn/newlib/libc/search/hash.c:886 1 {movqi_insn} (nil)) /users/joel/test-gcc/gcc-svn/newlib/libc/search/hash.c:898:1: internal compiler error: in spill_failure, at reload1.c:2118 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. Reply at: https://bugs.launchpad.net/ubuntu/+source/arduino/+bug/1112499/comments/0 On 2011-10-30T19:42:50+00:00 Joel-l wrote: gcc (GCC) 4.7.0 20111029 (experimental) Newlib up to date at same time Cut and pasted from log with multiple jobs in parallel. The actual command line for hash.c was. /home2/joel/build/b-avr-gcc/./gcc/xgcc -B/home2/joel/build/b-avr- gcc/./gcc/ -nostdinc -B/home2/joel/build/b-avr-gcc/avr- rtems4.11/avr25/newlib/ -isystem /home2/joel/build/b-avr-gcc/avr- rtems4.11/avr25/newlib/targ-include -isystem /users/joel/test-gcc/gcc- svn/newlib/libc/include -B/users/joel/test-gcc/install-svn/avr- rtems4.11/bin/ -B/users/joel/test-gcc/install-svn/avr-rtems4.11/lib/ -isystem /users/joel/test-gcc/install-svn/avr-rtems4.11/include -isystem /users/joel/test-gcc/install-svn/avr-rtems4.11/sys-include -mmcu=avr25 -DPACKAGE_NAME=\newlib\ -DPACKAGE_TARNAME=\newlib\ -DPACKAGE_VERSION=\1.19.0\ -DPACKAGE_STRING=\newlib\ 1.19.0\ -DPACKAGE_BUGREPORT=\\ -DPACKAGE_URL=\\ -I. -I/users/joel/test-gcc /gcc-svn/newlib/libc/search -Os -DPREFER_SIZE_OVER_SPEED -mcall- prologues -D_COMPILING_NEWLIB -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN -Wall -fno-builtin -g -O2 -c -o lib_a-hash.o `test -f 'hash.c' || echo '/users/joel/test-gcc/gcc- svn/newlib/libc/search/'`hash.c This shouldn't matter much except to have hash.c instead of twalk.c Reply at: https://bugs.launchpad.net/ubuntu/+source/arduino/+bug/1112499/comments/1 On 2011-10-30T19:43:24+00:00 Joel-l wrote: Created attachment 25667 Preprocessed output Preprocessed code. Reply at: https://bugs.launchpad.net/ubuntu/+source/arduino/+bug/1112499/comments/2 On 2011-11-04T17:08:30+00:00 Gjl wrote: I can confirm this on current trunk r180962 with -Os/-O2/-O3. The bug disappears with -fno-caller-saves. I already observed trouble with -fcaller-saves together with -mstrict-X so that perhaps it is a good idea to disable that option for AVR? A size comparison if avr-libc generated with -f[no-]caller-saves looks as follows: Columns: 3nd = #bytes with -fcaller-saves 3rd = #bytes with -fno-caller-saves 4th = relative size gain 5th = absolute size gain
[Bug 1112499] Re: WiFi.cpp doesn't compile with default flags
** Changed in: arduino (Debian) Status: Unknown = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1112499 Title: WiFi.cpp doesn't compile with default flags To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1112499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1112499] Re: WiFi.cpp doesn't compile with default flags
** Branch linked: lp:debian/experimental/arduino -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1112499 Title: WiFi.cpp doesn't compile with default flags To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1112499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs