public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29141]  New: static constructors beyond 64k fail
@ 2006-09-19 13:26 joerg dot diederich at graffiti dot net
  2006-09-19 13:29 ` [Bug c++/29141] " joerg dot diederich at graffiti dot net
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: joerg dot diederich at graffiti dot net @ 2006-09-19 13:26 UTC (permalink / raw)
  To: gcc-bugs

Contruction of global static objects fails while using flash adresses over
0xFFFF, e.g. for bootloader purposes. avr mcu hangs completly before main or
even the called constructor itself.

minimal gcc call: 
avr-c++ -c -mmcu=at90can128 -I. -I. -g -O0 -Wall -Wextra -Wshadow
-Wpointer-arith -Wcast-align -Wsign-compare -Waggregate-return -Wunused
 -fno-exceptions  a_test.cpp -o a_test.o

linked with the following options
-Wl,-Map=a_test.map,--cref,--section-start=.text=0x1F000

short example code in attachment.


-- 
           Summary: static constructors beyond 64k fail
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: joerg dot diederich at graffiti dot net
  GCC host triplet: Linux 2.6.16-1.2111_FC4 i686 athlon i386 GNU/Linux
GCC target triplet: avr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29141


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <bug-29141-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2010-11-29 21:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-19 13:26 [Bug c++/29141] New: static constructors beyond 64k fail joerg dot diederich at graffiti dot net
2006-09-19 13:29 ` [Bug c++/29141] " joerg dot diederich at graffiti dot net
2006-09-19 13:37 ` joerg dot diederich at graffiti dot net
2007-02-02 22:19 ` [Bug target/29141] " pete at vavaroutsos dot com
2008-10-30 16:05 ` eric dot weddington at atmel dot com
2009-01-12 20:42 ` aesok at gcc dot gnu dot org
2009-01-28 17:53 ` aesok at gcc dot gnu dot org
     [not found] <bug-29141-4@http.gcc.gnu.org/bugzilla/>
2010-11-26 21:01 ` mschulze at ivs dot cs.ovgu.de
2010-11-29 22:21 ` gcc@d-silva.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).