[csw-maintainers] GCC 4.6 progress

Maciej (Matchek) Bliziński maciej at opencsw.org
Thu Nov 10 19:04:34 CET 2011


I built the intermediate gcc compilers on current9{s,x}, and I'm now
running the target builds.

I discovered that we never had the 64-bit Ada targets.  This means
that we are not and will not be able to compile Ada for amd64.  If we
want to have an amd64 Ada, we need to crosscompile.  I'm not going to
embark on that for the time being.

There's one more problem, though.  I can't build the intermediate Ada
compiler on Solaris 10 amd64, because it tries to build the 64-bit
target and fails:

/opt/csw/gcc4/bin/gcc -c -g -fkeep-inline-functions  -gnatpg -gnata
-gnatwns -nostdinc -I- -I. -Iada
-I/home/maciej/src/opencsw/pkg/gcc4/branches/ada/work/solaris10-i386/build-isa-pentium_pro/gcc-4.6.1/gcc/ada
-I/home/maciej/src/opencsw/pkg/gcc4/branches/ada/work/solaris10-i386/build-isa-pentium_pro/gcc-4.6.1/gcc/ada/gcc-interface
/home/maciej/src/opencsw/pkg/gcc4/branches/ada/work/solaris10-i386/build-isa-pentium_pro/gcc-4.6.1/gcc/ada/fmap.adb
-o ada/fmap.o
gnatmake: "xsnamest.ali" incompatible ALI file, please recompile
gnatmake: "xsnamest.adb" compilation error
/bin/bash: ./xsnamest: No such file or directory
gmake[3]: *** [ada/stamp-snames] Error 127
gmake[3]: *** Waiting for unfinished jobs....
gnatmake: "xnmake.ali" incompatible ALI file, please recompile
gnatmake: "xnmake.adb" compilation error
/bin/bash: ./xnmake: No such file or directory
gmake[3]: *** [ada/nmake.adb] Error 127
gmake[3]: Leaving directory
`/home/maciej/src/opencsw/pkg/gcc4/branches/ada/work/solaris10-i386/build-isa-pentium_pro/objdir/gcc'

Here are two choices I see and problems with them:

- Build GCC on Solaris 9 only and use it for Solaris 10
  - Problem: It will not have the 64-bit targets (unacceptable)
- Build GCC on Solaris 9 and 10 separately
  - Problem: The Solaris 10 version will not have even the 32-bit Ada support

If I could tell it to build Ada on Solaris 10, but skip the amd64
targets, it would solve the problem the best way, but I don't
currently know how to do that.

Thoughts?

Maciej


More information about the maintainers mailing list