[LLVMbugs] [Bug 9638] New: llvm-gcc fails to build with gcc-4.3.2 on x86_64 linux
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Apr 6 19:07:24 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9638
Summary: llvm-gcc fails to build with gcc-4.3.2 on x86_64 linux
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: etherzhhb at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=6401)
--> (http://llvm.org/bugs/attachment.cgi?id=6401)
The header 'stl_iterator_base_types.h'
When i building llvm-gcc with gcc-4.3.2 on x86_64 linux, i got:
make[4]: Entering directory
`/home/ether/build/llvm-gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src'
...
/home/ether/build/llvm-gcc/./gcc/xgcc -shared-libgcc
-B/home/ether/build/llvm-gcc/./gcc -nostdinc++
-L/home/ether/build/llvm-gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/home/ether/build/llvm-gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/ether/local/llvm-gcc//x86_64-unknown-linux-gnu/bin/
-B/home/ether/local/llvm-gcc//x86_64-unknown-linux-gnu/lib/ -isystem
/home/ether/local/llvm-gcc//x86_64-unknown-linux-gnu/include -isystem
/home/ether/local/llvm-gcc//x86_64-unknown-linux-gnu/sys-include
-I/home/ether/build/llvm-gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/ether/build/llvm-gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/home/ether/sources/llvm-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
/home/ether/sources/llvm-gcc/libstdc++-v3/src/string-inst.cc -fPIC -DPIC -o
.libs/string-inst.o
Function return type does not match operand type of return inst!
ret void, !dbg !940
{}Broken module found, compilation aborted!
/home/ether/build/llvm-gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/stl_iterator_base_types.h:
In function 'typename std::iterator_traits<_Iterator>::iterator_category
std::__iterator_category(const _Iter&) [with _Iter =
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >]':
/home/ether/build/llvm-gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/stl_iterator_base_types.h:164:
internal compiler error: Aborted
Please submit a full bug report,
I am configure llvm-gcc with:
$HOME/sources/llvm-gcc/configure --prefix=$HOME/local/llvm-gcc/
--enable-languages=c,c++ --enable-checking --enable-llvm=$HOME/build/llvm-ts
--disable-bootstrap --disable-multilib
The result of gcc -v is:
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --enable-mpfr --enable-cld --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)
And uname -a get:
Linux gcc16 2.6.26-2-amd64 #1 SMP Thu Nov 25 04:30:55 UTC 2010 x86_64 GNU/Linux
The revision of llvm-gcc is 129047,
The revision of llvm is 129002
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list