public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/56792] New: AVR, internal compiler error on build avr-libc
@ 2013-03-31 12:03 Sergey.Belyashov at gmail dot com
  2013-04-06  2:54 ` [Bug target/56792] " cynt6007 at vandals dot uidaho.edu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sergey.Belyashov at gmail dot com @ 2013-03-31 12:03 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56792

             Bug #: 56792
           Summary: AVR, internal compiler error on build avr-libc
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Sergey.Belyashov@gmail.com


Created attachment 29758
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29758
preprocessed file

I try to build current trunk of avr-libc by gcc-4.8.0 release compiled by
mingw-builds 4.8.0 (http://sourceforge.net/projects/mingwbuilds/) 32bit.


$ avr-gcc -DHAVE_CONFIG_H -I. -I../../../../avr/lib/avr2 -I../../.. 
-I../../../../common -I../../../../include -I../../../include   -g -Wall -W
-Wstrict-prototypes -mmcu=avr2 -D__COMPILING_AVR_LIBC__ -mcall-prologues -Os 
-MT strftime.o -MD -MP -MF .deps/strftime.Tpo -c -o strftime.o
../../../../libc/time/strftime.c -save-temps
../../../../libc/time/strftime.c: In function 'strftime':
../../../../libc/time/strftime.c:293:19: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
     for (d = 0; d < length; d++) {
                   ^
../../../../libc/time/strftime.c: In function 'pgm_copystring':
../../../../libc/time/strftime.c:61:1: internal compiler error: in
convert_debug_memory_address, at cfgexpand.c:2528
 pgm_copystring(const char __memx * p, unsigned char i,char *b,unsigned char l)
 ^


$ avr-gcc -v
Using built-in specs.
COLLECT_GCC=d:\Programming\Avr\bin\avr-gcc.exe
COLLECT_LTO_WRAPPER=d:/programming/avr/bin/../libexec/gcc/avr/4.8.0/lto-wrapper.exe
Target: avr
Configured with: ../gcc-4.8.0/configure --prefix=/d/programming/avr
--target=avr --host=i686-pc-mingw32 --enable-languages=c,c++ --without-libssp
--with-dwarf2 --disable-nls
Thread model: single
gcc version 4.8.0 (GCC)


$ uname -a
MINGW32_NT-6.1 Win7pc 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/56792] AVR, internal compiler error on build avr-libc
  2013-03-31 12:03 [Bug c/56792] New: AVR, internal compiler error on build avr-libc Sergey.Belyashov at gmail dot com
@ 2013-04-06  2:54 ` cynt6007 at vandals dot uidaho.edu
  2013-04-12 16:43 ` gjl at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: cynt6007 at vandals dot uidaho.edu @ 2013-04-06  2:54 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56792

cynt6007 at vandals dot uidaho.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cynt6007 at vandals dot
                   |                            |uidaho.edu

--- Comment #1 from cynt6007 at vandals dot uidaho.edu 2013-04-06 02:54:25 UTC ---
Same situation, only using Ubuntu 12.10.  I confirm this is a problem.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/56792] AVR, internal compiler error on build avr-libc
  2013-03-31 12:03 [Bug c/56792] New: AVR, internal compiler error on build avr-libc Sergey.Belyashov at gmail dot com
  2013-04-06  2:54 ` [Bug target/56792] " cynt6007 at vandals dot uidaho.edu
@ 2013-04-12 16:43 ` gjl at gcc dot gnu.org
  2013-04-12 16:53 ` cynt6007 at vandals dot uidaho.edu
  2013-04-13 14:33 ` gjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-04-12 16:43 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56792

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gjl at gcc dot gnu.org

--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2013-04-12 16:43:14 UTC ---
Is this related to PR52472?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/56792] AVR, internal compiler error on build avr-libc
  2013-03-31 12:03 [Bug c/56792] New: AVR, internal compiler error on build avr-libc Sergey.Belyashov at gmail dot com
  2013-04-06  2:54 ` [Bug target/56792] " cynt6007 at vandals dot uidaho.edu
  2013-04-12 16:43 ` gjl at gcc dot gnu.org
@ 2013-04-12 16:53 ` cynt6007 at vandals dot uidaho.edu
  2013-04-13 14:33 ` gjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cynt6007 at vandals dot uidaho.edu @ 2013-04-12 16:53 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56792

--- Comment #3 from cynt6007 at vandals dot uidaho.edu 2013-04-12 16:53:52 UTC ---
(In reply to comment #2)
> Is this related to PR52472?

Yes it is.  The problem is

internal compiler error: in
convert_debug_memory_address, at cfgexpand.c:2528
 pgm_copystring(const char __memx * p, unsigned char i,char *b,unsigned char l)

It is also using const char __memx *

Thanks!


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/56792] AVR, internal compiler error on build avr-libc
  2013-03-31 12:03 [Bug c/56792] New: AVR, internal compiler error on build avr-libc Sergey.Belyashov at gmail dot com
                   ` (2 preceding siblings ...)
  2013-04-12 16:53 ` cynt6007 at vandals dot uidaho.edu
@ 2013-04-13 14:33 ` gjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-04-13 14:33 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56792

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |addr-space,
                   |                            |ice-on-valid-code
             Target|                            |avr
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2013-04-13 14:33:19 UTC ---
Duplicate according to comment #3

*** This bug has been marked as a duplicate of bug 52472 ***


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-13 14:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-31 12:03 [Bug c/56792] New: AVR, internal compiler error on build avr-libc Sergey.Belyashov at gmail dot com
2013-04-06  2:54 ` [Bug target/56792] " cynt6007 at vandals dot uidaho.edu
2013-04-12 16:43 ` gjl at gcc dot gnu.org
2013-04-12 16:53 ` cynt6007 at vandals dot uidaho.edu
2013-04-13 14:33 ` gjl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).