I've just built next using the latest gcc built from upstream's trunk. Doing that required the following minor changes, which I've just pushed:
>From 7338274ec849503c552e2d4824f3fdabad2279ea Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Tue, 18 Aug 2009 20:50:03 +0200 Subject: [PATCH 1/3] build: update from gnulib * gnulib: Update submodule to latest. * bootstrap.conf (gnulib_modules): Add update-copyright * cfg.mk (update-copyright-env): Define. --- bootstrap.conf | 1 + cfg.mk | 2 ++ gnulib | 2 +- 3 files changed, 4 insertions(+), 1 deletions(-) diff --git a/bootstrap.conf b/bootstrap.conf index 43039ea..8bf9c3f 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -48,6 +48,7 @@ gnulib_modules=" progname safe-read stdbool + update-copyright useless-if-before-free vc-list-files version-etc-fsf diff --git a/cfg.mk b/cfg.mk index 976e849..9ed498e 100644 --- a/cfg.mk +++ b/cfg.mk @@ -54,3 +54,5 @@ export VERBOSE = yes old_NEWS_hash = dba244ff41365956a9f702ad050262c0 include $(srcdir)/dist-check.mk + +update-copyright-env = UPDATE_COPYRIGHT_USE_INTERVALS=1 diff --git a/gnulib b/gnulib index 2d8b95d..3ef6401 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit 2d8b95d62cc4d6524fa6c4dbc3138d88a5839159 +Subproject commit 3ef64012bf653379fda629f5a6b619be4c1f2e69 -- 1.6.4.378.g88f2f >From d116e8e5b337b4eb379cef39eaec255d26a1b553 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Tue, 18 Aug 2009 21:24:53 +0200 Subject: [PATCH 2/3] build: ignore new -Wjump-misses-init warnings * configure.ac: Ignore warnings from gcc's new -Wjump-misses-init. --- configure.ac | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 17958a0..0500b5b 100644 --- a/configure.ac +++ b/configure.ac @@ -256,6 +256,9 @@ if test "$gl_gcc_warnings" = yes; then gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now gl_WARN_ADD([-Wno-unused-macros]) # Too many warnings for now + # FIXME: investigate these + gl_WARN_ADD([-Wno-jump-misses-init]) + # In spite of excluding -Wlogical-op above, it is enabled, as of # gcc 4.5.0 20090517, and it provokes warnings in cat.c, dd.c, truncate.c gl_WARN_ADD([-Wno-logical-op]) -- 1.6.4.378.g88f2f >From 9ebcb0f6ed559edb78818b9ebaf90456de1080f2 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Tue, 18 Aug 2009 22:05:34 +0200 Subject: [PATCH 3/3] build: update dist-check rules * dist-check.mk: Merge from coreutils. --- dist-check.mk | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dist-check.mk b/dist-check.mk index 0f20af2..76604a4 100644 --- a/dist-check.mk +++ b/dist-check.mk @@ -1,6 +1,5 @@ # Most of this is probably too coreutils-centric to be useful to other packages. -warn_cflags = -Dlint -O -Werror -Wall -Wformat -Wshadow -Wpointer-arith bin=bin-$$$$ write_loser = printf '\#!%s\necho $$0: bad path 1>&2; exit 1\n' '$(SHELL)' @@ -101,9 +100,8 @@ my-distcheck: $(DIST_ARCHIVES) $(local-check) mkdir -p $(t) GZIP=$(GZIP_ENV) $(AMTAR) -C $(t) -zxf $(distdir).tar.gz cd $(t)/$(distdir) \ - && ./configure --disable-nls \ - && $(MAKE) CFLAGS='$(warn_cflags)' \ - AM_MAKEFLAGS='$(null_AM_MAKEFLAGS)' \ + && ./configure --enable-gcc-warnings --disable-nls \ + && $(MAKE) AM_MAKEFLAGS='$(null_AM_MAKEFLAGS)' \ && $(MAKE) dvi \ && $(install-transform-check) \ && $(my-instcheck) \ -- 1.6.4.378.g88f2f _______________________________________________ parted-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/parted-devel

