Hi.
I tried to use MGD on arm64 linux and my app crashed with strange std::bad_cast exception. After debugging i figure out that libinterceptor.so exports symbols from standart C++ library and library inside libinterceptor.so is not compatible with mine. That is why i have that bad_cast.
you can check it with:
aarch64-linux-nm -C -D libinterceptor.so |grep std::locale::locale 00000000006af2c4 T std::locale::locale(std::locale::_Impl*) 00000000006af28c T std::locale::locale(std::locale const&) 00000000006b9b80 T std::locale::locale() 00000000006af2c4 T std::locale::locale(std::locale::_Impl*) 00000000006af28c T std::locale::locale(std::locale const&) 00000000006b9b80 T std::locale::locale()
i think libinterceptor.so should be self contained and do not expose outside anything except GL functions.
For the moment if found workaround
LD_PRELOAD=/usr/lib/libstdc++.so.6:/usr/lib/libinterceptor.so