This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: binutils 2.10.1 on solaris with 2.95.2.
- To: <gcc at gcc dot gnu dot org>
- Subject: Re: binutils 2.10.1 on solaris with 2.95.2.
- From: "Bernard Normier" <bnormier at iona dot com>
- Date: Fri, 15 Dec 2000 00:00:04 -0500
- References: <001701c06652$78f5a5d0$2e02400a@bjen>
On Solaris 2.6 and 7, we're using gcc 2.95.2 with binutils 2.10[.0]
(ld and as) because binutils's ld eliminates duplicate template
instantiations -- unlike Sun ld. This makes a huge difference for
the size of our shared libraries.
2.10.0 does not work properly (at least for us) on Solaris 8; we should
upgrade to the latest release.
Cheers,
Bernard
> Is there any consensus on the use of binutils 2.10.1 with gcc-2.95.2 on
> solaris 2.6 - 8? We are trying to move from egcs-1.1.2 to 2.95.2 and get
> the most reliable configuration for both C and C++.
>
> What I've observed during this effort:
>
> 1) Using as from binutils 2.9.1 generates binaries which dump core on
switch
> statements containing more than ~4 case statements.
>
> 2) Using sun's as (on 2.6) either has problems with name mangling
> (especially with maps) or linker errors when --squangle is given (on
> string_char_traits).
>
> 3) All this seems to work with binutils 2.10.1, but I have not seen
> reference to it in digging through dejanews, or in my backlog from the
> mailing list.
>
> So, are there known porblems with 2.10.1? Or, more importantly, given
that
> 2.9.1 is not recommended for use with 2.95.2 preferring the native tools,
> which would be preferred between the native tools and 2.10.1?
>
> --jeff
>
>
>