You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The shared libraries generated when building Triton (libtritonserver.so for the server and libgrpcclient.so for the client) don't contain typeinfo for the various custom classes.
In particular, this can interfere with use of UBSAN, which requires typeinfo for all classes. RTTI should be enabled for gcc by default; I'm not sure where in the build process the symbols are stripped.
Triton Information
What version of Triton are you using? v2.3
Are you using the Triton container or did you build it yourself? both
To Reproduce
If using container, issue the command: nm -C -D lib/libtritonserver.so
(otherwise, use the same command with any locally available libraries)
Expected behavior
typeinfo should be present.
The text was updated successfully, but these errors were encountered:
Description
The shared libraries generated when building Triton (
libtritonserver.so
for the server andlibgrpcclient.so
for the client) don't containtypeinfo
for the various custom classes.In particular, this can interfere with use of UBSAN, which requires
typeinfo
for all classes. RTTI should be enabled for gcc by default; I'm not sure where in the build process the symbols are stripped.Triton Information
What version of Triton are you using? v2.3
Are you using the Triton container or did you build it yourself? both
To Reproduce
If using container, issue the command:
nm -C -D lib/libtritonserver.so
(otherwise, use the same command with any locally available libraries)
Expected behavior
typeinfo
should be present.The text was updated successfully, but these errors were encountered: