From owner-freebsd-toolchain@FreeBSD.ORG Tue Oct 22 16:31:05 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8E8D2CA9 for ; Tue, 22 Oct 2013 16:31:05 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4E9ED2693 for ; Tue, 22 Oct 2013 16:31:04 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::206e:4072:a9e9:aa9f] (unknown [IPv6:2001:7b8:3a7:0:206e:4072:a9e9:aa9f]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id EE9565C5A; Tue, 22 Oct 2013 18:30:53 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_12A32AB1-4BCE-457F-973A-1468ABB78A8E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: clang sanitizers (memory, address, etc) From: Dimitry Andric In-Reply-To: <5266780F.70201@peralex.com> Date: Tue, 22 Oct 2013 18:30:45 +0200 Message-Id: References: <5266780F.70201@peralex.com> To: squid@peralex.com X-Mailer: Apple Mail (2.1510) Cc: freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 16:31:05 -0000 --Apple-Mail=_12A32AB1-4BCE-457F-973A-1468ABB78A8E Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On Oct 22, 2013, at 15:05, squid@peralex.com wrote: > I'm running current, and I've managed to compile, but not link some code > using -sanitizer=memory. The linker is missing some symbols > (__msan_memcpy and others), and I can't find the appropriate library. > I've found no mention of anybody using the sanitizers on FreeBSD though. > > Are those symbols available for FreeBSD, and if so, what library are > they in? Or are the sanitizers only available for Linux? The sanitizers have not yet been ported, and while I have heard that some work was done, there is no coordinated effort yet. This is one of the many items on my todo-lists, but other things came first... -Dimitry --Apple-Mail=_12A32AB1-4BCE-457F-973A-1468ABB78A8E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iEYEARECAAYFAlJmqEEACgkQsF6jCi4glqMubQCg+iSZ/XyFC47KGaNff+7p5uED Z0oAmwSXy6EEWIbPAiMbppS3FvNO9TQ4 =Ttah -----END PGP SIGNATURE----- --Apple-Mail=_12A32AB1-4BCE-457F-973A-1468ABB78A8E--