From owner-freebsd-toolchain@FreeBSD.ORG Tue Oct 22 13:14:28 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BB80FE31 for ; Tue, 22 Oct 2013 13:14:28 +0000 (UTC) (envelope-from squid@peralex.com) Received: from mail.peralex.com (mail.peralex.com [41.164.8.44]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 53CB62A75 for ; Tue, 22 Oct 2013 13:14:27 +0000 (UTC) Received: from [192.168.1.102] (www2.peralex.com [41.164.8.42]) (Authenticated sender: mark@nmail.ct) by mail.peralex.com (Postfix) with ESMTPSA id 626D5336F2B for ; Tue, 22 Oct 2013 15:04:51 +0200 (SAST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=peralex.com; s=default; t=1382447091; bh=wQu6/kC8/1vSOo2jj5Lb19rotaB0fEmMIH5omt1uwsc=; h=Date:From:To:Subject; b=ntSPGYUDH2HPWhk264EthsObDvJhuPDazSQxsAco4Ov9HUCs3/jUKMqFPiM+VAKR7 h569LA52Un1DbEuFI+lnV3ceWZGEUxHs4kj0TAZcrY1t1T7Fcwx0BJk2aXmPwgbQrC qkUH7kJWZfDAjsxKBP87MyaSfx5kTbkAyXi2tLp8= Message-ID: <5266780F.70201@peralex.com> Date: Tue, 22 Oct 2013 15:05:19 +0200 From: squid@peralex.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-toolchain@freebsd.org Subject: clang sanitizers (memory, address, etc) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.peralex.com); Tue, 22 Oct 2013 15:04:51 +0200 (SAST) X-Scanned-By: MIMEDefang 2.74 on 41.164.8.44 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 13:14:28 -0000 Good day, 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? Thanks Mark