From 7e0a2dbcbb7fd256b0ede5685ddfaed0945344c0 Mon Sep 17 00:00:00 2001 From: arvidn Date: Sun, 9 Oct 2016 21:53:54 -0400 Subject: [PATCH] we need the gold-linker for address sanitizer --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b6d875c8e..2450f993f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -80,7 +80,7 @@ install: echo "using gcc : : ccache g++-5 : -std=c++11 ;" >> ~/user-config.jam; fi' - 'if [[ $toolset == "gcc-sanitizer" ]]; then - echo "using gcc : sanitizer : ccache g++-5 : -std=c++11 -fsanitize=address,undefined -fno-sanitize-recover=address,undefined -fsanitize=address,undefined -fno-sanitize-recover=address,undefined ;" >> ~/user-config.jam; + echo "using gcc : sanitizer : ccache g++-5 : -std=c++11 -fsanitize=address,undefined -fno-sanitize-recover=address,undefined -fsanitize=address,undefined -fno-sanitize-recover=address,undefined -fuse-ld=gold ;" >> ~/user-config.jam; fi' - 'if [[ $toolset == "gcc-coverage" ]]; then echo "using gcc : coverage : ccache g++-5 --coverage : -std=c++11 --coverage ;" >> ~/user-config.jam;