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 target/36622] 4.3.1 failed to compile gcse.c file.



------- Comment #7 from imam dot toufique at intel dot com  2008-06-25 01:13 -------
(In reply to comment #6)
> >So, you are suggesting that I should remove fPIC option, correct?
> Yes.  Is there a reason why you have CFLAGS set anyways?

Hi Andrew,

I have the CFLAGS for 2 reasons:

1.  I have the mpfr and gmp libs in non standard locations, so I want to make
sure that the gcc install looks at the correct places.

2.  -fPIC has always been set in all the other gcc versions that I have
compiled through CFLAGS.  So, I did not think about this issue until you
pointed it out.

Now, I have a  question:  

Do I need to exclude -fPIC for the other platform (e.g. x86_64) builds when I
build gcc 4.3.1?  I have tried building 4.3.1 in SLES10 with -fPIC option , and
it built OK for me.

Thanks.  


-- 


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


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