Earlier we found (through little exercises in the Pixelserv thread) that the ARM toolchain supplied in Asuswrt GPL does not support native pthread. We also discovered that vendors do not build their own toolchains from Build Root (anecdotal evidence: Asus and Netgear have a few binaries identical from their toolchains).
The past weekend I spent sometime building an ARM toolchains from the Build Root source shipped in Asus' 9135 GPL codes for AC56U. To the credit of Asus (and by perhaps Broadcom), they actually include the codes... the configs & codes unfortunately aren't build-able out of the box. With some effort and a few rounds of back and forth between building the toolchain and using the new toolchain building the firmware (v378.55), now I have a workable toolchain that supposed to yield NPTL support.
I tried the resultant image i.e the new firmware binary on my AC56U. Didn't boot to completion. Had to rescue myself with Asus recovery software. To eliminate any residual traces due to previous toolchain. I started again from scratch and builded a new image which I haven't tried.
The challenge for me is I only have one Asus router and it's a "production" set. So the frequency is very limited that I can try and work out any issues in the new toolchain.
My immediate goal is to have the toolchains to support native pthread in Asuswrt/Merlin. Please drop a line here if any dev is interested in collaborating on this.
The past weekend I spent sometime building an ARM toolchains from the Build Root source shipped in Asus' 9135 GPL codes for AC56U. To the credit of Asus (and by perhaps Broadcom), they actually include the codes... the configs & codes unfortunately aren't build-able out of the box. With some effort and a few rounds of back and forth between building the toolchain and using the new toolchain building the firmware (v378.55), now I have a workable toolchain that supposed to yield NPTL support.
I tried the resultant image i.e the new firmware binary on my AC56U. Didn't boot to completion. Had to rescue myself with Asus recovery software. To eliminate any residual traces due to previous toolchain. I started again from scratch and builded a new image which I haven't tried.
The challenge for me is I only have one Asus router and it's a "production" set. So the frequency is very limited that I can try and work out any issues in the new toolchain.
My immediate goal is to have the toolchains to support native pthread in Asuswrt/Merlin. Please drop a line here if any dev is interested in collaborating on this.