This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: avr-g++ and exception handling
- From: Eric Weddington <eweddington at cso dot atmel dot com>
- To: =?unknown?q?=27K=F6vesdi_Gy=F6rgy=27?= <kgy at deverto dot hu>, binutils at sourceware dot org
- Date: Thu, 27 Sep 2007 10:19:04 -0600
- Subject: RE: avr-g++ and exception handling
- References: <200709261720.23762.kgy@deverto.hu>
> -----Original Message-----
> From: Kövesdi György [mailto:kgy@deverto.hu]
> Sent: Wednesday, September 26, 2007 9:20 AM
> To: binutils@sourceware.org
> Subject: avr-g++ and exception handling
>
> Hi,
>
> When I try to use exceptions with avr-g++ (stupid idea?), I
> got the following
> message:
>
> section .bss [00001da0 -> 00002266] overlaps section
> .gcc_except_table
> [00001da0 -> 00001db4]
>
> According to gcc experts, it is a linker script problem. In
> the linker script
> there is no such section mentioned.
>
> The -lsupc++ should also be linked, which is not found on my
> machine. Which
> packet does contain it? (for avr platform)
>
libsupc++ is not yet built or enabled for the AVR platform, so this is most
likely your problem.
There are not (yet) very many C++ users on the AVR platform. The compiler
can be built, and most avr-gc++ users use very basic capabilities.
Eric Weddington
Product Manager
Atmel