[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: powerpc/powerpc64 4.4 build issue on etch



On Thu, 2009-02-19 at 10:22 +0100, Matthias Klose wrote:
> Laurent GUERBY schrieb:
> > I noted this build uses --disable-werror may be it's to workaround the
> > issue above?
> 
> yes, IMO it is more important to have a compiler available to developers than a
> build failure on the Debian platforms. Seeing a build failure for this reason
> means even less build records on these platforms.

FWIW even with --disable-werror the build failed at libgomp.
I restarted it after removing the unconditional -Werror
addition when GCC is used in libgomp/configure:

Index: configure
===================================================================
--- configure	(revision 144268)
+++ configure	(working copy)
@@ -3332,10 +3332,6 @@
 # in both places for now and restore CFLAGS at the end of config.
 save_CFLAGS="$CFLAGS"
 
-# Add -Wall -Werror if we are using GCC.
-if test "x$GCC" = "xyes"; then
-  XCFLAGS="$XCFLAGS -Wall -Werror"
-fi
 
 # Find other programs we need.
 if test -n "$ac_tool_prefix"; then

With this change my build succeeded.

I assume you have a patch to configure.ac/configure in your build?

Laurent



Reply to: