https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105950

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
If you mean https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105950#c2 , no, you
have just posted what is a user error in using the sanitizers and we've told
you how to fix that.  The -fsanitize=undefined option can't be just added to
gcc command line where you compile object files (e.g. if you add it to CFLAGS
or CXXFLAGS vars), but also when you link the program (or shared library), so
e.g. in LDFLAGS, because when linking it takes care of adding -lubsan to the
linker command line.

Reply via email to