Bug 23918 - gdb --with-guile=guile-2.2 fails as:guile/scm-ports.c:143:10: error: 'scm_new_port_table_entry' was not declared in this scope
Summary: gdb --with-guile=guile-2.2 fails as:guile/scm-ports.c:143:10: error: 'scm_new...
Status: RESOLVED DUPLICATE of bug 21104
Alias: None
Product: gdb
Classification: Unclassified
Component: guile (show other bugs)
Version: 8.2
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-24 15:52 UTC by Sergei Trofimovich
Modified: 2020-01-18 17:12 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich 2018-11-24 15:52:41 UTC
Reproducible on current master against guile-2.2.3 installed:
    $ ../binutils-gdb/configure --with-guile=guile-2.2
    $ make

  CXX    guile/scm-ports.o
../../binutils-gdb/gdb/guile/scm-ports.c: In function 'scm_unused_struct* ioscm_open_port(scm_t_bits, long int)':
../../binutils-gdb/gdb/guile/scm-ports.c:143:10: error: 'scm_new_port_table_entry' was not declared in this scope
   port = scm_new_port_table_entry (port_type);
          ^~~~~~~~~~~~~~~~~~~~~~~~

scm_new_port_table_entry() was removed in guile in:

    http://git.savannah.gnu.org/cgit/guile.git/commit/?id=cd51ce81d047a10c55c450ea7b2bf5ab8b8340be

    $ git tag --contains=cd51ce81d047a10c55c450ea7b2bf5ab8b8340be
    v2.1.3

Thanks!
Comment 1 Simon Marchi 2020-01-18 17:12:04 UTC
I'll close this as a duplicate of #21104.  It's not the same guile version that is mentioned, but it's the same idea.

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