Anybody success building GCC-3.0 on Sun Sparc Solaris 2.6???

Jorgo Bakker jbakker@astro.estec.esa.nl
Mon Jul 9 00:34:00 GMT 2001


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?






More information about the Gcc-help mailing list