You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Self JIT compiler on sparc emits code that uses %g7 register. But that register is reserved for the use by the system and is commonly used by the ELF TLS (thread local storage).
This actually happens even though Self does not use pthreads, b/c jemalloc, the default malloc on NetBSD, does use TLS, and JIT code clobbers it and malloc crashes. The kludge I used while making the sparc port compile again was to use a different malloc implementation.
The text was updated successfully, but these errors were encountered:
Self JIT compiler on sparc emits code that uses
%g7
register. But that register is reserved for the use by the system and is commonly used by the ELF TLS (thread local storage).This actually happens even though Self does not use pthreads, b/c jemalloc, the default malloc on NetBSD, does use TLS, and JIT code clobbers it and malloc crashes. The kludge I used while making the sparc port compile again was to use a different malloc implementation.
The text was updated successfully, but these errors were encountered: