Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

libinterceptor.so exports symbols from libstdc++

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.