Skip to content

Using g++-11 with -fsanitize=undefined flag gets ld error #3260

Discussion options

You must be logged in to vote

Try

g++-11 test.cpp -L"$(brew --prefix gcc)/lib/gcc/11" -fsanitize=undefined -o test

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ryanovovo
Comment options

@carlocab
Comment options

@ryanovovo
Comment options

@carlocab
Comment options

@ryanovovo
Comment options

Answer selected by ryanovovo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants