[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug target/21277] Runtime error with C++ shared library and --disable-shared
From:       "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2005-04-30 20:46:32
Message-ID: 20050430204632.12264.qmail () sourceware ! org
[Download RAW message or body]


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-04-30 20:46 -------
Andrew is right, this error usually means that a shared library contains code
that has not been compiled with -fPIC.  The Solaris 64-bit runtime linker
doesn't seem to be able to cope with this (unlike the 32-bit one).

Does it change anything if you build libq.so with -mimpure-text?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
           Severity|critical                    |normal
          Component|c++                         |target
  GCC build triplet|                            |sparc64-sun-solaris2.*
   GCC host triplet|                            |sparc64-sun-solaris2.*
 GCC target triplet|                            |sparc64-sun-solaris2.*
           Priority|P3                          |P2
            Summary|gcc 4.0 fails to statically |Runtime error with C++
                   |link on Solaris SPARC 64 bit|shared library and --
                   |                            |disable-shared


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21277
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic