until recently my builds with g++ 5 on travis using the address sanitizer were passing - in the past week they broke.
I see that the version of g++ is bumped from (Ubuntu 5.2.1-23ubuntu1~12.04) 5.2.1 20151031
to (Ubuntu 5.4.0-3ubuntu1~12.04) 5.4.0 20160603
(seen from the ${CXX} --version
line)
The errors are from the linker - /usr/bin/ld: unrecognized option '--push-state'
the last working build - here
a current broken build - here
Any idea if this is a known issue? Is it reported anywhere? Is there a workaround?
here is my repository on github - it uses CMake and doesn't add any linker flags. I add the -fsanitize=address
from the .travis.yml
config file - see here
Your version of ld is out of date - the push state option was introduced on 2014-08-08. Update it and you'll be good to go.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With