This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc bug on solaris 2.7?
- To: balay at mcs dot anl dot gov
- Subject: Re: gcc bug on solaris 2.7?
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Fri, 13 Aug 1999 20:28:28 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- References: <Pine.GSO.3.96.990813074231.22026A-101000@fire.mcs.anl.gov>
> 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