So it seems that this is related with the optimization flag used. Worked with the cross-compiled binaries as it was using the 'debug' build by default, not O2.
Tested a rebuild, and worked fine with O0, but failed with O1 and O2.
So it seems that this is related with the optimization flag used. Worked with the cross-compiled binaries as it was using the 'debug' build by default, not O2.
Tested a rebuild, and worked fine with O0, but failed with O1 and O2.