This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/56792] New: AVR, internal compiler error on build avr-libc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]