[Bug target/44617] Serial Output on the atmega1280 does not work

2010-08-22 Thread westfw at yahoo dot com
--- Comment #11 from westfw at yahoo dot com 2010-08-22 07:18 --- Created an attachment (id=21541) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21541action=view) Suggested patch Tested with the example. Not thoroughly tested, though. --

[Bug target/44617] Serial Output on the atmega1280 does not work

2010-08-22 Thread westfw at yahoo dot com
--- Comment #12 from westfw at yahoo dot com 2010-08-22 07:21 --- See http://www.avrfreaks.net/index.php?name=PNphpBB2file=viewtopicp=736616 This is (IMO) a bug in the __do_global_ctors in gcc/config/avr/libgcc.S When support for 24-bit flash pointers was added in edit

[Bug target/44617] Serial Output on the atmega1280 does not work

2010-08-22 Thread eric dot weddington at atmel dot com
--- Comment #13 from eric dot weddington at atmel dot com 2010-08-22 13:26 --- (In reply to comment #12) See http://www.avrfreaks.net/index.php?name=PNphpBB2file=viewtopicp=736616 This is (IMO) a bug in the __do_global_ctors in gcc/config/avr/libgcc.S When support for 24-bit flash

[Bug target/44617] Serial Output on the atmega1280 does not work

2010-08-19 Thread ah dot linder at arcor dot de
--- Comment #10 from ah dot linder at arcor dot de 2010-08-19 22:23 --- Created an attachment (id=21525) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21525action=view) preprocessor output for augi.cpp I have the same problem on Fedora 13, avr-gcc-c++-4.5.1-1.fc13.x86_64

[Bug target/44617] Serial Output on the atmega1280 does not work

2010-07-16 Thread Dr dot diesel at gmail dot com
--- Comment #9 from Dr dot diesel at gmail dot com 2010-07-16 19:38 --- I don't get any different output than Scott, no .ii file, but I have exactly the same problem on Fedora 13 64bit. avrdude-5.10-2.fc13.x86_64 avr-gcc-c++-4.5.0-2.fc13.x86_64 avra-1.2.3-4.fc13.x86_64

[Bug target/44617] Serial Output on the atmega1280 does not work

2010-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-06-21 18:10 --- Can you also try on a FSF released GCC rather than one that has been modified by the Fedora project? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/44617] Serial Output on the atmega1280 does not work

2010-06-21 Thread scott at perturb dot org
--- Comment #4 from scott at perturb dot org 2010-06-21 18:13 --- (In reply to comment #3) Can you also try on a FSF released GCC rather than one that has been modified by the Fedora project? That might be harder... I do see from the two forum posts that the bug persists in GCC from

[Bug target/44617] Serial Output on the atmega1280 does not work

2010-06-21 Thread scott at perturb dot org
--- Comment #5 from scott at perturb dot org 2010-06-21 18:38 --- * the complete command line that triggers the bug; avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1280 -DF_CPU=1600L -DARDUINO=18

[Bug target/44617] Serial Output on the atmega1280 does not work

2010-06-21 Thread scott at perturb dot org
--- Comment #6 from scott at perturb dot org 2010-06-21 18:39 --- For the record, the code I'm attempting to compile is extremely simple. Might explain why it compiles so cleanly: --- void setup() {

[Bug target/44617] Serial Output on the atmega1280 does not work

2010-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2010-06-21 18:40 --- *.i* It should have produced a file that ended in .ii . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44617

[Bug target/44617] Serial Output on the atmega1280 does not work

2010-06-21 Thread scott at perturb dot org
--- Comment #8 from scott at perturb dot org 2010-06-21 19:03 --- Here is the full command the arduino ide generates when it compiles code. I just took the last command for sketch_jun21a.cpp.o (my code) and added the -v and -save-temps. avr-gcc -c -g -Os -w -ffunction-sections