Jondy
Jondy
I seems there is something wrong with `linux.armv6.3`, I'll check it. Since `linux.armv6.0` works, now use it by exporting environment variable `PYARMOR_PLATFORM=linux.armv6.0`
I rebuild `linux.armv6.3`, it may fix this issue, it has been packaged into the dev version https://pyarmor.readthedocs.io/en/latest/change-logs.html#dev-version
For trial version, after v6.6.2, the latest extra platforms are not available to download. I have uploaded the temporary one to https://pyarmor.dashingsoft.com/downloads/temp/_pytrasnform.so Download it, then save it to `/home/pi/.local/lib/python3.7/site-packages/pyarmor/platforms/linux/armv6`
First make sure it's the latest one is loaded, run `pyarmor -d obfuscate foo.py`, the output log will print which `_pytrasnfrom.so` is loaded. And check this file by `ldd` ```...
@shedstrom I uploaded 2 apps to print some debug information https://pyarmor.dashingsoft.com/downloads/temp/foo-arm-mode https://pyarmor.dashingsoft.com/downloads/temp/foo-thumb-mode Could you test them in Pi zero? check them work or not.
How about these 2 files, they're compiled by another cross-compile tool? https://pyarmor.dashingsoft.com/downloads/temp/foo2a https://pyarmor.dashingsoft.com/downloads/temp/foo2t
What's COLLECT_GCC_OPTIONS in this platform? This is what I used to build dynamic library ``` $ echo "" > a.c $ toolchain/bin/arm-buildroot-linux-gnueabihf-gcc --verbose -shared a.c ... COLLECT_GCC_OPTIONS='-v' '-shared' '-mcpu=arm1176jzf-s' '-mfloat-abi=hard'...
Does this work? https://pyarmor.dashingsoft.com/downloads/temp/foo-armv6 It's built with extra cflags `-march=armv6`, not the default `-march=armv6kz` If it works, also try this new `linux.armv6.3` https://pyarmor.dashingsoft.com/downloads/temp/_pytrasnform.so Download it, then save it to /home/pi/.local/lib/python3.7/site-packages/pyarmor/platforms/linux/armv6
It's a little difficult to fix it, because I can't reproduce this issue by qemu, the test app `foo` works in my test vm `qemu-system-arm -M raspi0` with linux kernel...
I think it could not help for this issue.