X-Loop: help-debbugs@HIDDEN Subject: bug#37650: Fw: Possible bug. Resent-From: George R Goffe <grgoffe@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Mon, 07 Oct 2019 21:34:02 +0000 Resent-Message-ID: <handler.37650.B.157048401431282 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 37650 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 37650 <at> debbugs.gnu.org X-Debbugs-Original-To: "bug-coreutils@HIDDEN" <bug-coreutils@HIDDEN> Reply-To: George R Goffe <grgoffe@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.157048401431282 (code B ref -1); Mon, 07 Oct 2019 21:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Oct 2019 21:33:34 +0000 Received: from localhost ([127.0.0.1]:49237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iHadJ-00088R-Uw for submit <at> debbugs.gnu.org; Mon, 07 Oct 2019 17:33:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:39179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <grgoffe@HIDDEN>) id 1iHadI-00088H-Sn for submit <at> debbugs.gnu.org; Mon, 07 Oct 2019 17:33:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46392) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <grgoffe@HIDDEN>) id 1iHadG-0002Gk-D9 for bug-coreutils@HIDDEN; Mon, 07 Oct 2019 17:33:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <grgoffe@HIDDEN>) id 1iHadF-0008CY-2m for bug-coreutils@HIDDEN; Mon, 07 Oct 2019 17:33:30 -0400 Received: from sonic303-49.consmr.mail.ne1.yahoo.com ([66.163.188.175]:39124) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <grgoffe@HIDDEN>) id 1iHadE-00088j-O0 for bug-coreutils@HIDDEN; Mon, 07 Oct 2019 17:33:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1570484006; bh=1EbefW4T1x8UVZxecqees3JO5Lzi9rCRIw+U3WunGt8=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=QfBrjdG/H7r+xJkxiXQPk2zqUm15ztHXR64TjDKjGh7tg2MwRfeAnNGjpZ+h6CkkQKEeNx15Ns7D4m3VZYUjY1OMeLcXAxRmq9nB4pwW57vmFQk03tX95VyuiN3U2xtsAVjeGQTf+5IA6OCO+dCKAfs8O8o3zg7x2ousDFs+ol9C1S1j71CwR/DV3nRYFAIRX4N1YoOmVZUQsY82qPcgYiybwAouXSR8fne8lyk5vX4G/R0WPHQk2jE0CnOiUdo/bapOMjguXccO8tJJtURbC9Gbc9GB6PvRW8IusR+0o+VagjfYuw+UlggMMusl3uaLkpqvYUhZjGFw4buhsnuabg== X-YMail-OSG: YTYRGTsVM1mpQmZlNgc9iCkS28Fvm_0ujHD98QiBKeVIoziWZCEIVm37xf.u3ht FjED8b9e4WNiIkggj8LCfjUjj3bBkFXjv0.kOEhQ8YDhALn_FWOxT0mFn2_A3JYUT01DOf7qVbPQ 2OJ0cAN9meF3pcpVbz8Be3uuNukDc_1JKyJhH5xjVgQq3CVdwklexqyoL9ArjzncQ3YHulDdYTpv mTu1WJVcXmHTtl6jZkvpRUyApBK51uVmiCaWpSV06fpWeVG9rhLa_62XTHkwHcqa3qngA9vwLWqb b67cTDejaObPyDQ3WCysGeiYm3ERucxrxncehpUQqkLpPBnbzDOAnisCpqk2FbU0PgYOz09fznYr fd1qUaFyUHcG5XzAHjfMywdRH6.OcH2EN1BCPTMGZ6nYguSV209mUBaNfEKJXE5er0p6y_HjpXKS 2dtdpoe9QiwcZdRLrqTObnt7h2uJbAIeZtWOkrjBUyZz9Hh_o_n8MRwV03CH.lKDW60zTyVbI__S cfHQ6BB6GfH3G4tLWTmAzobs6j9l23XFbj9yYJEJCkNIzmV7lB6hLgR5iLqAOCfwmmOruLzebDES yJJYChjLklojyEIZWOStEPswlNHNvJvdVCwm4oqC_I7SN9reloyuUUyo_MnHqPtALR4d_3Cg0Dxu u6N.e3ZGDGWxBJKKLbHOiqvE_9RMlhnfdA1Xe358EBzg_H4__XABAh8MMihACr0Tf8xqcaBRHFin Nftyu_M0vabYEulzcu8NQDzMa2vuBgI7Eo6WWmDbDfZGi2fj8.efAM9BTgtKN3coJIPcCuOZrcia y4_jag73o4CtD7GkE5RceCpsYrBiD1HShfGKhE7hzlEND27EgNmwHMCnlergWgafGTkNzYwGvmD7 yr_UP77dFl3iFrR7H.SyM.zKsacJSOprW6HtAbmeS4LdFY6Lo0uBsPMU8pdL4jlMNkfkGUBl_Zst 8iWpZzeglX2EXqd7RsHgeWcCvno3kiwbaJzlk1Gkf_gXci_d1KSvnU3xJuhNJd63c4YL.lIcQg58 .90ktzp_2rujhcsBeT99q1KBYi1Ura_0V470rbYSadIe8uHnbqt7LFOeCHfzD_o7K9iKS0yO.cK1 hI6k69QIboIjvmW9d7ghd8ldHTURY1DTywoacjlhOCT92653qMtaMtQyAEVTOULE_7yz19ofJ0pD L8151IpGrKmDn4rRGZDvXfCXqaaOAK.tPLhoN5dVY3wiziGQ171AYV4pW2FikFA.OGuUdYWglIl8 yonQMmR4rs6Z.y_qMDLahiEhzcImdzoYqRZJ49q.g7N7wDavZB.h.BWBOf5wG1dakHI2fnrZsGuk ps2Ao5vLIP_7BYYurMQZf7dW.rpkS860JbTU.WYSIYYbP.IN3kJTT9A-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Mon, 7 Oct 2019 21:33:26 +0000 Date: Mon, 7 Oct 2019 21:31:25 +0000 (UTC) From: George R Goffe <grgoffe@HIDDEN> Message-ID: <1790544838.4983517.1570483885734@HIDDEN> In-Reply-To: <1480558296.4953050.1570479157783@HIDDEN> References: <1480558296.4953050.1570479157783.ref@HIDDEN> <1480558296.4953050.1570479157783@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4983516_626753118.1570483885733" X-Mailer: WebService/1.1.14448 YMailNorrin Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0 Content-Length: 2839 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 66.163.188.175 X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.6 (-) ------=_Part_4983516_626753118.1570483885733 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I'm building the "latest" coreutils on my Fedora Core 32 x86_64 system with= two different versions of the gcc compilers. Both builds are failing with = this indication: In file included from lib/nproc.c:50: /usr/include/sys/sysctl.h:21:2: error: #warning "The <sys/sysctl.h> header = is deprecated and will be removed." [-Werror=3Dcpp] 21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed.= " |=C2=A0 ^~~~~~~ cc1: all warnings being treated as errors I guess the builds would succeed if it weren't for the "-Werror=3Dcpp" flag= . I can try removing this flag if you'd like. I thought you might like to s= ee this error though. I can provide build logs for both versions if you need/want them. Best Regards, George... =20 ------=_Part_4983516_626753118.1570483885733 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html><head></head><body><div class=3D"yahoo-style-wrap" style=3D"font-fami= ly:times new roman, new york, times, serif;font-size:16px;"><div style=3D"f= ont-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;co= lor:#26282a;">Hi,<div><div id=3D"ydp3307dafeyiv7040806801"><div><div class= =3D"ydp3307dafeyiv7040806801yahoo-style-wrap" style=3D"font-family:Helvetic= a Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir=3D"ltr"><br>= </div><div dir=3D"ltr">I'm building the "latest" coreutils on my Fedora Cor= e 32 x86_64 system with two different versions of the gcc compilers. Both b= uilds are failing with this indication:</div><div dir=3D"ltr"><br></div><di= v dir=3D"ltr"><div>In file included from lib/nproc.c:50:<br>/usr/include/sy= s/sysctl.h:21:2: error: #warning "The <sys/sysctl.h> header is deprec= ated and will be removed." [-Werror=3Dcpp]<br>21 | #warning "The <sys/sy= sctl.h> header is deprecated and will be removed."<br>| ^~~~~~~<br= >cc1: all warnings being treated as errors<br><br></div><div><br></div><div= dir=3D"ltr">I guess the builds would succeed if it weren't for the "<span>= -Werror=3Dcpp" flag. I can try removing this flag if you'd like. I thought = you might like to see this error though.</span></div><div dir=3D"ltr"><span= ><br></span></div><div dir=3D"ltr"><span>I can provide build logs for both = versions if you need/want them.</span></div><div dir=3D"ltr"><span><br></sp= an></div><div dir=3D"ltr"><span>Best Regards,</span></div><div dir=3D"ltr">= <span><br></span></div><div dir=3D"ltr"><span>George...</span><br></div></d= iv></div></div></div></div> </div><div id=3D"ydp3307dafeyahoo_quoted_1422492629" class=3D"y= dp3307dafeyahoo_quoted"> </div></div></body></html> ------=_Part_4983516_626753118.1570483885733--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: George R Goffe <grgoffe@HIDDEN> Subject: bug#37650: Acknowledgement (Fw: Possible bug.) Message-ID: <handler.37650.B.157048401431282.ack <at> debbugs.gnu.org> References: <1790544838.4983517.1570483885734@HIDDEN> X-Gnu-PR-Message: ack 37650 X-Gnu-PR-Package: coreutils Reply-To: 37650 <at> debbugs.gnu.org Date: Mon, 07 Oct 2019 21:34:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-coreutils@HIDDEN If you wish to submit further information on this problem, please send it to 37650 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 37650: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D37650 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#37650: Fw: Possible bug. Resent-From: Paul Eggert <eggert@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Tue, 08 Oct 2019 01:13:02 +0000 Resent-Message-ID: <handler.37650.B37650.157049716328261 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 37650 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: George R Goffe <grgoffe@HIDDEN>, 37650 <at> debbugs.gnu.org Received: via spool by 37650-submit <at> debbugs.gnu.org id=B37650.157049716328261 (code B ref 37650); Tue, 08 Oct 2019 01:13:02 +0000 Received: (at 37650) by debbugs.gnu.org; 8 Oct 2019 01:12:43 +0000 Received: from localhost ([127.0.0.1]:49289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iHe3P-0007Ll-If for submit <at> debbugs.gnu.org; Mon, 07 Oct 2019 21:12:43 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:55944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1iHe3L-0007LQ-2C for 37650 <at> debbugs.gnu.org; Mon, 07 Oct 2019 21:12:39 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 29D351605B5; Mon, 7 Oct 2019 18:12:33 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id wYfrSKzgyXaw; Mon, 7 Oct 2019 18:12:32 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 71DF81605CF; Mon, 7 Oct 2019 18:12:32 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BE3tXZjlS6Xq; Mon, 7 Oct 2019 18:12:32 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 57D451605B5; Mon, 7 Oct 2019 18:12:32 -0700 (PDT) References: <1480558296.4953050.1570479157783.ref@HIDDEN> <1480558296.4953050.1570479157783@HIDDEN> <1790544838.4983517.1570483885734@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department Message-ID: <a2a31b48-6a97-992a-881a-f642b3f4d649@HIDDEN> Date: Mon, 7 Oct 2019 18:12:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <1790544838.4983517.1570483885734@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) On 10/7/19 2:31 PM, George R Goffe via GNU coreutils Bug Reports wrote: > I guess the builds would succeed if it weren't for the "-Werror=cpp" flag. I can try removing this flag if you'd like. Yes, please do that. It's generally not a good idea to build with different flags than you configured with.
X-Loop: help-debbugs@HIDDEN Subject: bug#37650: Fw: Possible bug. Resent-From: Paul Eggert <eggert@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Tue, 08 Oct 2019 06:54:01 +0000 Resent-Message-ID: <handler.37650.B37650.157051763228499 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 37650 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: George R Goffe <grgoffe@HIDDEN> Cc: 37650 <at> debbugs.gnu.org Received: via spool by 37650-submit <at> debbugs.gnu.org id=B37650.157051763228499 (code B ref 37650); Tue, 08 Oct 2019 06:54:01 +0000 Received: (at 37650) by debbugs.gnu.org; 8 Oct 2019 06:53:52 +0000 Received: from localhost ([127.0.0.1]:49397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iHjNX-0007Pb-Tf for submit <at> debbugs.gnu.org; Tue, 08 Oct 2019 02:53:52 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:34882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1iHjNU-0007PG-Kz for 37650 <at> debbugs.gnu.org; Tue, 08 Oct 2019 02:53:50 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D13861605EA; Mon, 7 Oct 2019 23:53:40 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id HS7AZuA9n8zM; Mon, 7 Oct 2019 23:53:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2795D1605EB; Mon, 7 Oct 2019 23:53:40 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id p_P--ReR-mcu; Mon, 7 Oct 2019 23:53:40 -0700 (PDT) Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 029241605EA; Mon, 7 Oct 2019 23:53:39 -0700 (PDT) References: <1480558296.4953050.1570479157783.ref@HIDDEN> <1480558296.4953050.1570479157783@HIDDEN> <1790544838.4983517.1570483885734@HIDDEN> <a2a31b48-6a97-992a-881a-f642b3f4d649@HIDDEN> <900525019.5139337.1570507963179@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department Message-ID: <597c04ea-79ae-7ad2-3f99-1c508c0102d2@HIDDEN> Date: Mon, 7 Oct 2019 23:53:39 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <900525019.5139337.1570507963179@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) On 10/7/19 9:12 PM, George R Goffe wrote: > The intent of the configure directive "--enable-gcc-warnings" that states, "turn on many GCC warnings (for developers; best with GNU make)" is, I guess, to warn developers of situations they need to be aware of. Sorry, it looks like I misunderstood your bug report. --enable-gcc-warnings is intended for developers, that is, people who are maintaining or modifying coreutils. It tends to generate so many false alarms that it is not intended for builders (people who are compiling and installing coreutils). This particular diagnostic appears to be a false alarm, as coreutils should configure and build just find if sys/sysctl.h is missing. So I suggest either ignoring the warning, or omitting --enable-gcc-warnings, or (and this is hardest suggestion, and meant only if you want to become a developer) developing a patch that pacifies your compiler.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.