coolxv / cpp-stub

C++ unit test stub(not mock) and awesome.Surpported ISA x86,x86-64,arm64,arm32,arm thumb,mips64,riscv,loongarch64.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ARM32 run Segment fault.

RelaxOne opened this issue · comments

compile command: arm-linux-gnueabi-g++ test_object_member_function_linux.cpp -std=c++11 -I ../src -o test_object_member_funciton_linux
then move to arm32 run it .

[root@DMD3A ~/bin]#./test_object_member_funciton_linux 
Segmentation fault

try compile test_object_member_function_win.cpp

arm-linux-gnueabi-g++ test_object_member_function_win.cpp -std=c++11 -I ../src -o test_object_member_funciton_win

Please provide more detailed information.

Thanks for your answer, I fixed this yesterday because the parameter -marm is missing at compile time.