This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 270c9937446ca5273caf7fb102bcdba9ed7cff41
- From: brobecke at sourceware dot org
- To: binutils-cvs at sourceware dot org, gdb-cvs at sourceware dot org
- Date: 5 Jun 2014 12:48:00 -0000
- Subject: gdb and binutils branch master updated. 270c9937446ca5273caf7fb102bcdba9ed7cff41
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 270c9937446ca5273caf7fb102bcdba9ed7cff41 (commit)
from a872e241e2c2d23f3b14bc122cea6adc05a40d25 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=270c9937446ca5273caf7fb102bcdba9ed7cff41
commit 270c9937446ca5273caf7fb102bcdba9ed7cff41
Author: Joel Brobecker <brobecker@adacore.com>
Date: Mon May 19 14:46:01 2014 -0700
Make it easy to make --disable-werror the default for both binutils and gdb
The goal of this patch is to provide an easy way to make
--disable-werror the default when building binutils, or the parts
of binutils that need to get built when building GDB. In development
mode, we want to continue making -Werror the default with GCC.
But, when making releases, I think we want to make it as easy as
possible for regular users to successfully build from sources.
GDB already has this kind of feature to turn -Werror as well as
the use of the libmcheck library. As GDB Release Manager, I take
advantage of it to turn those off after having cut the branch.
I'd like to be able to do the same for the binutils bits. And
perhaps Tristan will want to do the same for his releases too
(not sure, binutils builders might be a little savvier than GDB
builders).
This patch introduces a new file, called development.sh, which
just sets a variable called $development. In our development branches
(Eg. "master"), it's set to true. But setting it to false would allow
us to change the default behavior of various development-related
features to be turned off; in this case, it turns off the use of
-Werror by default (use --enable-werror to turn it back on).
bfd/ChangeLog:
* development.sh: New file.
* warning.m4 (AM_BINUTILS_WARNINGS): Source bfd/development.sh.
Make -Werror the default with GCC only if DEVELOPMENT is true.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
$(srcdir)/development.sh.
* Makefile.in, configure: Regenerate.
binutils/ChangeLog:
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
bfd's development.sh.
* Makefile.in, configure: Regenerate.
gas/ChangeLog:
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
bfd's development.sh.
* Makefile.in, configure: Regenerate.
gold/ChangeLog:
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): New.
* Makefile.in, configure: Regenerate.
gprof/ChangeLog:
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
bfd's development.sh.
* Makefile.in, configure: Regenerate.
ld/ChangeLog:
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
bfd's development.sh.
* Makefile.in, configure: Regenerate.
opcodes/ChangeLog:
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
bfd's development.sh.
* Makefile.in, configure: Regenerate.
gdb/ChangeLog:
* development.sh: Delete.
* Makefile.in (config.status): Adjust dependency on development.sh.
* configure.ac: Adjust development.sh source call.
* configure: Regenerate.
gdb/gdbserver/ChangeLog:
* configure.ac: Adjust development.sh source call.
* Makefile.in (config.status): Adjust dependency on development.sh.
* configure: Regenerate.
Tested on x86_64-linux by building two ways: One with DEVELOPMENT
set to true, and one with DEVELOPMENT set to false. In the first
case, I could see the use of -Werror, while it disappeared in
the second case.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 9 +++++++++
bfd/Makefile.am | 3 ++-
bfd/Makefile.in | 3 ++-
bfd/configure | 7 +++++--
{gdb => bfd}/development.sh | 4 +---
bfd/warning.m4 | 7 +++++--
binutils/ChangeLog | 6 ++++++
binutils/Makefile.am | 3 ++-
binutils/Makefile.in | 4 +++-
binutils/configure | 7 +++++--
gas/ChangeLog | 6 ++++++
gas/Makefile.am | 4 +++-
gas/Makefile.in | 5 ++++-
gas/configure | 7 +++++--
gdb/ChangeLog | 7 +++++++
gdb/Makefile.in | 2 +-
gdb/configure | 2 +-
gdb/configure.ac | 2 +-
gdb/gdbserver/ChangeLog | 7 +++++++
gdb/gdbserver/Makefile.in | 2 +-
gdb/gdbserver/configure | 2 +-
gdb/gdbserver/configure.ac | 2 +-
gold/ChangeLog | 5 +++++
gold/Makefile.am | 2 ++
gold/Makefile.in | 1 +
gold/configure | 7 +++++--
gprof/ChangeLog | 6 ++++++
gprof/Makefile.am | 3 ++-
gprof/Makefile.in | 4 +++-
gprof/configure | 7 +++++--
ld/ChangeLog | 6 ++++++
ld/Makefile.am | 3 ++-
ld/Makefile.in | 3 ++-
ld/configure | 11 +++++++----
opcodes/ChangeLog | 6 ++++++
opcodes/Makefile.am | 3 ++-
opcodes/Makefile.in | 4 +++-
opcodes/configure | 7 +++++--
38 files changed, 140 insertions(+), 39 deletions(-)
rename {gdb => bfd}/development.sh (83%)
hooks/post-receive
--
gdb and binutils