AVR C Runtime Library - Bugs: bug #35407, Missing multilib versions for...
You are not allowed to post comments on this tracker with your current authentication level.
bug #35407: Missing multilib versions for tiny-stack targets
Submitter: | Georg-Johann Lay <gjlayde> | ||
Submitted: | Mon 30 Jan 2012 07:19:29 PM UTC | ||
Category: | Feature Request | Severity: | 3 - Normal |
Priority: | 9 - Immediate | Item Group: | Build system |
Status: | In Progress | Percent Complete: | 50% |
Assigned to: | dmix | Open/Closed: | Open |
Release: | 1.8.0 | Fixed Release: | None |
Wed 28 Mar 2012 09:21:09 PM UTC, comment #5: |
Georg-Johann Lay <gjlayde> |
Sat 24 Mar 2012 09:16:02 PM UTC, comment #4:
|
Georg-Johann Lay <gjlayde> |
Sun 18 Mar 2012 08:01:49 PM UTC, comment #3: Thanks for the changes.
|
Georg-Johann Lay <gjlayde> |
Sun 11 Mar 2012 12:37:27 PM UTC, comment #2: Avr-libc revision 2291 builds and installs tiny-stack
|
Dmitry Xmelkov <dmix>![]() ![]() |
Thu 09 Feb 2012 09:22:27 PM UTC, comment #1:
|
Georg-Johann Lay <gjlayde> |
Mon 30 Jan 2012 07:19:29 PM UTC, original submission:
avr-gcc-4.7 adds better support for targets with 8-bit stack pointer, see
|
Georg-Johann Lay <gjlayde> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
"Abusing -mtiny-stack as multilib option" is filed as
http://gcc.gnu.org/PR52737
and fixed now.
As -mtiny-stack cannot be used to select multilib and not influence multilib selection at the same time, a new option -msp8 has been added to avr-gcc. -msp8 is only used internally and deliberately undocumented.
-msp8 is set/removed automatically by -mmcu=. The only two values for -mmcu that don't trigger set/remove of -msp8 are avr25 and avr2 (resp. no mmcu at all) because these are the only two mmcu for which -msp8 is not determined uniquely.
The multilib layout and naming is the same as in 4.7.0.
However, notice the new output of
$ avr-gcc -print-multi-lib
and the last two lines thereof:
.;
avr25;@mmcu=avr25
avr3;@mmcu=avr3
avr31;@mmcu=avr31
avr35;@mmcu=avr35
avr4;@mmcu=avr4
avr5;@mmcu=avr5
avr51;@mmcu=avr51
avr6;@mmcu=avr6
avrxmega2;@mmcu=avrxmega2
avrxmega4;@mmcu=avrxmega4
avrxmega5;@mmcu=avrxmega5
avrxmega6;@mmcu=avrxmega6
avrxmega7;@mmcu=avrxmega7
tiny-stack;@msp8
avr25/tiny-stack;@mmcu=avr25@msp8
As always, the preferred way to build multlibs to work with gcc, is to depict its multilib layout from -print-multi-lib.
If you still have any questions, please don't hesitate to ask.