Package compiler 16 kB output

I recently switched from Jula v 1.10 Beta 3 to 1.10 rc1, mainly in hope to combat some problems with PackageCompiler. However, now it’s even worse. With Julia 1.10 rc1 I can’t even get any output larger than 16 kB. I.e. all .so files end up as 16 kB. The compilation itself seems to be working though.

Has anybody else seen the problem or has any idea what I’m doing wrong?