[LEDE-DEV] [PATCH 2/2] toolchain: gcc: drop MIPS patch
Felix Fietkau
nbd at nbd.name
Wed Aug 23 01:20:46 PDT 2017
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:
>
> 12058628 O2-withoutpatch-dropbearworks.bin
> 12058628 O2-withpatch-dropbearworks.bin
> 11468804 Os-withoutpatch-dropbearworks.bin
> 11468804 Os-withpatch-dropbearfails.bin
>
> Signed-off-by: Kevin Darbyshire-Bryant <kevin at darbyshire-bryant.me.uk>
I strongly suspect that this change is hiding the real bug instead of
fixing it. Please double-check that the mis-compilation also does not
happen with -O2 instead of -Os.
- Felix
More information about the Lede-dev
mailing list