This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c++/16507] gcc_s not found when linking 64-bit C++


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-07-13 13:51 -------
> Right.  I used a wrong command in my bug report, however, the actual 
> condition remains.  Here is the good stuff:
> 
> blade:gcc/sparc64-sun-solaris2.9/3.4.1# pwd
> /usr/local/sparc64/lib/gcc/sparc64-sun-solaris2.9/3.4.1
> blade:gcc/sparc64-sun-solaris2.9/3.4.1# file libgcc_s.so.1
> libgcc_s.so.1:  ELF 32-bit MSB dynamic lib SPARC32PLUS Version 1, V8+ 
> Required, dynamically linked, not stripped

Okay. I'm a bit surprised by the error message issued by the linker though.

> So there is either a problem with the specs file, or the default 
> libgcc_s.so is expected to be 64-bit (but is not).

It's a bad interaction between --enable-version-specific-runtime-libs and the
multi-os-directory feature.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-13 13:51:56
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16507


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