GNU bug report logs - #20733
coreutils build problem

Previous Next

Package: coreutils;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Thu, 4 Jun 2015 19:18:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #109 received at 20733 <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Pádraig Brady <P <at> draigBrady.com>,
 Michael Felt <mamfelt <at> gmail.com>
Cc: 20733 <at> debbugs.gnu.org
Subject: Re: bug#20733: coreutils build problem
Date: Fri, 05 Jun 2015 13:27:33 -0600
[Message part 1 (text/plain, inline)]
On 06/05/2015 11:53 AM, Pádraig Brady wrote:
> On 05/06/15 17:02, Michael Felt wrote:
>> > Attribute "constructor" is not supported
> 
> Does the attached patch help?
> 

> +++ b/configure.ac
> @@ -455,7 +455,11 @@ if test $gl_cv_list_mounted_fs = yes && test $gl_cv_fs_space = yes; then
>  fi
>  
>  AC_MSG_CHECKING([whether this is system supports stdbuf])
> -AC_COMPILE_IFELSE(
> +ac_save_CFLAGS="$CFLAGS"
> +# Build with -Werror to detect warnings about
> +# about ignored "constructor" arguments.
> +CFLAGS="$CFLAGS -Werror"

-Werror works for gcc and some other compilers like clang, but is not
universal to all compilers.  Are you sure that it is the right flag to
be adding for the duration of this test?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 10 years and 49 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.