public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/29129] New: Build fails on macos 10.15.7
@ 2022-05-07 14:00 lienze at sourceware dot org
  2022-05-07 14:58 ` [Bug build/29129] " tromey at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: lienze at sourceware dot org @ 2022-05-07 14:00 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29129
           Summary: Build fails on macos 10.15.7
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: lienze at sourceware dot org
  Target Milestone: ---

I encountered the following error while building gdb on macOS 10.15.7
...
  CXX    guile/scm-auto-load.o
guile/guile.c:676:5: error: 'scm_install_gmp_memory_functions' is deprecated
      [-Werror,-Wdeprecated-declarations]
    scm_install_gmp_memory_functions = 0;
    ^
/usr/local/Cellar/guile/3.0.8/include/guile/3.0/libguile/deprecated.h:164:1:
note:
      'scm_install_gmp_memory_functions' has been explicitly marked deprecated
here
SCM_DEPRECATED int scm_install_gmp_memory_functions;
^
/usr/local/Cellar/guile/3.0.8/include/guile/3.0/libguile/scm.h:743:50: note:
expanded from macro
      'SCM_DEPRECATED'
# define SCM_DEPRECATED  SCM_API __attribute__ ((__deprecated__))
                                                 ^
  CXX    guile/scm-block.o
1 error generated.
make[2]: *** [guile/guile.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-gdb] Error 2
make: *** [all] Error 2
...

FTR, the building command is as follows,
$ ./configure --prefix=`pwd`/build --disable-binutils --disable-ld
--disable-gold --disable-gas --disable-sim --disable-gprof --disable-gprofng
CXXFLAGS=-std=gnu++17
$ make

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

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

* [Bug build/29129] Build fails on macos 10.15.7
  2022-05-07 14:00 [Bug build/29129] New: Build fails on macos 10.15.7 lienze at sourceware dot org
@ 2022-05-07 14:58 ` tromey at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2022-05-07 14:58 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Thanks for the report.  I think this is a dup.

The real fix is probably to port the code to Guile 3.
A workaround is to disable warnings, or at least this warning.

*** This bug has been marked as a duplicate of bug 28994 ***

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

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

end of thread, other threads:[~2022-05-07 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-07 14:00 [Bug build/29129] New: Build fails on macos 10.15.7 lienze at sourceware dot org
2022-05-07 14:58 ` [Bug build/29129] " 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).