I just tried to compile r167352 from the GCC svn and encountered the
very same issue. Therefore I applied the patch from #46040. After
restricting the build to the C language only it finishes but I see the
same testsuite failures as Matthias described in comment #10.

In case C++ is enabled the build of the libstdc++ fails with:
<snip>
 make[4]: Entering directory 
`/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src'
/bin/bash ../libtool --tag CXX --mode=compile 
/home/kwerner/data/gcc-build/./gcc/xgcc -shared-libgcc 
-B/home/kwerner/data/gcc-build/./gcc -nostdinc++ 
-L/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src 
-L/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src/.libs
 -B/home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/bin/ 
-B/home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/lib/ -isystem 
/home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/include -isystem 
/home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/sys-include 
-I/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/armv7l-unknown-linux-gnueabi
 
-I/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include
 -I/home/kwerner/data/gcc/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall 
-Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once 
-ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -c -o 
pool_allocator.lo ../../../../gcc/libstdc++-v3/src/pool_allocator.cc
libtool: compile: /home/kwerner/data/gcc-build/./gcc/xgcc -shared-libgcc 
-B/home/kwerner/data/gcc-build/./gcc -nostdinc++ 
-L/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src 
-L/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/src/.libs
 -B/home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/bin/ 
-B/home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/lib/ -isystem 
/home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/include -isystem 
/home/kwerner/data/gcc-install/armv7l-unknown-linux-gnueabi/sys-include 
-I/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/armv7l-unknown-linux-gnueabi
 
-I/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include
 -I/home/kwerner/data/gcc/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall 
-Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once 
-ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -c 
../../../../gcc/libstdc++-v3/src/pool_allocator.cc -fPIC -DPIC -o 
.libs/pool_allocator.o
In file included from 
/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/armv7l-unknown-linux-gnueabi/bits/gthr.h:162:0,
from 
/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/ext/atomicity.h:34,
from 
/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/ext/pool_allocator.h:50,
from ../../../../gcc/libstdc++-v3/src/pool_allocator.cc:31:
/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/ext/concurrence.h:
 In destructor '__gnu_cxx::__scoped_lock::~__scoped_lock()':
/home/kwerner/data/gcc-build/armv7l-unknown-linux-gnueabi/libstdc++-v3/include/ext/concurrence.h:313:5:
 error: __gnu_cxx::__scoped_lock::~__scoped_lock() causes a section type 
conflict
</snip>

A comment from Ramana Radhakrishnan seems to confirm this:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46667#c4

** Bug watch added: GCC Bugzilla #46667
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46667

-- 
armel build failures 20101012
https://bugs.launchpad.net/bugs/659713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to