public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/27184] New: GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le
@ 2021-01-14 17:00 murphyp at linux dot vnet.ibm.com
  2021-01-14 17:00 ` [Bug gdb/27184] " murphyp at linux dot vnet.ibm.com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: murphyp at linux dot vnet.ibm.com @ 2021-01-14 17:00 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 27184
           Summary: GDB fails to compile when building with
                    -mabi=ieeelongdouble and glibc 2.32 on ppc64le
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: murphyp at linux dot vnet.ibm.com
  Target Milestone: ---

A gnulib header conflicts with the system cdefs.h header preventing the
definition of the long double redirect macros.

This has been fixed upstream in gnulib as of commit
776af40e09b476a41073131a90022572f448c189

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

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

* [Bug gdb/27184] GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le
  2021-01-14 17:00 [Bug gdb/27184] New: GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le murphyp at linux dot vnet.ibm.com
@ 2021-01-14 17:00 ` murphyp at linux dot vnet.ibm.com
  2021-01-14 17:13 ` simark at simark dot ca
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: murphyp at linux dot vnet.ibm.com @ 2021-01-14 17:00 UTC (permalink / raw)
  To: gdb-prs

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

Paul E. Murphy <murphyp at linux dot vnet.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |murphyp at linux dot vnet.ibm.com

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

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

* [Bug gdb/27184] GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le
  2021-01-14 17:00 [Bug gdb/27184] New: GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le murphyp at linux dot vnet.ibm.com
  2021-01-14 17:00 ` [Bug gdb/27184] " murphyp at linux dot vnet.ibm.com
@ 2021-01-14 17:13 ` simark at simark dot ca
  2021-01-14 17:17 ` murphyp at linux dot vnet.ibm.com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: simark at simark dot ca @ 2021-01-14 17:13 UTC (permalink / raw)
  To: gdb-prs

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

Simon Marchi <simark at simark dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simark at simark dot ca

--- Comment #1 from Simon Marchi <simark at simark dot ca> ---
So presumably, we just need to upgrade our gnulib import to fix it?

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

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

* [Bug gdb/27184] GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le
  2021-01-14 17:00 [Bug gdb/27184] New: GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le murphyp at linux dot vnet.ibm.com
  2021-01-14 17:00 ` [Bug gdb/27184] " murphyp at linux dot vnet.ibm.com
  2021-01-14 17:13 ` simark at simark dot ca
@ 2021-01-14 17:17 ` murphyp at linux dot vnet.ibm.com
  2021-01-14 17:36 ` simark at simark dot ca
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: murphyp at linux dot vnet.ibm.com @ 2021-01-14 17:17 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Paul E. Murphy <murphyp at linux dot vnet.ibm.com> ---
It should.  Can the patch be cherrypicked into the copy of gdb? I am not
familiar with how gdb synchronizes with gnulib.

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

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

* [Bug gdb/27184] GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le
  2021-01-14 17:00 [Bug gdb/27184] New: GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le murphyp at linux dot vnet.ibm.com
                   ` (2 preceding siblings ...)
  2021-01-14 17:17 ` murphyp at linux dot vnet.ibm.com
@ 2021-01-14 17:36 ` simark at simark dot ca
  2021-05-12 16:29 ` will_schmidt at vnet dot ibm.com
  2021-05-13 17:09 ` tromey at sourceware dot org
  5 siblings, 0 replies; 7+ messages in thread
From: simark at simark dot ca @ 2021-01-14 17:36 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from Simon Marchi <simark at simark dot ca> ---
It's imported using this script:
https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gnulib/update-gnulib.sh;h=e9b377ca47595d8ba17569e92f9b80b785b0f20b;hb=HEAD

1. Update the GNULIB_COMMIT_SHA1 in that script to the commit you want to
import
2. Run the script, pointing to a gnulib git repo
3. Hope for the best

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

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

* [Bug gdb/27184] GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le
  2021-01-14 17:00 [Bug gdb/27184] New: GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le murphyp at linux dot vnet.ibm.com
                   ` (3 preceding siblings ...)
  2021-01-14 17:36 ` simark at simark dot ca
@ 2021-05-12 16:29 ` will_schmidt at vnet dot ibm.com
  2021-05-13 17:09 ` tromey at sourceware dot org
  5 siblings, 0 replies; 7+ messages in thread
From: will_schmidt at vnet dot ibm.com @ 2021-05-12 16:29 UTC (permalink / raw)
  To: gdb-prs

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

Will Schmidt <will_schmidt at vnet dot ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |will_schmidt at vnet dot ibm.com

--- Comment #4 from Will Schmidt <will_schmidt at vnet dot ibm.com> ---
I see a commit that looks like it addresses the issue..  Is there anything more
that needs to be done here? 

"
commit 9c9d63b15ad548f65f8bfd41cb7a4ef9af5ccb28
Author: Paul E. Murphy <murphyp@linux.ibm.com>
Date:   Fri Jan 22 13:55:45 2021 -0600

    gnulib: update to 776af40e0

    This fixes PR27184, a failure to compile gdb due to
    cdefs.h being out of sync with glibc on ppc64le targets
    which are compiled with -mabi=ieeelongdouble and glibc
    2.32.

"

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

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

* [Bug gdb/27184] GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le
  2021-01-14 17:00 [Bug gdb/27184] New: GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le murphyp at linux dot vnet.ibm.com
                   ` (4 preceding siblings ...)
  2021-05-12 16:29 ` will_schmidt at vnet dot ibm.com
@ 2021-05-13 17:09 ` tromey at sourceware dot org
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at sourceware dot org @ 2021-05-13 17:09 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |11.1
         Resolution|---                         |FIXED
                 CC|                            |tromey at sourceware dot org

--- Comment #5 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to Will Schmidt from comment #4)
> I see a commit that looks like it addresses the issue..  Is there anything
> more that needs to be done here? 

Looks fixed, I'm closing it.

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

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

end of thread, other threads:[~2021-05-13 17:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 17:00 [Bug gdb/27184] New: GDB fails to compile when building with -mabi=ieeelongdouble and glibc 2.32 on ppc64le murphyp at linux dot vnet.ibm.com
2021-01-14 17:00 ` [Bug gdb/27184] " murphyp at linux dot vnet.ibm.com
2021-01-14 17:13 ` simark at simark dot ca
2021-01-14 17:17 ` murphyp at linux dot vnet.ibm.com
2021-01-14 17:36 ` simark at simark dot ca
2021-05-12 16:29 ` will_schmidt at vnet dot ibm.com
2021-05-13 17:09 ` tromey at sourceware dot 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).