bugAVR C Runtime Library - Bugs: bug #43049, avr-libc 1.8.1 cannot be built...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #43049: avr-libc 1.8.1 cannot be built with --enable-debug-info=dwarf-4

Submitter:  -X- <johnpatcher>
Submitted:  Fri 22 Aug 2014 08:37:27 AM UTC
   
 
Category:  Library Severity:  3 - Normal
Priority:  5 - Normal Item Group:  libc code
Status:  Duplicate Assigned to:  joerg_wunsch
Percent Complete:  0% Open/Closed:  Open
Release:  Any Fixed Release:  None

Fri 22 Aug 2014 09:05:48 AM UTC, comment #2: 

Alright, thanks. Just wanted to make sure this gets some attention from the correct people (since you haven't responded in the mikrocontroller.net thread ;)). Not a show-stopper for me, but definitely something that should be fixed at some point in the future.

-X- <johnpatcher>
Fri 22 Aug 2014 08:56:09 AM UTC, comment #1: 

Sorry, but this is a plain GCC bug.  There's nothing avr-libc
could do about it.

I already filed the respective GCC bug some days ago:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62084

Joerg Wunsch <joerg_wunsch>
Group administrator
Fri 22 Aug 2014 08:37:27 AM UTC, original submission:  

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 ;).

[1]: https://www.mikrocontroller.net/topic/341504?goto=new#3769337

-X- <johnpatcher>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by johnpatcher (Submitted the item)
  •  

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-22 joerg_wunsch StatusNone Duplicate
        Assigned toNone joerg_wunsch

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code