Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-24 Thread Arjen de Korte
Citeren Arjen de Korte : Citeren Arjen de Korte : Citeren Kevin Darbyshire-Bryant : On 23/08/17 18:25, Arjen de Korte wrote: While removing the MIPS patch fixes dropbear when using gcc 7.1.0 and '-Os', uhttpd goes tits up with a segfault in liblua. With '-O2' it's fine for both, so I'll

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-24 Thread Arjen de Korte
Citeren Arjen de Korte : Citeren Kevin Darbyshire-Bryant : On 23/08/17 18:25, Arjen de Korte wrote: While removing the MIPS patch fixes dropbear when using gcc 7.1.0 and '-Os', uhttpd goes tits up with a segfault in liblua. With '-O2' it's fine for both, so I'll probably stick with that f

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-24 Thread Arjen de Korte
Citeren Kevin Darbyshire-Bryant : On 23/08/17 18:25, Arjen de Korte wrote: While removing the MIPS patch fixes dropbear when using gcc 7.1.0 and '-Os', uhttpd goes tits up with a segfault in liblua. With '-O2' it's fine for both, so I'll probably stick with that for now. What about with g

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-24 Thread Kevin Darbyshire-Bryant
On 23/08/17 18:25, Arjen de Korte wrote: While removing the MIPS patch fixes dropbear when using gcc 7.1.0 and '-Os', uhttpd goes tits up with a segfault in liblua. With '-O2' it's fine for both, so I'll probably stick with that for now. What about with gcc 7.2.0? _

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-23 Thread Arjen de Korte
Citeren Kevin Darbyshire-Bryant : On 23/08/17 09:20, Felix Fietkau wrote: On 2017-08-22 12:01, Kevin Darbyshire-Bryant wrote: Drop 300-mips_Os_cpu_rtx_cost_model.patch for gcc 7.2 This was causing mis-compilation of dropbear with the default '-Os' size optimization as reported in FS#814 Test

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-23 Thread Kevin Darbyshire-Bryant
On 23/08/17 09:20, Felix Fietkau wrote: On 2017-08-22 12:01, Kevin Darbyshire-Bryant wrote: Drop 300-mips_Os_cpu_rtx_cost_model.patch for gcc 7.2 This was causing mis-compilation of dropbear with the default '-Os' size optimization as reported in FS#814 Tested on ar71xx, archer C7 v2. For s

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-23 Thread Syrone Wong
Hi, Based on my test, it works well even if you keep this mips patch, upstream already update libtommath and libtomcrypt to latest, and I can confirm the update to these two libs fixes dropbear misbehavior on mips. https://github.com/mkj/dropbear/commit/a79b61517bc7123250d0e2dc21dc18deccf0bb64 ht

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-23 Thread Kevin Darbyshire-Bryant
On 23/08/17 09:20, Felix Fietkau wrote: On 2017-08-22 12:01, Kevin Darbyshire-Bryant wrote: Drop 300-mips_Os_cpu_rtx_cost_model.patch for gcc 7.2 This was causing mis-compilation of dropbear with the default '-Os' size optimization as reported in FS#814 Tested on ar71xx, archer C7 v2. For s

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-23 Thread Felix Fietkau
On 2017-08-22 12:01, Kevin Darbyshire-Bryant wrote: > Drop 300-mips_Os_cpu_rtx_cost_model.patch for gcc 7.2 > > This was causing mis-compilation of dropbear with the default '-Os' size > optimization as reported in FS#814 > > Tested on ar71xx, archer C7 v2. For size comparison of my whole build:

Re: [LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-22 Thread Philip Prindeville
> On Aug 22, 2017, at 4:01 AM, Kevin Darbyshire-Bryant > wrote: > > Drop 300-mips_Os_cpu_rtx_cost_model.patch for gcc 7.2 > > This was causing mis-compilation of dropbear with the default '-Os' size > optimization as reported in FS#814 > > Tested on ar71xx, archer C7 v2. For size comparison

[LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch

2017-08-22 Thread Kevin Darbyshire-Bryant
Drop 300-mips_Os_cpu_rtx_cost_model.patch for gcc 7.2 This was causing mis-compilation of dropbear with the default '-Os' size optimization as reported in FS#814 Tested on ar71xx, archer C7 v2. For size comparison of my whole build: 12058628 O2-withoutpatch-dropbearworks.bin 12058628 O2-withpat