On 12/01/2010 02:16 PM, John Tytgat wrote:
In message<4cf69533.10...@oarcorp.com>
           Joel Sherrill<joel.sherr...@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.

Thanks.  I am now on the cc list for this one.
John.


--
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherr...@oarcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985


Reply via email to