What's new

ARM toolchains with NPTL for Asuswrt/Merlin

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Has anyone tested an 88u with such changes or the 382 beta?
 
Yes, I had to update an environment variable RTVER in this file, ~/asuswrt-merlin/release/src-rt/platform.mak. And the Beceem_BCMS250_arm with prebuilt librt.so had to be updated too.

Unfortunately, your build of the toolchain, I had issues with some custom programs. Transmission-daemon wouldn't start up and nothing in the syslog about it. And Cryptsetup got a segfault when I tried mounting an encrypted disk.

RTVER reminds a thing and I fired up my dusty VM. Here is what I have to make use of the new uClibc/pthread lib for RT-AC56U.

Before make

sed -i '19s/0.9.32.1/0.9.33.2/' ../src-rt/platform.mak
sed -i '8s/0.9.32.1/0.9.33.2/' router/Beceem_BCMS250_arm/Makefile


After make

# fix dangling 0.9.32.1 libs
#rm -f router/arm-uclibc/target/lib/librt-0.9.32.1.so
#rm -f router/arm-uclibc/target/lib/librt.so
rm -f router/arm-uclibc/target/lib/libgcc_s.so.1

cp ~/hndtools/hndtools-arm-linux-2.6.36-uclibc-4.5.3/arm-brcm-linux-uclibcgnueabi/sysroot/lib/libgcc_s.so.1 router/arm-uclibc/target/lib

cp ~/hndtools/hndtools-arm-linux-2.6.36-uclibc-4.5.3/arm-brcm-linux-uclibcgnueabi/sysroot/lib/librt.so.0 router/arm-uclibc/target/lib


Then make gen image again. Can't recall why I had later commented out librt*
 
Has anyone tested an 88u with such changes or the 382 beta?

The newer uClibc and pthread library benefit user space programs. The firmware (as of RT-AC56U) has little multithreaded applications. The uClibc and native pthread combination has some performance edge over Entware-ng's equivalent but Entware-ng is more convenient to work with.
 
... Here is what I have to make use of the new uClibc/pthread lib for RT-AC56U.
When using your toolchain, today I confirmed that running Transmission results in only one process. This is good. And with Asuswrt-Merlin toolchain (Linux threads), there is five processes.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top