This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC patch] non-release srctrees: --enable-targets=all & 64bit & -lmcheck
- From: Alan Modra <amodra at gmail dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, binutils at sourceware dot org
- Date: Sun, 20 May 2012 23:29:16 +0930
- Subject: Re: [RFC patch] non-release srctrees: --enable-targets=all & 64bit & -lmcheck
- References: <20120518211410.GA32107@host2.jankratochvil.net>
On Fri, May 18, 2012 at 11:14:10PM +0200, Jan Kratochvil wrote:
> --enable-targets=all commonly discovers checked in regressions:
> http://sourceware.org/ml/binutils/2012-05/msg00271.html
Not in this particular case. I built binutils for native x86_64-linux
--enable-targes=all. In fact, I also built 115 different cross
targets (needed to test gas reasonably well). I've now added one more
target. :)
> http://sourceware.org/ml/gdb-patches/2012-05/msg00548.html
> http://sourceware.org/ml/gdb-patches/2012-05/msg00003.html
> http://sourceware.org/ml/gdb-patches/2012-03/msg00279.html
> http://sourceware.org/ml/gdb-patches/2011-03/msg00600.html
> (many more, I did not search too thoroughly)
There are cases where building with --enable-targets=all hides bugs,
for example
http://sourceware.org/ml/binutils/2012-05/msg00219.html
> --enable-64-bit-bfd is required for full --enable-targets=all.
Always building with a 64-bit bfd hides another class of bug.
I'm not in favour of this patch. Yes, it may help first-time
contributors in testing their patches, but means yet another change in
configure options for anyone past that stage. (Hey, I tested my patch
on 32-bit i686-linux and 64-bit x86_64-linux and you say it's not
64-bit clean??)
--
Alan Modra
Australia Development Lab, IBM