Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 5 Jul 2012 18:21:30 +0200
From: Frank Dittrich <>
Subject: warning: argument unused during compilation: '-faddress-sanitizer'
 for clang-debug


$ clang -dumpversion

$ clang --version
clang version 2.9 (tags/RELEASE_29/final)
Target: i386-redhat-linux-gnu
Thread model: posix

I get a warning per .c file when building linux-x86-debug:
clang: warning: argument unused during compilation: '-faddress-sanitizer'

clang version 3.1 supports -faddress-sanitizer, clang version 2.9 doesn't.

clang 3.0 which also claims to be gcc 4.2.1 compatible also doesn't
support this flag (tested for linux-x86-64-clang-debug under Fedora 17).

Does anybody know how to adjust the Makefile to include
-faddress-sanitizer into the CFLAGS for the two clang-debug targets only
if the clang version is >= 3.1?
(I don't know what clang -dumpversion prints for that release.)


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.