concurrence.h compiler error on head
John Tytgat
John.Tytgat@aaug.net
Wed Dec 1 20:09:00 GMT 2010
In message <4CF69533.10504@oarcorp.com>
Joel Sherrill <joel.sherrill@oarcorp.com> wrote:
> Hi,
>
> Compiling C++ on the head targeting
> arm-rtems4.11, I get this error. It doesn't
> occur on m68k-rtems4.11. I don't know about
> the other targets yet.
>
> Any suggestions on what is causing this
> and how to resolve it?
>
> [...]
> In destructor '__gnu_cxx::__scoped_lock::~__scoped_lock()':
> /users/joel/test-gcc/b-gcc1-arm/arm-rtems4.11/libstdc++-v3/include/ext/concurrence.h:313:5:
> error: __gnu_cxx::__scoped_lock::~__scoped_lock() causes a section type
> conflict
> In file included from
> /users/joel/test-gcc/b-gcc1-arm/arm-rtems4.11/libstdc++-v3/include/ext/pool_allocator.h:51:0,
> from
> /users/joel/test-gcc/gcc-svn/libstdc++-v3/src/pool_allocator.cc:31:
> /users/joel/test-gcc/b-gcc1-arm/arm-rtems4.11/libstdc++-v3/include/ext/concurrence.h:313:5:
> error: __gnu_cxx::__scoped_lock::~__scoped_lock() causes a section type
> conflict
This is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46667 and caused
by Jan Hubicka's change r167085.
John.
--
John Tytgat, in his comfy chair at home
John.Tytgat@aaug.net
More information about the Gcc
mailing list