GNU bug report logs - #55010
Compiling from git clone

Previous Next

Package: coreutils;

Reported by: Ken Ingram <ken.ingram <at> gmail.com>

Date: Mon, 18 Apr 2022 23:13:02 UTC

Severity: normal

Tags: moreinfo

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#55010: closed (Compiling from git clone)
Date: Wed, 20 Apr 2022 16:49:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 20 Apr 2022 09:47:59 -0700
with message-id <6c72d4ea-b9f9-20f8-fa02-ac2b48809bc8 <at> cs.ucla.edu>
and subject line Re: bug#55010: Compiling from git clone
has caused the debbugs.gnu.org bug report #55010,
regarding Compiling from git clone
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
55010: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=55010
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ken Ingram <ken.ingram <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Compiling from git clone
Date: Mon, 18 Apr 2022 14:47:39 -0700
[Message part 3 (text/plain, inline)]
Making all in .
make[2]: Entering directory '/home/kingram/src/coreutils'
  CC       lib/libcoreutils_a-randperm.o
lib/randperm.c: In function 'sparse_new':
lib/randperm.c:111:1: error: function might be candidate for attribute
'malloc' if it is known to return normally
[-Werror=suggest-attribute=malloc]
 sparse_new (size_t size_hint)
 ^~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:15588: lib/libcoreutils_a-randperm.o] Error 1
make[2]: Leaving directory '/home/kingram/src/coreutils'
make[1]: *** [Makefile:21009: all-recursive] Error 1
make[1]: Leaving directory '/home/kingram/src/coreutils'
make: *** [Makefile:8267: all] Error 2
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Ken Ingram <ken.ingram <at> gmail.com>
Cc: 55010-done <at> debbugs.gnu.org
Subject: Re: bug#55010: Compiling from git clone
Date: Wed, 20 Apr 2022 09:47:59 -0700
On 4/19/22 22:54, Ken Ingram wrote:
> So I guess I'm on an "old" compiler compared to 11.2.1

Yes, so let's not worry about the warning, as it suggests adding clutter 
unnecessary in modern compilers, it's easy to ignore the warnings in 
older compilers, and this is an issue only when using 
--enable-gcc-warnings or when building from git and not using 
--disable-gcc-warnings.


This bug report was last modified 3 years and 31 days ago.

Previous Next


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