This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Anybody success building GCC-3.0 on Sun Sparc Solaris 2.6???
- To: gcc-help at gcc dot gnu dot org
- Subject: Anybody success building GCC-3.0 on Sun Sparc Solaris 2.6???
- From: Jorgo Bakker <jbakker at astro dot estec dot esa dot nl>
- Date: Mon, 09 Jul 2001 09:34:35 +0200
Hi,
Goal:
Working binaries from gcc-3 distribution, with GNU as/ld on Sun Sparc
Solaris 2.6
* Using source for gcc-3.0, as well as binutils-2.11.2
(latter needed, because mangled nested template names can be too long
for native tools)
Builds:
{note: working in clean bash environment}
* tried building with Sun CC and Sun as/ld
* tried building with gcc-2.95 (using Sun as/ld)
* tried building with gcc-2.95 (using binutils as/ld)
Compilation/linking of test code
$ gcc -g foo.cc
$ c++ -g foo.cc
Test code:
int main()
{
return 123;
}
Running the ./a.out gives:
1) with gcc are OK
2) with c++ varying from (all SEG faults by the way):
* failing global construction
* failing global destruction (e.g. __do_global_dtors_aux)
* failing to find symbols
All failures are related to libstdc++.
Anybody?