public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: Peter Bergner <bergner@vnet.ibm.com>
Cc: Bill Schmidt <wschmidt@linux.vnet.ibm.com>,
	Andreas Schwab <schwab@linux-m68k.org>,
		Richard Earnshaw <richard.earnshaw@arm.com>,
	Bernd Schmidt <bernds@codesourcery.com>,
		Hans-Peter Nilsson <hans-peter.nilsson@axis.com>,
	Nick Clifton <nickc@redhat.com>,
		Matthew Fortune <Matthew.Fortune@imgtec.com>,
	David Edelsohn <dje.gcc@gmail.com>,
		"David S. Miller" <davem@redhat.com>,
	Matt Thomas <matt@3am-software.com>,
		Rainer Orth <ro@cebitec.uni-bielefeld.de>,
	Mike Stump <mikestump@comcast.net>,
		GCC Patches <gcc-patches@gcc.gnu.org>,
	"Joseph S. Myers" <joseph@codesourcery.com>
Subject: Re: Fwd: PING^3: [PATCH]: New configure options that make the compiler use -fPIE and -pie as default option
Date: Wed, 27 May 2015 16:34:00 -0000	[thread overview]
Message-ID: <CAMe9rOoN+fgwMTbN4qFU73xxcyxvU5Chx7QmhAOi_3MvvZnX+Q@mail.gmail.com> (raw)
In-Reply-To: <1432742717.7344.9.camel@otta>

On Wed, May 27, 2015 at 9:05 AM, Peter Bergner <bergner@vnet.ibm.com> wrote:
> On Wed, 2015-05-27 at 08:36 -0700, H.J. Lu wrote:
>> On Wed, May 27, 2015 at 8:24 AM, Peter Bergner <bergner@vnet.ibm.com> wrote:
>> > On Tue, 2015-05-26 at 16:40 -0500, Bill Schmidt wrote:
>> >> Ah, never mind.  I guess I need to run automake first.
>> >
>> > I ran the patch on powerpc64-linux (ie, Big Endian) both with and
>> > without --enable-default-pie.  Both bootstraps completed with no
>> > errors and the without --enable-default-pie regtested without any
>> > regressions.
>> >
>> > The --enable-default-pie regtesting shows massive failures that I
>> > have to look into.  I'm haven't determined yet whether these are
>> > all -m32 FAILs or -m64 FAILS or both.  I'll report back with more
>> > info after I dig into some of the failures.
>>
>> Does --enable-default-pie work on powerpc64-linux?  Do you
>> get working PIE by default?  Some GCC tests expect non-PIE.
>> I fixed some of them:
>
> I haven't looked into any of the failures yet.  That said,
> powerpc64-linux is PIC by default, so I thought maybe PIE

PIC != PIE.  Is PIE the default for powerpc64-linux? Please
show me

# readelf -h /bin/ls

on powerpc64-linux.

> would just work.  Maybe it does and it's just powerpc-linux
> tests that are failing (I run the testsuite with both
> -m32 and -m64).  I won't know until I get some time to have
> a deeper look.  That said, if there is something you know
> of that I should look for or at, I'd appreciate it.
>

You should first verify if --enable-default-pie generates a GCC which
can produce a simple hello program.

-- 
H.J.

  reply	other threads:[~2015-05-27 16:18 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 17:31 H.J. Lu
2015-03-06 20:22 ` Magnus Granberg
2015-03-06 20:25   ` H.J. Lu
2015-05-07 21:17 ` Joseph Myers
2015-05-08 17:35   ` H.J. Lu
2015-05-18 22:53     ` Magnus Granberg
2015-05-19  1:25       ` Joseph Myers
2015-05-19  1:34         ` H.J. Lu
2015-05-19 15:27           ` Joseph Myers
2015-05-19 15:33             ` H.J. Lu
2015-05-19 15:33               ` Paul_Koning
2015-05-19 15:43                 ` H.J. Lu
2015-05-19 15:37               ` Joseph Myers
2015-05-19 19:33                 ` H.J. Lu
2015-05-20 21:29                   ` Joseph Myers
2015-05-20 23:01                   ` Hans-Peter Nilsson
2015-05-20 23:54                     ` H.J. Lu
2015-05-21 14:42                   ` Rainer Orth
2015-05-21 17:19                     ` Joseph Myers
2015-05-21 17:57                     ` H.J. Lu
2015-06-03 12:48                       ` Rainer Orth
     [not found]                   ` <CAMe9rOpZow4w3zcycLoTb5LZdLKP2QWNpsU5oLMJCyZGUTd1fg@mail.gmail.com>
     [not found]                     ` <87vbflkh05.fsf@igel.home>
     [not found]                       ` <CAMe9rOr0SApdtzeOrc-uNDRH8=z6c4EzHUkyXmERW_q9BYjrAQ@mail.gmail.com>
     [not found]                         ` <87k2w1k54t.fsf@igel.home>
2015-05-22 15:39                           ` Fwd: " H.J. Lu
2015-05-26 22:42                             ` Bill Schmidt
2015-05-26 22:53                               ` Bill Schmidt
2015-05-27 15:42                                 ` Peter Bergner
2015-05-27 15:59                                   ` H.J. Lu
2015-05-27 16:17                                     ` Peter Bergner
2015-05-27 16:34                                       ` H.J. Lu [this message]
2015-05-27 17:43                                         ` David Edelsohn
2015-05-27 17:44                                           ` H.J. Lu
2015-05-30 15:45                             ` Andreas Schwab
2015-05-30 16:24                               ` H.J. Lu
2015-05-30 16:44                                 ` Andreas Schwab
2015-05-30 17:04                                   ` H.J. Lu
2015-05-30 20:08                                     ` Andreas Schwab
2015-05-30 21:42                                       ` H.J. Lu
2015-05-31  0:52                                         ` Andreas Schwab
2015-05-31  7:13                                           ` H.J. Lu
2015-05-31  8:23                                             ` Andreas Schwab
2015-05-31 15:52                                               ` H.J. Lu
2015-05-30 20:04                             ` Andreas Schwab
2015-05-30 21:08                               ` Andreas Schwab
2015-10-23 11:57                             ` Marcus Shawcroft
2015-10-23 12:44                               ` H.J. Lu
2015-10-23 14:27                                 ` Marcus Shawcroft
2015-10-28 16:06                                 ` Marcus Shawcroft
2015-10-29 11:02                                 ` Richard Earnshaw
2015-10-29 11:18                                   ` H.J. Lu
2015-06-10 13:26                   ` Rainer Orth
2015-05-26 23:09     ` Matthew Fortune
2015-05-27  2:49       ` Matthew Fortune
2015-05-27  4:59       ` H.J. Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMe9rOoN+fgwMTbN4qFU73xxcyxvU5Chx7QmhAOi_3MvvZnX+Q@mail.gmail.com \
    --to=hjl.tools@gmail.com \
    --cc=Matthew.Fortune@imgtec.com \
    --cc=bergner@vnet.ibm.com \
    --cc=bernds@codesourcery.com \
    --cc=davem@redhat.com \
    --cc=dje.gcc@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hans-peter.nilsson@axis.com \
    --cc=joseph@codesourcery.com \
    --cc=matt@3am-software.com \
    --cc=mikestump@comcast.net \
    --cc=nickc@redhat.com \
    --cc=richard.earnshaw@arm.com \
    --cc=ro@cebitec.uni-bielefeld.de \
    --cc=schwab@linux-m68k.org \
    --cc=wschmidt@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).