Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-28 Thread Segher Boessenkool
On Thu, Mar 28, 2019 at 07:19:57AM +0100, Christophe Leroy wrote: > Le 27/03/2019 à 19:21, Segher Boessenkool a écrit : > >Yeah, okay, we should have some PHDRS statement here still. You can drop > >the dummy segment, and the notes segment as well, or you can keep the notes > >section in both the

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-28 Thread Christophe Leroy
Le 27/03/2019 à 19:21, Segher Boessenkool a écrit : On Wed, Mar 27, 2019 at 07:47:55AM -0500, Segher Boessenkool wrote: On Wed, Mar 27, 2019 at 07:40:32AM +0100, Christophe Leroy wrote: Le 26/03/2019 à 23:29, Segher Boessenkool a écrit : I tried to reproduce this. It does not fail with a

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-27 Thread Segher Boessenkool
On Wed, Mar 27, 2019 at 07:47:55AM -0500, Segher Boessenkool wrote: > On Wed, Mar 27, 2019 at 07:40:32AM +0100, Christophe Leroy wrote: > > Le 26/03/2019 à 23:29, Segher Boessenkool a écrit : > > >I tried to reproduce this. It does not fail with a ppc6xx_defconfig > > >build, and

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-27 Thread Segher Boessenkool
On Wed, Mar 27, 2019 at 07:40:32AM +0100, Christophe Leroy wrote: > Le 26/03/2019 à 23:29, Segher Boessenkool a écrit : > >I tried to reproduce this. It does not fail with a ppc6xx_defconfig > >build, and mpc885_ads_defconfig fails with > > So far, the only defconfig which fails for me is

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-27 Thread Christophe Leroy
Le 27/03/2019 à 09:56, Christophe Leroy a écrit : Le 26/03/2019 à 21:12, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 08:28:58PM +0100, Christophe Leroy wrote: Le 26/03/2019 à 19:19, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 07:55:33AM +, Christophe Leroy wrote:  

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-27 Thread Christophe Leroy
Le 26/03/2019 à 21:12, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 08:28:58PM +0100, Christophe Leroy wrote: Le 26/03/2019 à 19:19, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 07:55:33AM +, Christophe Leroy wrote: STACK off0x vaddr 0x paddr

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-27 Thread Christophe Leroy
Le 26/03/2019 à 23:29, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 03:12:31PM -0500, Segher Boessenkool wrote: On Tue, Mar 26, 2019 at 08:28:58PM +0100, Christophe Leroy wrote: Le 26/03/2019 à 19:19, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 07:55:33AM +,

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-26 Thread Segher Boessenkool
On Tue, Mar 26, 2019 at 05:29:43PM -0500, Segher Boessenkool wrote: > On Tue, Mar 26, 2019 at 03:12:31PM -0500, Segher Boessenkool wrote: > > On Tue, Mar 26, 2019 at 08:28:58PM +0100, Christophe Leroy wrote: > > > > > > > > > Le 26/03/2019 à 19:19, Segher Boessenkool a écrit : > > > >On Tue, Mar

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-26 Thread Segher Boessenkool
On Tue, Mar 26, 2019 at 03:12:31PM -0500, Segher Boessenkool wrote: > On Tue, Mar 26, 2019 at 08:28:58PM +0100, Christophe Leroy wrote: > > > > > > Le 26/03/2019 à 19:19, Segher Boessenkool a écrit : > > >On Tue, Mar 26, 2019 at 07:55:33AM +, Christophe Leroy wrote: > > >>STACK off

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-26 Thread Segher Boessenkool
On Tue, Mar 26, 2019 at 08:28:58PM +0100, Christophe Leroy wrote: > > > Le 26/03/2019 à 19:19, Segher Boessenkool a écrit : > >On Tue, Mar 26, 2019 at 07:55:33AM +, Christophe Leroy wrote: > >>STACK off0x vaddr 0x paddr 0x align 2**4 > >> filesz

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-26 Thread Christophe Leroy
Le 26/03/2019 à 19:19, Segher Boessenkool a écrit : On Tue, Mar 26, 2019 at 07:55:33AM +, Christophe Leroy wrote: STACK off0x vaddr 0x paddr 0x align 2**4 filesz 0x memsz 0x flags rwx You need to prevent this one somehow. What

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-26 Thread Segher Boessenkool
On Tue, Mar 26, 2019 at 07:55:33AM +, Christophe Leroy wrote: >STACK off0x vaddr 0x paddr 0x align 2**4 > filesz 0x memsz 0x flags rwx You need to prevent this one somehow. What object file forces this? Setting the program headers

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-26 Thread Christophe Leroy
Le 26/03/2019 à 01:55, Michael Ellerman a écrit : Joel Stanley writes: Segher added some workarounds for GCC 4.2 and bintuils 2.18. We now set 4.6 and 2.20 as the minimum, so they can be dropped. This is mostly a revert of c6995fe4 ("powerpc: Fix build bug with binutils < 2.18 and GCC

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-26 Thread Christophe Leroy
On 03/26/2019 12:55 AM, Michael Ellerman wrote: Joel Stanley writes: Segher added some workarounds for GCC 4.2 and bintuils 2.18. We now set 4.6 and 2.20 as the minimum, so they can be dropped. This is mostly a revert of c6995fe4 ("powerpc: Fix build bug with binutils < 2.18 and GCC <

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-25 Thread Michael Ellerman
Joel Stanley writes: > Segher added some workarounds for GCC 4.2 and bintuils 2.18. We now set > 4.6 and 2.20 as the minimum, so they can be dropped. > > This is mostly a revert of c6995fe4 ("powerpc: Fix build bug with > binutils < 2.18 and GCC < 4.2"). > > Signed-off-by: Joel Stanley > ---

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-21 Thread Michael Ellerman
Segher Boessenkool writes: > On Thu, Mar 21, 2019 at 11:02:53AM +1030, Joel Stanley wrote: >> Segher added some workarounds for GCC 4.2 and bintuils 2.18. We now set >> 4.6 and 2.20 as the minimum, so they can be dropped. > > It was a bug in binutils _before_ 2.18, only seen by people using GCC

Re: [PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

2019-03-21 Thread Segher Boessenkool
On Thu, Mar 21, 2019 at 11:02:53AM +1030, Joel Stanley wrote: > Segher added some workarounds for GCC 4.2 and bintuils 2.18. We now set > 4.6 and 2.20 as the minimum, so they can be dropped. It was a bug in binutils _before_ 2.18, only seen by people using GCC _before_ 4.2. It's all ancient