public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/31315] New: Build failure with gcc 6.4.1
@ 2024-01-29 19:17 skpgkp1 at gmail dot com
  2024-01-29 21:23 ` [Bug build/31315] " fweimer at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: skpgkp1 at gmail dot com @ 2024-01-29 19:17 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31315

            Bug ID: 31315
           Summary: Build failure with gcc 6.4.1
           Product: glibc
           Version: 2.37
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: skpgkp1 at gmail dot com
                CC: carlos at redhat dot com
  Target Milestone: ---

Glib 2.37 branch fail to build with gcc 6.4.1 on x86 platform with following
error message.

netname.c: In function ?user2netname?:
netname.c:56:52: error: unknown option after ?#pragma GCC diagnostic? kind
[-Werror=pragmas]
   DIAG_IGNORE_NEEDS_COMMENT (8, "-Wformat-overflow");
                                                    ^

Build successfully with gcc 7.1.1.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug build/31315] Build failure with gcc 6.4.1
  2024-01-29 19:17 [Bug build/31315] New: Build failure with gcc 6.4.1 skpgkp1 at gmail dot com
@ 2024-01-29 21:23 ` fweimer at redhat dot com
  2024-01-29 22:13 ` [Bug build/31315] Build failure with gcc 6.4.1 in sunrpc/netname.c fweimer at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2024-01-29 21:23 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31315

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com
   Last reconfirmed|                            |2024-01-29
                 CC|                            |fweimer at redhat dot com
     Ever confirmed|0                           |1

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Needs backport of:

commit 0eb6b2725ba4aae73c03ac1f05c31cd2a073c99a
Author: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Date:   Mon Jul 24 14:15:23 2023 -0300

    sunrpc: Fix netname build with older gcc

    The -Wformat-overflow was added by gcc 8.
    Reviewed-by: Carlos O'Donell <carlos@redhat.com>

I'm testing a build.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug build/31315] Build failure with gcc 6.4.1 in sunrpc/netname.c
  2024-01-29 19:17 [Bug build/31315] New: Build failure with gcc 6.4.1 skpgkp1 at gmail dot com
  2024-01-29 21:23 ` [Bug build/31315] " fweimer at redhat dot com
@ 2024-01-29 22:13 ` fweimer at redhat dot com
  2024-01-30  0:01 ` skpgkp1 at gmail dot com
  2024-01-30  0:02 ` skpgkp1 at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2024-01-29 22:13 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31315

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.37
             Status|ASSIGNED                    |RESOLVED
            Summary|Build failure with gcc      |Build failure with gcc
                   |6.4.1                       |6.4.1 in sunrpc/netname.c
         Resolution|---                         |FIXED

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Fix backported:

commit 8b8a3f0aafa30510abc5809db99c026af9a48016
Author: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Date:   Mon Jul 24 14:15:23 2023 -0300

    sunrpc: Fix netname build with older gcc

    The -Wformat-overflow was added by gcc 8.
    Reviewed-by: Carlos O'Donell <carlos@redhat.com>

    (cherry picked from commit 0eb6b2725ba4aae73c03ac1f05c31cd2a073c99a)

Please add a comment if it doesn't work for you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug build/31315] Build failure with gcc 6.4.1 in sunrpc/netname.c
  2024-01-29 19:17 [Bug build/31315] New: Build failure with gcc 6.4.1 skpgkp1 at gmail dot com
  2024-01-29 21:23 ` [Bug build/31315] " fweimer at redhat dot com
  2024-01-29 22:13 ` [Bug build/31315] Build failure with gcc 6.4.1 in sunrpc/netname.c fweimer at redhat dot com
@ 2024-01-30  0:01 ` skpgkp1 at gmail dot com
  2024-01-30  0:02 ` skpgkp1 at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: skpgkp1 at gmail dot com @ 2024-01-30  0:01 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31315

--- Comment #3 from skpgkp1 at gmail dot com ---
Thanks, this backport fixes the build issue on x86.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug build/31315] Build failure with gcc 6.4.1 in sunrpc/netname.c
  2024-01-29 19:17 [Bug build/31315] New: Build failure with gcc 6.4.1 skpgkp1 at gmail dot com
                   ` (2 preceding siblings ...)
  2024-01-30  0:01 ` skpgkp1 at gmail dot com
@ 2024-01-30  0:02 ` skpgkp1 at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: skpgkp1 at gmail dot com @ 2024-01-30  0:02 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31315

--- Comment #4 from skpgkp1 at gmail dot com ---
Thanks, this backport fixes the build issue on x86.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-30  0:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-29 19:17 [Bug build/31315] New: Build failure with gcc 6.4.1 skpgkp1 at gmail dot com
2024-01-29 21:23 ` [Bug build/31315] " fweimer at redhat dot com
2024-01-29 22:13 ` [Bug build/31315] Build failure with gcc 6.4.1 in sunrpc/netname.c fweimer at redhat dot com
2024-01-30  0:01 ` skpgkp1 at gmail dot com
2024-01-30  0:02 ` skpgkp1 at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).