This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fwd: PING^3: [PATCH]: New configure options that make the compiler use -fPIE and -pie as default option
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 30 May 2015 13:08:01 -0700
- Subject: Re: Fwd: PING^3: [PATCH]: New configure options that make the compiler use -fPIE and -pie as default option
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOrw7OFObOmOCG1wM2Hfr_hpKo-wY0_17ngB89CTQ_34Mw at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505072104300 dot 20024 at digraph dot polyomino dot org dot uk> <CAMe9rOrcADb1t2Ch0LDy9SOaS9RDoj4BGgo8qL+6jtg1tnLA8g at mail dot gmail dot com> <3072346 dot CTCrhcXNep at laptop1 dot gw dot ume dot nu> <alpine dot DEB dot 2 dot 10 dot 1505190109380 dot 16300 at digraph dot polyomino dot org dot uk> <CAMe9rOr-mU-vxmF3po-zKAYtLyYGGCN4LeM-DJkL6Kv3fYxD_g at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505191520110 dot 32308 at digraph dot polyomino dot org dot uk> <CAMe9rOqncLsJhb7Fhr3t3acDO+Kq38AeA+ac1TKt6oqWwGz-5Q at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505191531440 dot 32308 at digraph dot polyomino dot org dot uk> <CAMe9rOrW1BGje8b6EmrzaJP8b0rPWF+WrTTWdAn-67Fn7-imqw at mail dot gmail dot com> <CAMe9rOpZow4w3zcycLoTb5LZdLKP2QWNpsU5oLMJCyZGUTd1fg at mail dot gmail dot com> <87vbflkh05 dot fsf at igel dot home> <87k2w1k54t dot fsf at igel dot home> <CAMe9rOqUj4dhH3omFO7UONsPgmg9iOaXhntfK+dNByLeGnrm_Q at mail dot gmail dot com> <87oal2ayo8 dot fsf at igel dot home> <CAMe9rOpu7dZ9PfsDmjVfO380w95b0iPuvkuxGRmnMM3YEAk11Q at mail dot gmail dot com> <87k2vqawo1 dot fsf at igel dot home> <CAMe9rOo1hO7G7vtEk9Qzo2fM1p1UEgxH_jr=eKM_FopMMVBXTA at mail dot gmail dot com> <87617aaucv dot fsf at igel dot home>
On Sat, May 30, 2015 at 9:44 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> "H.J. Lu" <hjl.tools@gmail.com> writes:
>
>> There is no harm and the message is gone in stage 2 and 3,
>> We can treat it the same as other spurious messages from the
>> bootstrap compiler.
>
> But you still need to fix the first test, since it doesn't test
> anything.
>
What is wrong with it? Its purpose is to always compile GCC
without PIE. If the bootstrap compiler allows -fno-PIE, we add
it. Does the test pass when the bootstrap compiler errors
on -fno-PIE?
--
H.J.