OpenWrt/LEDE: dropbear & MIPS & gcc 7.1.0
matt at ucc.asn.au
Thu Jun 1 21:21:55 AWST 2017
Updating libtom makes sense, it's on the todo list.
I'm curious if it's a bug in old libtommath or new gcc. In my experience differences between optimisation levels are more often problems with the compiler, but could be either.
If you could get a backtrace of a stuck "dbclient" built with gcc 7 it might be useful to see what's going on (and to know where to look in the libtommath commit log)
> On Thu 1/6/2017, at 2:28 pm, Syrone Wong <wong.syrone at gmail.com> wrote:
> Hi all,
> Recently, I upgrade my LEDE toolchain to binutils 2.28 & GCC 7, notice
> I cannot SSH to router.
> A more detailed description can be found
> later, Kevin find it might related to libtommath
> Two possible solution:
> i. change libtommath compilation flag from -Os to -O2:
> ii. update the bundled libtom* to latest:
> Please update the bundled libraries to latest, or help to find the root cause.
> Thanks in advance
> Best Regards,
> Syrone Wong
More information about the Dropbear