This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/10389: GCC 3.2.2 cross-compiler - Can't compile istream.tcc during build


>Number:         10389
>Category:       c++
>Synopsis:       GCC 3.2.2 cross-compiler - Can't compile istream.tcc during build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 12 14:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Iran Rocha
>Release:        3.2.2
>Organization:
>Environment:
Build is happening at:
> uname -a 
SunOS myhost 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-60

Tools that I am using to build the software are:

GCC 3.2.2 native compiler 
Binutils 2.13.2.1 native 
Binutils 2.13.2.1 cross-as/ld 

All software above are configured with the same prefix so all binaries are in the same 'bin' directory.
>Description:
This is what I'm trying to build:

> <my build dir>/gcc/xgcc -v
Using built-in specs.
Configured with: ../../gcc-3.2.2/configure --target=ia64-pc-linux-gnu --prefix=/usr/misc/GNU/gcc_3.2.2/ia64-pc-linux-gnu --with-headers=../../../cross-comp/include --with-libs=../../../cross-comp/lib
Thread model: posix
gcc version 3.2.2

The build fails however as follows:

<my build dir>/gcc/xgcc -shared-libgcc -B<my build dir>/gcc/ -nostdinc++ -L<my build dir>/ia64-pc-linux-gnu/libstdc++-v3/src -L<my build dir>/ia64-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/misc/GNU/gcc_3.2.2/ia64-pc-linux-gnu/ia64-pc-linux-gnu/bin/ -B/usr/misc/GNU/gcc_3.2.2/ia64-pc-linux-gnu/ia64-pc-linux-gnu/lib/ -isystem /usr/misc/GNU/gcc_3.2.2/ia64-pc-linux-gnu/ia64-pc-linux-gnu/include -nostdinc++ -I<my build dir>/ia64-pc-linux-gnu/libstdc++-v3/include/ia64-pc-linux-gnu -I<my build dir>/ia64-pc-linux-gnu/libstdc++-v3/include -I../../../../../gcc-3.2.2/libstdc++-v3/libsupc++ -I../../../../../gcc-3.2.2/libstdc++-v3/libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c ../../../../../gcc-3.2.2/libstdc++-v3/src/istream-inst.cc  -fPIC -DPIC -o .libs/istream-inst.o
<my build dir>/ia64-pc-linux-gnu/libstdc++-v3/include/bits/istream.tcc: In
   function `std::basic_istream<_CharT, _Traits>& 
   std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT*) [with _CharT 
   = char, _Traits = std::char_traits<char>]':
../../../../../gcc-3.2.2/libstdc++-v3/src/istream-inst.cc:46:   instantiated from here
<my build dir>/ia64-pc-linux-gnu/libstdc++-v3/include/bits/istream.tcc:1065: Internal
   compiler error in output_206, at insn-output.c:289
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [istream-inst.lo] Error 1
make[3]: Leaving directory `<my build dir>/ia64-pc-linux-gnu/libstdc++-v3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `<my build dir>/ia64-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `<my build dir>/ia64-pc-linux-gnu/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2

>How-To-Repeat:
Just try to build the cross-compiler
>Fix:
I do not know of a way to fix it
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]