This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36622] 4.3.1 failed to compile gcse.c file.
- From: "imam dot toufique at intel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jun 2008 01:13:44 -0000
- Subject: [Bug target/36622] 4.3.1 failed to compile gcse.c file.
- References: <bug-36622-15556@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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