lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 10 Oct 2013 17:28:21 +0900
From:	Namhyung Kim <namhyung@...nel.org>
To:	Ingo Molnar <mingo@...nel.org>
Cc:	linux-kernel@...r.kernel.org,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	David Ahern <dsahern@...il.com>, Jiri Olsa <jolsa@...hat.com>
Subject: Re: [PATCH 32/52] tools/perf/build: Speed up auto-detection of features by adding a 'test-all' target

On Thu, 10 Oct 2013 09:24:13 +0200, Ingo Molnar wrote:
> * Namhyung Kim <namhyung@...nel.org> wrote:
>
>> On Tue,  8 Oct 2013 12:11:02 +0200, Ingo Molnar wrote:
>> > +test-all:
>> > +	$(BUILD) -Werror -fstack-protector -Wvolatile-register-var -O2 
>> > -Werror -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lunwind -lunwind-x86_64 
>> > -lelf -laudit -I/usr/include/slang -lslang $(shell pkg-config --libs 
>> > --cflags gtk+-2.0 2>/dev/null) $(FLAGS_PERL_EMBED) 
>> > $(FLAGS_PYTHON_EMBED) -DPACKAGE='perf' -DPACKAGE=perf -lbfd -ldl
>> 
>> Also missed -Wstack-protector.  And duplicate -Werror.
>> 
>> Anyway, it'd be great to generate this flags as well as source file 
>> automatically.
>
> Well, the source file would mean some extra construction overhead during 
> detection - but generating the flags ought to be possible, by putting the 
> test-all entry last and generating a rolling ALL_FLAGS variable via the 
> rules above it.
>
> Would you like to write such a patch?

Well, I'll try to do it tomorrow. :)

Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists