From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 574C5385E006; Wed, 25 Mar 2020 14:37:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 574C5385E006 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585147072; bh=mDo6fgZKe4jPrAQauKjq9Pm7b8/Wm4HKfg+MCiLTkLk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=b98CphValD7+Lv7iBFbzr4QcTZB1O5fBN9As7uaZDDeymbQp460YTpT2UKbRNHjov 2N/56C6GCKfFnsKyyhGMTEifLVIfSbbyL0fwkHNFVW1kIT8DY6KzalXUFV6pO8GSux NNW2VOzmt3ctTnDnncfzWQw542DW19eRIGWQWok8= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/94328] Logging of defects to file does not work with Asan and Ubsan combined Date: Wed, 25 Mar 2020 14:37:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 6.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2020 14:37:52 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94328 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #7 from Martin Li=C5=A1ka --- I can confirm that. It's related to fact that clang links sanitizer library statically, while GCC dynamically. $ ldd a.out | grep san libasan.so.6 =3D> /home/marxin/bin/gcc2/lib64/libasan.so.6 (0x00007ffff7601000) libubsan.so.1 =3D> /home/marxin/bin/gcc2/lib64/libubsan.so.1 (0x00007ffff693e000) And there's some clashing of common_flags()->log_path. @Jakub: I remember we had one similar problem..=