This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: middle-end/7617: shared libgcc binary incompatibility on sparc-sun-solaris2.8
- From: morey at astech dot org
- To: nbryant at allegientsystems dot com, gcc-gnats at gcc dot gnu dot org,gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Fri, 11 Oct 2002 20:10:43 +0700
- Subject: Re: middle-end/7617: shared libgcc binary incompatibility on sparc-sun-solaris2.8
I have been experiencing the same problems. I have been using binutils-2.13. After extensive playing around I have noticed
a few things. If you compile a simple program that is dynamically linked with libgcc_s.so it will crash in __init with a
SIGSEV. However, if it is compiled with -static the program will run fine. I then rebuilt gcc and had it use the solaris ld
and as and how a program the dynamically linked with libgcc_s.so will run fine. It appears to be a problem related to binutils-2.13.
I will try an older version and see if I can track down what exactly is causing the problem.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7617