-----Original Message----- From: Tobias Burnus [mailto:tob...@codesourcery.com] Sent: Monday, October 19, 2020 6:03 PM To: gcc-patches <gcc-patches@gcc.gnu.org>; Rainer Orth <r...@cebitec.uni-bielefeld.de>; Mike Stump <mikest...@comcast.net> Subject: [Patch] testsuite: Avoid TCL errors when rootme or ASAN/TSAN/UBSAN is not available (was: Re: [Patch] testsuite: Avoid TCL errors when ASAN/TSAN/UBSAN is not available) Thomas Schwinge and Joseph convinced me that 'rootme' only makes sense for in-tree testing and, hence, does not need (or: should not) be set in site.exp. Thus, if it is not set, we have to check its existence before using it - to avoid similar TCL errors. Hence, I updated the patch to check also for 'rootme'. OK? Tobias On 10/19/20 11:46 AM, Tobias Burnus wrote: > In a --disable-libsanitizer build, I see errors such as: > g++.sum:ERROR: can't read "asan_saved_library_path": no such > variable > > I believe the following patch is the right way to solve this. > OK? > > Tobias > ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter