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

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


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?





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