g++

  1. V

    C cannot find -lasan when doing -fsanitize=address using GCC/g++/etc

    Issue: Using any compiler to compile any C code with "-fsanitize=address" results in the following error: /usr/local/bin/ld: cannot find -lasan collect2: error: ld returned 1 exit statu I get this error even when I try gcc main.c -fsanitize=address on int main() { return 0; } using...
Back
Top