How do I fix “ld: library not found for -lubsan” while compiling with g++?

后端 未结 0 1351
梦毁少年i
梦毁少年i 2021-01-17 14:14

When I try to compile my eek.cpp file with g++ eek.cpp -o eek -fsanitize=undefined flag, it shows:

ld: library not found for -lubsan         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题