Ping. -Maxim -------- Original Message -------- Subject: [PATCH] Fix libbacktrace and libiberty tests fail on sanitized GCC due to wrong link options. Date: Wed, 05 Nov 2014 19:48:06 +0400 From: Maxim Ostapenko To: GCC Patches CC: Yury Gribov , Jakub Jelinek , Slava Garbuzov Hi, When I ran Asan tests under Asan-bootstrapped GCC 5.0, I've noted, that tests for libiberty and libbacktrace fail to link with sanitized libbacktrace.a and libiberty.a because of missing -static-libasan -fsanitize=address linker flags. This patch adds necessary flags to provide a linkage of these tests in bootstrap-asan case. I've checked that regression tests pass with disabled bootstrap, normal bootstrap (stage1, stage3) and Asan-bootstrap (stage 1, stage3) on x86_64-unknown-linux-gnu. Does the patch look sane? -Maxim