Step-by-step howto build powerpc-e500v2-linux-gnuspe arch?

I am part of the group of maintainer of the SynoCommunity which maintains open source project for various Synology NAS versions and architectures.

Recently we've updated our openssl version to 3.x part of python 3.11. This in turn also allowed migrated to rust based cryptography python wheel.

Problem: On ppc architecture only, on python applications making use of rust-based wheels it core dumps when loading PYO3 rust binding for python.

One of our assumption is that, while resulting libraries looks like using the appropriate target (ELF 32-bit MSB shared object, PowerPC or cisco 4500, version 1 (SYSV)) the issue may be related to the rust tier 2 architecture powerpc-unknown-linux-gnu being used.

The question is, is there a step-by-step guild into building powerpc-unknown-linux-gnuspe, or better, as we have all kernel sources & C libraries from Synology toolchain, building a powerpc-e500v2-linux-gnuspe target?

Related issues:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.