Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 16 Apr 2013 11:08:40 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Makefile changes to make building *-clang-debug easier

On 16 Apr, 2013, at 11:04 , Frank Dittrich <frank_dittrich@...mail.com> wrote:

> 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
> <0001-Makefile-changes-to-make-building-clang-debug-target.patch>

I haven't tried it yet but it sounds like a good idea to me.

magnum

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.