svn commit: r367883 - in head: Mk lang/gcc
Bryan Drewery
bdrewery at FreeBSD.org
Thu Sep 11 22:38:53 UTC 2014
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
>> about AddressSanitizer being supported.
>
> You are very welcome! (I haven't tested AddressSanitizer myself,
> but think I recall a positive report by a user. If it does not
> 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=address -o
/dev/null -x c -
/usr/local/bin/ld: cannot find -lasan
collect2: error: ld returned 1 exit status
>
>
> On a related note, when trying to commit the PORTREVISION bump
> related to this commit, I ended up with:
>
> 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
>
> Not super helpful since it did not indicate which of the 1000+ ports
> actually failed this test. ;-) I could bypass this using Approved:
> portmgr (implicit).
>
> Gerald
>
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20140911/7aa9c700/attachment.sig>
More information about the svn-ports-head
mailing list