public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/30478] New: netname compilation problem
@ 2023-05-21  8:53 jpelletier at ieee dot org
  2023-05-21  9:03 ` [Bug libc/30478] " schwab@linux-m68k.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jpelletier at ieee dot org @ 2023-05-21  8:53 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 30478
           Summary: netname compilation problem
           Product: glibc
           Version: 2.37
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jpelletier at ieee dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

There's a compilation problem in this file:
glibc-2.37/sunrpc/netname.c line 56
        -DIAG_IGNORE_NEEDS_COMMENT (8, "-Wformat-overflow");

If I comment out the DIAG macros, compilation works.

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

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

* [Bug libc/30478] netname compilation problem
  2023-05-21  8:53 [Bug libc/30478] New: netname compilation problem jpelletier at ieee dot org
@ 2023-05-21  9:03 ` schwab@linux-m68k.org
  2023-05-21  9:05 ` jpelletier at ieee dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2023-05-21  9:03 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
What exactly is the error you get?

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

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

* [Bug libc/30478] netname compilation problem
  2023-05-21  8:53 [Bug libc/30478] New: netname compilation problem jpelletier at ieee dot org
  2023-05-21  9:03 ` [Bug libc/30478] " schwab@linux-m68k.org
@ 2023-05-21  9:05 ` jpelletier at ieee dot org
  2023-05-21  9:07 ` schwab@linux-m68k.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jpelletier at ieee dot org @ 2023-05-21  9:05 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from Jacques Pelletier <jpelletier at ieee dot org> ---
Le 2023-05-21 à 05 h 03, schwab@linux-m68k.org a écrit :
> https://sourceware.org/bugzilla/show_bug.cgi?id=30478
>
> --- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
> What exactly is the error you get?
>
netname.c:56:52: error: unknown option after ‘#pragma GCC diagnostic’

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

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

* [Bug libc/30478] netname compilation problem
  2023-05-21  8:53 [Bug libc/30478] New: netname compilation problem jpelletier at ieee dot org
  2023-05-21  9:03 ` [Bug libc/30478] " schwab@linux-m68k.org
  2023-05-21  9:05 ` jpelletier at ieee dot org
@ 2023-05-21  9:07 ` schwab@linux-m68k.org
  2023-05-21  9:22 ` jpelletier at ieee dot org
  2023-05-21  9:48 ` schwab@linux-m68k.org
  4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2023-05-21  9:07 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
Which compiler are you using?

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

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

* [Bug libc/30478] netname compilation problem
  2023-05-21  8:53 [Bug libc/30478] New: netname compilation problem jpelletier at ieee dot org
                   ` (2 preceding siblings ...)
  2023-05-21  9:07 ` schwab@linux-m68k.org
@ 2023-05-21  9:22 ` jpelletier at ieee dot org
  2023-05-21  9:48 ` schwab@linux-m68k.org
  4 siblings, 0 replies; 6+ messages in thread
From: jpelletier at ieee dot org @ 2023-05-21  9:22 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #4 from Jacques Pelletier <jpelletier at ieee dot org> ---
Le 2023-05-21 à 05 h 07, schwab@linux-m68k.org a écrit :
> https://sourceware.org/bugzilla/show_bug.cgi?id=30478
>
> --- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
> Which compiler are you using?
>
I'm using gcc, version is 10.1.0

I'm programming on a Banana Pi M2 zero, the distribution is Raspbian

https://forum.banana-pi.org/t/banana-pi-bpi-m2-zero-new-image-2020-04-10-raspbian-jessie-ap6212-bpi-m2z-sd-emmc-image/10978

2020-04-10-raspbian-jessie-ap6212-bpi-m2z-sd-emmc

Also, I had to configure with prefix = /usr, but when doing make 
install, the whole thing crashed.

I'm trying to compile this for work, so it's a show stopper. I have 
something due tuesday.


JP

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

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

* [Bug libc/30478] netname compilation problem
  2023-05-21  8:53 [Bug libc/30478] New: netname compilation problem jpelletier at ieee dot org
                   ` (3 preceding siblings ...)
  2023-05-21  9:22 ` jpelletier at ieee dot org
@ 2023-05-21  9:48 ` schwab@linux-m68k.org
  4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2023-05-21  9:48 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> ---
Looks like a bug in the compiler you are using.

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

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

end of thread, other threads:[~2023-05-21  9:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-21  8:53 [Bug libc/30478] New: netname compilation problem jpelletier at ieee dot org
2023-05-21  9:03 ` [Bug libc/30478] " schwab@linux-m68k.org
2023-05-21  9:05 ` jpelletier at ieee dot org
2023-05-21  9:07 ` schwab@linux-m68k.org
2023-05-21  9:22 ` jpelletier at ieee dot org
2023-05-21  9:48 ` schwab@linux-m68k.org

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).