Description
Fri 22 Aug 2014 10:37:27 AM CEST
Trying to build avr-libc 1.8.1 with version the "--enable-debug-info=dwarf-4" configure option does not work, as it results in an error complaining about pgm_copystring().
avr-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../common -I../../../include -I../../../include -D_FORTIFY_SOURCE=2 -gdwarf-4 -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
../../../libc/time/strftime.c: In function 'pgm_copystring':
../../../libc/time/strftime.c:56:1: internal compiler error: in convert_debug_memory_address, at cfgexpand.c:3547
pgm_copystring(const char __memx * p, unsigned char i, char *b, unsigned char l)
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
This was initially reported here 1, I just want to bring this to the attention of all avr-libc developers.
Furthermore I would like to add the fact that version 1.8.1 cannot be chosen as Release in this bug tracker, so I had to choose "Any". Probably someone simply forgot to add the release into the database ;).
This issue was migrated from https://savannah.nongnu.org/bugs/?43049