Bug 18830 - bootstrap of a biarch compiler fails in libstdc++.
Summary: bootstrap of a biarch compiler fails in libstdc++.
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: build, ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2004-12-04 16:49 UTC by Debian GCC Maintainers
Modified: 2005-07-23 22:49 UTC (History)
3 users (show)

See Also:
Host: i486-linux
Target: i486-linux
Build: i486-linux
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed source (101.45 KB, application/x-gzip)
2004-12-04 16:50 UTC, Debian GCC Maintainers
Details
patch to build biarch compiler for ix86/x86_64, defaulting to ix86 (3.87 KB, patch)
2004-12-04 16:51 UTC, Debian GCC Maintainers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Debian GCC Maintainers 2004-12-04 16:49:41 UTC
2004-12-04 HEAD fails building the 64bit libstdc++ in a non-standard setup
(biarch compiler defaulting to 32bit, patch attached to the bug report).

/home/packages/gcc/4.0/gcc-4.0-4.0ds1/build/gcc/xgcc -shared-libgcc -B/home/pack
ages/gcc/4.0/gcc-4.0-4.0ds1/build/gcc/ -nostdinc++ -L/home/packages/gcc/4.0/gcc-
4.0-4.0ds1/build/i486-linux/64/libstdc++-v3/src -L/home/packages/gcc/4.0/gcc-4.0
-4.0ds1/build/i486-linux/64/libstdc++-v3/src/.libs -B/usr/i486-linux/bin/ -B/usr
/i486-linux/lib/ -isystem /usr/i486-linux/include -isystem /usr/i486-linux/sys-i
nclude -m64 -I/home/packages/gcc/4.0/gcc-4.0-4.0ds1/build/i486-linux/64/libstdc+
+-v3/include/x86_64-linux -I/home/packages/gcc/4.0/gcc-4.0-4.0ds1/build/i486-lin
ux/64/libstdc++-v3/include -I/home/packages/gcc/4.0/gcc-4.0-4.0ds1/src/libstdc++
-v3/libsupc++ -O2 -g -O2 -g -O2 -D_GNU_SOURCE -m64 -fno-implicit-templates -Wall
 -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction
-sections -fdata-sections -c ../../../../../src/libstdc++-v3/src/complex_io.cc  
-fPIC -DPIC -o .libs/complex_io.o
/home/packages/gcc/4.0/gcc-4.0-4.0ds1/build/i486-linux/64/libstdc++-v3/include/c
omplex: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::b
asic_istream<_CharT, _Traits>&, std::complex<_Tp>&) [with _Tp = long double, _Ch
arT = char, _Traits = std::char_traits<char>]':
/home/packages/gcc/4.0/gcc-4.0-4.0ds1/build/i486-linux/64/libstdc++-v3/include/c
omplex:512: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Comment 1 Debian GCC Maintainers 2004-12-04 16:50:15 UTC
Created attachment 7671 [details]
preprocessed source
Comment 2 Debian GCC Maintainers 2004-12-04 16:51:22 UTC
Created attachment 7672 [details]
patch to build biarch compiler for ix86/x86_64, defaulting to ix86
Comment 3 Andrew Pinski 2005-06-19 14:41:21 UTC
Does this work in the real release of 4.0.0?
Comment 4 Debian GCC Maintainers 2005-06-21 14:10:01 UTC
yes, this one is fixed in 4.0 CVS