Malloc(): unaligned tcache chunk detected (6.36.02, Debian 13, ppc64el)


ROOT Version: 6.36.02

Platform: Debian 13 on ppc64el (QEmu eumlation of Power9 in UTM 4.7.3 on M1 Apple Silicon)

Compiler: gcc 14.2.0


Attempting to build ROOT with plenty of swap and filesystem space (64 GB each), at

[ 29%] Built target obj.clangAST

the build stops with an error message malloc(): unaligned tcache chunk detected on the console (that didn’t make it into the build log).

I cannot rule out that the emulation is buggy; although I’ve used UTM to successfully build for riscv64 before, and this ppc64el emulation has been quite useful too.

Has someone been successful in building/packaging ROOT on Debian 13 on a “real” ppc64el architecture?

Thanks, Steffen

No idea, but maybe @StephanH or @hahnjo can help here (just trying to guess…)

Maybe related:

Thanks for the {,un}related links which must have fallen through the cracks when I searched. (I don’t see any problems with arm64, and don’t get to the tests with ppc64el.)

I’ll let the machine spend the weekend on another build with just a single CPU core enabled so parallelism during the build is avoided (and the exact point of failure gets isolated better).

I’m also upgrading UTM to the latest version, 4.7.4, which is supposed to bring some bugfixes.

Hopefully I’ll be back next week with more (+detailed) information. Thanks so far!

Still wondering whether I’m the only one attempting to Debian-package for strange architectures, Steffen

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.