You need to compile a new compiler and your program for armv6z. ARM1176 is an ARM6 core but often labelled as armv7l which is some marketing designation that doesn't exist
Ahum: he didn't mention his Raspberry Pi version. That makes a huge difference. later RPi 2's and 3 are definitely ARMv7+: ARM Cortex-A7 x4 , resp. ARM Cortex-A53 x4 and 3 also support AARCH64.
I suspect he has a 2 or 3. The 1 (and the zero family) are ARM1176 and armv6. The later models, except the zero, are as above.
A properly configured QEMU should have no problems (except it has no proper VideoCore IV simulation.)