Akim Demaille wrote:
I still can't get GCC8 to work with UBSAN, I get this error (in config.log):
https://travis-ci.com/akimd/bison/jobs/160650997:
configure:4967: checking whether the C compiler works
configure:4989: gcc-8 -fsanitize=undefined,address -fno-omit-frame-pointer
conftest.c >&5
/usr/bin/ld: --push-state--no-as-needed: unknown option
This appears to be a known bug in Ubuntu 16.04. I suggest upgrading to 18.04.
(Or don't use those GCC options...) See:
https://stackoverflow.com/questions/50024731/ld-unrecognized-option-push-state-no-as-needed/50357910#50357910