bugAVR C Runtime Library - Bugs: bug #22182, -mint8 kills stdio

 
 

bug #22182: -mint8 kills stdio

Submitted by:  Juergen Weigert <jnweiger>
Submitted on:  Wed 30 Jan 2008 08:58:02 PM UTC  
 
Category:  Library Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Wont Fix Assigned to:  Eric Weddington <arcanum>
Percent Complete:  0% Open/Closed:  Closed
Release:  None Fixed Release:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 30 Jan 2008 10:27:39 PM UTC, comment #2: 

Acording to the avr-libc user manual here:
<http://www.nongnu.org/avr-libc/user-manual/using_tools.html>
The -mint8 flag is not supported by avr-libc and should not be used with any avr-libc routines.

There are no plans to support -mint8 in the future.

Closing bug.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Wed 30 Jan 2008 09:03:09 PM UTC, comment #1: 

This happened with avr-libc-1.4.6

Juergen Weigert <jnweiger>
Wed 30 Jan 2008 08:58:02 PM UTC, original submission:  

printf() putchar() and friends, using
static FILE mystdout = FDEV_SETUP_STREAM(uart_putchar, NULL, _FDEV_SETUP_WRITE);
crash, when the code is compiled with -mint8. My tests run fine without -mint8.

I suggest to add a guard against -mint8 to stdio.h
early, if this is nontrivial to fix.

#if _INT_MAX_ == 127
# error "stdio is incompatible with -mint8"
#endif

Juergen Weigert <jnweiger>

 

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

Attach Files:
   
   
Comment:
   

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 arcanum (Posted a comment)
  • -email is unavailable- added by jnweiger (Submitted the item)
  •  

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-01-30 arcanum StatusNone => Wont Fix
        Assigned toNone => arcanum
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5