From owner-svn-ports-head@FreeBSD.ORG Thu Sep 11 23:35:35 2014 Return-Path: Delivered-To: svn-ports-head@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 ESMTPS id 7E83C87E; Thu, 11 Sep 2014 23:35:35 +0000 (UTC) Received: from apnoea.adamw.org (apnoea.adamw.org [204.109.59.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 569636A2; Thu, 11 Sep 2014 23:35:34 +0000 (UTC) Received: from [192.168.192.25] (dhcp-108-170-169-12.cable.user.start.ca [108.170.169.12]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by apnoea.adamw.org (Postfix) with ESMTPSA id 35CC4114007; Thu, 11 Sep 2014 19:29:01 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r367883 - in head: Mk lang/gcc From: Adam Weinberger In-Reply-To: <54122471.70109@FreeBSD.org> Date: Thu, 11 Sep 2014 19:28:59 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <0496640B-F902-401E-B02E-E85506A2FFF5@adamw.org> References: <201409101909.s8AJ9wpY028698@svn.freebsd.org> <5410AEB5.9050205@FreeBSD.org> <54122471.70109@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.1878.6) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Gerald Pfeifer , ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2014 23:35:35 -0000 On 11 Sep, 2014, at 18:38, Bryan Drewery wrote: > On 9/10/2014 4:32 PM, Gerald Pfeifer wrote: >> On Wed, 10 Sep 2014, Bryan Drewery wrote: >>> Thanks for writing up a summary of changes. Very useful. I learned=20= >>> about AddressSanitizer being supported. >>=20 >> You are very welcome! (I haven't tested AddressSanitizer myself,=20 >> but think I recall a positive report by a user. If it does not=20 >> work properly we might look into lang/gcc49 or lang/gcc5.) >=20 > Actually it fails to link. Both clang and gcc complain about missing > libasan symbols. >=20 > I find no providers of libasan in any of the gcc, llvm or clang = packages. >=20 > It appears it is a submodule of both gcc and clang. So it likely just > need to be hooked up in the build for gcc. >=20 > Simple test case: >=20 > # echo 'int main() {return 0;}'|g++5 -Wall -fsanitize=3Daddress -o > /dev/null -x c - > /usr/local/bin/ld: cannot find -lasan > collect2: error: ld returned 1 exit status =46rom lang/gcc/work/gcc-4.8.3/libsanitizer/configure.tgt: case "${target}" in x86_64-*-linux* | i?86-*-linux*) if test x$ac_cv_sizeof_void_p =3D x8; then TSAN_SUPPORTED=3Dyes fi ;; powerpc*le-*-linux*) UNSUPPORTED=3D1 ;; powerpc*-*-linux*) ;; sparc*-*-linux*) ;; x86_64-*-darwin[1]* | i?86-*-darwin[1]*) TSAN_SUPPORTED=3Dno ;; *) UNSUPPORTED=3D1 ;; esac In configure output: checking for libsanitizer support=85 no # Adam --=20 Adam Weinberger adamw@adamw.org http://www.adamw.org >=20 >=20 >>=20 >>=20 >> On a related note, when trying to commit the PORTREVISION bump=20 >> related to this commit, I ended up with: >>=20 >> svn: E165001: Commit failed (details follow): >> svn: E165001: Commit blocked by pre-commit hook (exit code 1) with = output: >> Do not commit ports with NOPORTDOCS or NOPORTEXAMPLES. >> The port must be converted to proper OPTIONS. See >> = http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile= -options.html >>=20 >> Not super helpful since it did not indicate which of the 1000+ ports=20= >> actually failed this test. ;-) I could bypass this using Approved: >> portmgr (implicit). >>=20 >> Gerald >>=20 >=20 >=20 > --=20 > Regards, > Bryan Drewery