This is the mail archive of the gcc@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]

Built gcc 4.0.0, without C++ support


I configured/made/installed gcc 4.0.0 partially on a Solaris host.  I
could not build with C++ support, because ld (GNU ld, that is) choked
(dumped core, signal 11, segmentation violation) on abi_check (see
below).
When using the Sun-supplied as and ld, ld chokes on alignment errors
during bootstrap.

Note that builds on Solaris 10 on AMD Opteron (on a Sun Fire V20z) failed
miserably.  With the Sun-supplied as and ld, bootstraps chokes on syntax
errors in assembly files; with GNU as and ld, bootstrap chockes on
invalid instructions (64-bit AMD instructions not handled by as?).

Build status info:
-----------------

$ /phil/sw/src/gcc-4.0.0/config.guess
sparc-sun-solaris2.7
$ gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.7
Configured with: /phil/sw/src/gcc-4.0.0/configure --prefix=/phil/sw/sunos/sparc/pkg/gcc-4.0.0 --disable-libgcj --enable-languages=c,c++,objc --with-gnu-as --with-as=/phil/sw/sunos/sparc/bin/as --with-gnu-ld --with-ld=/phil/sw/sunos/sparc/bin/ld : (reconfigured) /phil/sw/src/gcc-4.0.0/configure --prefix=/phil/sw/sunos/sparc/pkg/gcc-4.0.0 --disable-libgcj --enable-languages=c,objc --with-gnu-as --with-as=/phil/sw/sunos/sparc/bin/as --with-gnu-ld --with-ld=/phil/sw/sunos/sparc/bin/ld
Thread model: posix
gcc version 4.0.0


Coredump on abi_check ld:
------------------------

$ make [...] bootstrap
[...]
creating libstdc++.la
(cd .libs && rm -f libstdc++.la && ln -s ../libstdc++.la libstdc++.la)
Making all in po
Making all in testsuite
mkdir .libs
/phil/sw/sunos/sparc/obj/gcc-4.0.0/gcc/g++ -shared-libgcc -B/phil/sw/sunos/sparc/obj/gcc-4.0.0/gcc/ -nostdinc++ -B/phil/sw/sunos/sparc/pkg/gcc-4.0.0/sparc-sun-solaris2.7/bin/ -B/phil/sw/sunos/sparc/pkg/gcc-4.0.0/sparc-sun-solaris2.7/lib/ -isystem /phil/sw/sunos/sparc/pkg/gcc-4.0.0/sparc-sun-solaris2.7/include -isystem /phil/sw/sunos/sparc/pkg/gcc-4.0.0/sparc-sun-solaris2.7/sys-include -g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -DLOCALEDIR=/phil/sw/sunos/sparc/obj/gcc-4.0.0/sparc-sun-solaris2.7/libstdc++-v3/po/share/locale -g -O2 -o abi_check abi_check.o  -L/phil/sw/sunos/sparc/obj/gcc-4.0.0/sparc-sun-solaris2.7/libstdc++-v3/src -L/phil/sw/sunos/sparc/obj/gcc-4.0.0/sparc-sun-solaris2.7/libstdc++-v3/src/.libs -lv3test -L/phil/sw/sunos/sparc/obj/gcc-4.0.0/sparc-sun-solaris2.7/libstdc++-v3/testsuite -Wl,--rpath -Wl,/phil/sw/sunos/sparc/obj/gcc-4.0.0/gcc -Wl,--rpath -Wl,/phil/sw/sunos/sparc/obj/gcc-4.0.0/sparc-sun-solaris2.7/libstdc++-v3/src/.libs
collect2: ld terminated with signal 11 [Segmentation Fault], core dumped
make[4]: *** [abi_check] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libstdc++-v3] Error 2
make: *** [bootstrap] Error 2


Regards, Jeroen.


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