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

Re: egcs-20000214 no compiling


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

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