This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Problem in compiling xc/lib/X11/imRm.c by /usr/bin/gcc on RedHat7.0
ganeshb wrote:
>
> Hi Eric,
>
> Thanks for the reply.
>
> I'm sorry that I sent you the .s (assembly outut) file.
No problem. It happens :)
>
> I'm hereby sending the gzipped .i file with this message.
>
I tried a few different permutations to try to make this fail and
couldn't. Here are the versions and some of the command lines that I
used :)
[echristo@ghostwheel ~]$ gcc -c imRm.i -fPIC
[echristo@ghostwheel ~]$ gcc -c imRm.i -fPIC -O2
[echristo@ghostwheel ~]$ gcc -c imRm.i -fPIC -O3
[echristo@ghostwheel ~]$ gcc -c imRm.i -fPIC -O
[echristo@ghostwheel ~]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)
[echristo@ghostwheel ~]$ rpm -q gcc
gcc-2.96-69
You may wish to try upgrading your version of gcc from the Red Hat
website.
-eric