[LEDE-DEV] [PATCH] gcc: 7.2: remove mips patch causing broken code

Hauke Mehrtens hauke at hauke-m.de
Mon Dec 18 13:42:05 PST 2017


On 12/18/2017 10:34 AM, Syrone Wong wrote:
> I agree with Felix. I found libtommath issue in dropbear several
> months before. I can confirm the issue fixed by upgrading libtommath
> and libtomcrypt. The update is already done by upstream, but not
> released yet.

With this patch libtommath will be compiled with "-O3 -funroll-loops"
and then I haven't see this problem.
https://github.com/mkj/dropbear/commit/364fb6019c1931de3d181f21ea491ec112161577
see file libtommath/makefile.include when I go back to -Os and do not
use -funroll-loops the problem is also in there if I have this more
recent version.

When I compile the old libtommath with -funroll-loops the problem is
also gone.

Hauke



More information about the Lede-dev mailing list