Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 17:38:41 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r367883 - in head: Mk lang/gcc
Message-ID:  <54122471.70109@FreeBSD.org>
In-Reply-To: <alpine.LSU.2.11.1409102231390.2867@tuna.site>
References:  <201409101909.s8AJ9wpY028698@svn.freebsd.org> <5410AEB5.9050205@FreeBSD.org> <alpine.LSU.2.11.1409102231390.2867@tuna.site>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--0fRNwCxM8WhF1ug96oQHpUhhSlcNsVNeg
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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.)

Actually it fails to link. Both clang and gcc complain about missing
libasan symbols.

I find no providers of libasan in any of the gcc, llvm or clang packages.=


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.

Simple test case:

# 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


>=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 ou=
tput:
>   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/mak=
efile-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
Regards,
Bryan Drewery


--0fRNwCxM8WhF1ug96oQHpUhhSlcNsVNeg
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iQEcBAEBAgAGBQJUEiRxAAoJEDXXcbtuRpfPFnUH/3Y7Ar2+vWfSreeENmG0WkCB
YgP04FXvdMnS0HN4PJUfyLQN64a7qxxWvt0HEX3MyEBzz1035BdYhHFxJZg4QoiX
eyy5lUI8yWHxt/Y+LctX+/e86YljqvAscIarEpJaqF5T5DD8SKhllhhDdc/R3dQq
xcEF8tVDdvXEa4NPv9cOuG25Zl5ezSvypRPspf5quplqfpiDoRQkVB4I2nBB/bNl
ulgBrAn6Bf2z7lkrnDYnsqEJCw/TEFKDWnCfPEazA72/9alWq27hMXleeIQRWLbO
09jPCIEq8TghF/11DCkUKTPk/LZvpUH6ozAwivTL8BVb8jjSvzSX37Xk9zo28S0=
=qXFC
-----END PGP SIGNATURE-----

--0fRNwCxM8WhF1ug96oQHpUhhSlcNsVNeg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54122471.70109>