Repository navigation
riscos-crossdev 1.14
UnixLib 5.0.3.12
The toolchain is built with riscos-unixlib 5.0.3.12:
5.0.3.11's fixes and speed-ups, and 5.0.3.12's word-aligned data.
Rebuild to pick it up; everything links unchanged.
-
__threadand C++thread_localare one per thread. In a static
program that made threads, every thread shared them unless the program
happened to callpthread_cancel. If a threaded port sets one in one
thread and reads it in another, check it. -
memcpyandsetjmpno longer die on a fresh stack page. That
failure showed as "ARMEABISupport could not handle an abort". -
Thread fixes:
- a thread exiting with thread-specific values no longer races
malloc; pthread_suspend_thread,pthread_rwlock_init,pthread_onceand
timed condition waits are fixed.
- a thread exiting with thread-specific values no longer races
-
Other fixes:
socketpaircan't hang, andbcopycopies the right
way.scanftakesll,hh,j,zandt,fread/fwritetake
very large counts, and.fini_arrayruns at exit.mkdtempis new. -
sysconf(_SC_NPROCESSORS_ONLN)is 1 for code built with the new
headers (it was 2048). If a port wants more worker threads, set
UnixLib$Processorsin!Run. -
Faster on a Pi 4:
strstr: about 8 times;memcmpandstrcasecmp: 4 times;strcmp,strncpyandstrrchr: 2 to 3 times;pthread_getspecificandthread_local: 15 times;- base-10
strtol/atoi: twice.
-
UnixLib aligns its own data now. 1.13 added a
.balign 4when it
built the toolchain; 5.0.3.12 has it in its own sources, so the build no
longer needs it. The alignment check after the build stays.
The toolchain's UnixLib is the release's: every object's code, data and
relocations are the same as riscos-unixlib's own 5.0.3.12 libunixlib.a.
The optional GCC 16 toolchain
riscos-crossdev-toolchain-gcc16-1.14-x86_64-linux.tar.xz is on this
release as well. It has the same GCC 16.2.0 as 1.13, linked with UnixLib
5.0.3.12. GCC 10.2 stays the default.
Tested
make check passes with both toolchains, and in a clean clone of v1.14
with the prebuilt tarball.
Support is as-is, at the maintainer's own pace; report problems in GitHub
Issues. Written with Claude as a coding assistant; Andrew Youll directs the
work and tests on a Raspberry Pi 4.