This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-20000214 no compiling
- To: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Subject: Re: egcs-20000214 no compiling
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 10 Mar 2000 13:29:34 -0300
- Cc: James Black <black at eng dot usf dot edu>, gcc at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- References: <Pine.GSO.4.21.0003101533490.25456-100000@nunki.dbai.tuwien.ac.at>
On Mar 10, 2000, Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> wrote:
> On 22 Feb 2000, Alexandre Oliva wrote:
>> Yup, known bug. g++ -fPIC/-shared and Solaris as/ld are mutually
>> exclusive :-(
> I didn't find this in install/specific.html, would you mind submitting
> a patch for our documentation there?
How about this: ?
Index: install/specific.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/install/specific.html,v
retrieving revision 1.59
diff -u -r1.59 specific.html
--- install/specific.html 2000/01/07 17:39:27 1.59
+++ install/specific.html 2000/03/10 16:28:33
@@ -505,8 +505,14 @@
<hr>
<h3><a name="sparc-sun-solaris*">sparc-sun-solaris*</a></h3>
-<p>binutils 2.9.1 has known bugs on this platform. We recommend to use the
-vendor tools (Sun as, Sun ld) until these have been fixed.</p>
+<p>binutils 2.9.1 has known bugs on this platform. We recommend to use
+the vendor tools (Sun as, Sun ld) until these have been fixed.
+Unfortunately, C++ shared libraries, including libstdc++, won't work
+properly if assembled with Sun as: the linker will complain about
+relocations in read-only sections, in the definition of virtual
+tables. Some possible work-arounds: use some development release of
+binutils, wait for the next stable binutils release or refrain from
+creating C++ shared libraries.</p>
<hr>
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Enjoy Guaranį
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me