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]

Re: gcc bug on solaris 2.7?


> Ops. forgot about the -fPIC flag. But the problem exists even when this 
> flag is used.

Well, what shall I say - I can't reproduce the bug. First, I couldn't,
because I had no Solaris 7. I found one, and then I couldn't, because
it didn't have gcc 2.95 on it. Thankfully, you've included a binary in
your tar file. So I ran the binary, and the output was

Hello

(I trusted that you didn't put a Trojan in it :)
The machine I ran this on is

SunOS <host> 5.7 Generic_106541-04 sun4m sparc SUNW,SPARCstation-4

and ldd says

        libfoo.so =>     ./libfoo.so
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1

so it seems that everything works - except that your Solaris 7
installation is screwed...

Hope this helps,
Martin


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