Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLU0-SMTP84FE2BF51259A11577D97FDCD0@phx.gbl>
Date: Tue, 16 Apr 2013 11:04:25 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Makefile changes to make building *-clang-debug easier

Hi all,

currently, -faddress-sanitizer is used for the *-clang-debug builds.

But clang 3.2 complains that this option is deprecated, and suggests
using -fsanitize=address instead.
I am, however, not sure whether or not older clang versions support
-faddress-sanitizer, but not -fsanitize=address.

Due to https://bugzilla.redhat.com/show_bug.cgi?id=949489, none of these
options can be used on Fedora 18.
That's why I decided to patch Makefile and introduce a new variable,
CFLAG_SANITIZE_ADDRESS.
I also changed the default from the old -faddress-sanitizer to the new
-fsanitize=address.
This might destroy backwards compatibility, so I am not sure whether I
should send a pull request for unstable.
That's why I just attach the patch.
OTOH, the *-clang-debug targets are intended for developers, not for end
users. They are not even mentioned when just using "make".

What do you think?

Frank

View attachment "0001-Makefile-changes-to-make-building-clang-debug-target.patch" of type "text/x-patch" (7090 bytes)

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.