Login | Register
Login | Register

My pages Projects SunSource.net openCollabNet
OpenSPARC.net >  Cool Tools >  GCC for Sun® Systems 4.2.0 >  Release Notes

Cool Tools - GCC for Sun® Systems 4.2.0 - Release Notes

Content

1. Documentation Information

In addition to these release notes, the following documentation is available for GCC for SPARC Systems:

Resource Description
GCC for SPARC Systems Porting Guide Information about porting from earlier versions of GCC to GCC for SPARC Systems
manual pages man pages for GCC for SPARC Systems are installed under /opt/gcc/man.
--help output A list of command-line options provided when gcc, g++, or c++ is invoked with the --help option
GCC online documentation Online documentation of GCC 4.2.0 on which GCC for SPARC Systems is based

General information about the GCC for SPARC Systems project can be found on the following web page: GCC for SPARC Systems Project Home Page

2a. System Requirements - hosted on SPARC/Solaris systems

OS: SolarisTM 9 or SolarisTM 10 Operating System
CPU: UltraSPARC® II processor or above
Disk space:  130Mbyte
Memory: 512M minimum, 1G recommended
Swap: 1G minimum, 2G recommended

2.1 Required OS Patches For proper operation of the GCC for SPARC Systems compiler, the following Solaris patches should be installed on any system on which the GCC for SPARC Systems compilers are to be run:

Solaris Version Component Patch ID
9 Linker 112963-22
9 libmtsk 117560-03
9 libm 111722-04
10 Linker 117461-04
10 libmtsk 120753-01
10U1 elfexec 121694-01

The appropriate libmtsk patch must be applied to any system on which automatically parallelized programs generated by GCC for SPARC Systems are to be run.

The elfexec patch must be applied on all Solaris 10 Update 1 systems on which binaries instrumented or optimized by BIT will be run.

Each of these patches may be downloaded from http://sunsolve.sun.com. Note that the last two digits of each patch ID is its version number. Patches with version numbers higher than the ones listed above are also acceptable.

If you use components of GNU binutils to process files compiled with -xbinopt=prepare by "GCC for SPARC Systems", you should use binutils version 2.15.96 or later.

2b. System Requirements - hosted on Intel and AMD Solaris systems

OS: SolarisTM 10 Operating System
CPU: Intel or AMD processor
Disk space:  130Mbyte
Memory: 512M minimum, 1G recommended
Swap: 1G minimum, 2G recommended

3. Installation

GCC for Sun Systems can be installed by downloading and installing Solaris packages. For details on where to obtain the packages and how to install them, please see the installation guide.

4. New Features

This release builds upon GCCFSS release 4.0.4 by improving the runtime performance and ability to debug g++ programs.

This release is easier to install than our 4.0.2 and 4.0.3 releases. This release can be installed by any user without having to be superuser. The release is contained in tar balls which can be extracted into any directory where the user has write permission.

OpenMP is a major new feature of GCCFSS 4.2.0. Programs compiled with GCCFSS -fopenmp should not be linked with programs compiled with GCC -fopenmp. GCCFSS OpenMP uses faster runtime support routines that cannot be mixed with the GCC OpenMP runtime support routines.

The profile feedback options have been disabled in the Intel and AMD Solaris hosted compiler. The next release will reenable these options. Please note the SPARC/SOLARIS compiler does have profile feedback support.

5. Differences in Command-Line Options from GCC 4.2.0

The man pages and the output of the --help option of the GCC for Sun Systems compilers list all of the accepted command-line options.

All compiler options accepted by GCC 4.2.0 are also accepted by GCC for Sun Systems. However, some of these options have no effect in GCC for Sun Systems. See the GCC for Sun Systems Porting Guide for more details.

GCC for Sun Systems also supports several options that are not supported by GCC 4.2.0. These include -parallel, -fast, and -xipo. See the GCC for Sun Systems Porting Guide for more details. Certain restrictions must be observed when using the new -xbinopt=prepare option. These are described in the document Using -xbinopt=prepare.

6. Differences in Command-Line Options from GCC for SPARC Systems release 4.0.4

A few minor flags and values for flags have been added.

7. Debugging Issues

GCC for Sun Systems generates dwarf2 debug information with -g compilation. Currently the generated debug information is incomplete in some respects. This section describes user observable issues when debugging GCC for Sun Systems generated binaries using the gdb debugger, resulting from incomplete debug information. Although the description focuses mainly on -O0 compilation, similar issues apply to compilation at other optimization levels.

Known issues with -O0 debugging of C/C++ programs can be found in the list of open bugs on www.sun.com (product: GCCFSS).

As of July 1st, 2008 all of the GCC for Sun Systems problems reported on the GCC For Sun Systems Forum and CoolTools Forum have been fixed in version 4.2.0.

The bugs.sun.com (product: GCCFSS) contains known bugs with GCC for Sun Systems. At this time it is not possible to submit bugs via bugs.sun.com. Bugs still need to be submitted via GCCFSS Forum

9. Support

GGC for Sun Systems uses a community support model. The GCCFSS Forum is also used for reporting bugs. The bugs.sun.com (product GCCFSS) can be used to see the status of GCCFSS bugs. If you want to receive update notifications and other announcements, sign up for the appropriate mailing list.

The January 2008 release of GCC for SPARC Systems is still available.