Open
Description
For Perl and libpcap, there is some usage of link errors that will show up due to -Wl,--no-undefined
and -fsanitize=address
.
(1)For GCC, I use "-Wl,--no-undefined" and "-fsanitize=address" both, if the linker
fails, add "-lasan" for linker flag.
(2)For Clang Ubuntu, I use "-Wl,--no-undefined" by default. If "-fsanitize=address"
is set, turn off the flag "-Wl,--no-undefined".
(from google sanitizers issue 380)