public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/46667] New: Target arm-unknown-eabi build results in "causes a section type conflict" error in libstdc++
@ 2010-11-26  1:16 John.Tytgat at aaug dot net
  2010-11-26  1:29 ` [Bug regression/46667] " zsojka at seznam dot cz
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: John.Tytgat at aaug dot net @ 2010-11-26  1:16 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Target arm-unknown-eabi build results in "causes a
                    section type conflict" error in libstdc++
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: regression
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: John.Tytgat@aaug.net


Configured gcc 4.6.0 trunk (r167154) as:

  $ /home/joty/projects/gccsdk/gccsdk_svn7/gcc4/srcdir/gcc/configure
--target=arm-unknown-eabi --prefix=/home/joty/projects/gccsdk/riscos7/cross
--with-gmp=/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/installed-libs-for-cross-gcc
--with-mpfr=/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/installed-libs-for-cross-gcc
--with-mpc=/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/installed-libs-for-cross-gcc
--with-system-zlib
--with-ppl=/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/installed-libs-for-cross-gcc
--with-host-libstdcxx=-Wl,-lstdc++
--with-cloog=/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/installed-libs-for-cross-gcc
--disable-threads --disable-multilib --disable-shared --with-newlib 
--enable-interwork --disable-nls --enable-checking=release
--enable-languages=c,c++

With:

- newlib from cvs TOT
- binutils 2.20.1
- GMP 5.0.1
- MPFR 3.0.0
- MPC 0.8.2
- PPL 0.10.2
- CLOOG 0.15.9

Building breaks in libstdc++ with "causes a section type conflict" error.  This
is the start of the (long) error tail:

--8<--
libtool: compile: 
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/./gcc/xgcc
-shared-libgcc
-B/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/./gcc
-nostdinc++
-L/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libstdc++-v3/src
-L/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libstdc++-v3/src/.libs
-nostdinc
-B/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/newlib/
-isystem
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/newlib/targ-include
-isystem
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/srcdir/gcc/newlib/libc/include
-B/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libgloss/arm
-L/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libgloss/libnosys
-L/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/srcdir/gcc/libgloss/arm
-B/home/joty/projects/gccsdk/riscos7/cross/arm-unknown-eabi/bin/
-B/home/joty/projects/gccsdk/riscos7/cross/arm-unknown-eabi/lib/ -isystem
/home/joty/projects/gccsdk/riscos7/cross/arm-unknown-eabi/include -isystem
/home/joty/projects/gccsdk/riscos7/cross/arm-unknown-eabi/sys-include
-I/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libstdc++-v3/include/arm-unknown-eabi
-I/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libstdc++-v3/include
-I/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/srcdir/gcc/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2
-std=gnu++0x -c
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/srcdir/gcc/libstdc++-v3/src/string-inst.cc
-o string-inst.o
In file included from
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libstdc++-v3/include/string:53:0,
                 from
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/srcdir/gcc/libstdc++-v3/src/string-inst.cc:33:
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libstdc++-v3/include/bits/basic_string.h:
In member function 'void std::basic_string<_CharT, _Traits,
_Alloc>::_Rep::_M_dispose(const _Alloc&) [with _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]':
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libstdc++-v3/include/bits/basic_string.h:230:2:
error: void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_dispose(const
_Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc =
std::allocator<char>] causes a section type conflict
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libstdc++-v3/include/bits/basic_string.h:
In destructor 'std::basic_string<_CharT, _Traits, _Alloc>::~basic_string()
[with _CharT = char, _Traits = std::char_traits<char>, _Alloc =
std::allocator<char>]':
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libstdc++-v3/include/bits/basic_string.h:531:7:
error: std::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with _CharT
= char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] causes
a section type conflict
In file included from
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libstdc++-v3/include/string:57:0,
                 from
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/srcdir/gcc/libstdc++-v3/src/string-inst.cc:33:
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libstdc++-v3/include/bits/basic_string.tcc:
In member function 'void std::basic_string<_CharT, _Traits,
_Alloc>::_M_mutate(std::basic_string<_CharT, _Traits, _Alloc>::size_type,
std::basic_string<_CharT, _Traits, _Alloc>::size_type,
std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char,
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>,
std::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]':
/home/joty/projects/gccsdk/gccsdk_svn7/gcc4/builddir/cross-gcc/arm-unknown-eabi/libstdc++-v3/include/bits/basic_string.tcc:468:5:
error: void std::basic_string<_CharT, _Traits,
_Alloc>::_M_mutate(std::basic_string<_CharT, _Traits, _Alloc>::size_type,
std::basic_string<_CharT, _Traits, _Alloc>::size_type,
std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char,
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>,
std::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int] causes a
section type conflict
...
--8<--

This is a regression compared to a couple of weeks back.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-12-14 13:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-26  1:16 [Bug regression/46667] New: Target arm-unknown-eabi build results in "causes a section type conflict" error in libstdc++ John.Tytgat at aaug dot net
2010-11-26  1:29 ` [Bug regression/46667] " zsojka at seznam dot cz
2010-11-26 12:20 ` ramana at gcc dot gnu.org
2010-11-26 16:02 ` [Bug middle-end/46667] [4.6 Regression] -freorder-blocks-and-partition -g failed hjl.tools at gmail dot com
2010-11-26 17:20 ` [Bug middle-end/46667] [4.6 Regression] -freorder-blocks-and-partition -g failed and libstdc++ builds for arm-eabi are broken ramana at gcc dot gnu.org
2010-11-29 23:48 ` John.Tytgat at aaug dot net
2010-12-01 20:36 ` joel at gcc dot gnu.org
2010-12-02 17:53 ` ramana at gcc dot gnu.org
2010-12-02 17:54 ` ramana at gcc dot gnu.org
2010-12-03  3:38 ` jiez at gcc dot gnu.org
2010-12-03  4:23 ` jiez at gcc dot gnu.org
2010-12-14 13:07 ` hubicka at gcc dot gnu.org
2010-12-14 13:09 ` hubicka at gcc dot gnu.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).