Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdb fails to build against guile 2.2 (was: arm-unknown-linux-gnueabi cross-gdb fails to build) #718

Closed
Nucleoprotein opened this issue May 18, 2017 · 5 comments
Assignees
Milestone

Comments

@Nucleoprotein
Copy link

Nucleoprotein commented May 18, 2017

Hello,

  • Report crosstool-NG version:
    This is crosstool-NG version crosstool-ng-1.23.0

  • Report host OS and its version:

Arch Linux

$ uname -a
Linux L 4.10.13-1-ARCH #1 SMP PREEMPT Thu Apr 27 12:15:09 CEST 2017 x86_64 GNU/Linux

Build fails here:
http://vpaste.net/BORpx
http://vpaste.net/OlZRs

I think it's missing correct version/arch of libguile because scm_new_port_table_entry is not defined anywhere in gdb code.
I have installed two versions:


$ pacman -Ss guile
extra/aisleriot 3.22.2-1 (gnome-extra)
    A collection of patience games written in guile scheme
extra/guile 2.2.2-1 [installed]
    Portable, embeddable Scheme implementation written in C
extra/guile1.8 1.8.8-5
    Portable, embeddable Scheme implementation written in C. Legacy branch.
extra/guile2.0 2.0.14-1 [installed]
    Portable, embeddable Scheme implementation written in C

native-gdb builds fine.

@stilor stilor self-assigned this May 24, 2017
@stilor stilor changed the title arm-unknown-linux-gnueabi cross-gdb fails to build gdb fails to build against guile 2.2 (was: arm-unknown-linux-gnueabi cross-gdb fails to build) May 24, 2017
@stilor
Copy link
Contributor

stilor commented May 24, 2017

Upstream bug: https://sourceware.org/bugzilla/show_bug.cgi?id=21104

@flannelhead
Copy link

Meanwhile, this crosstool config line serves as a workaround:

CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--with-guile=guile-2.0"

@MarkoSan
Copy link

Which file did you put this setting in?

@SpotlightKid
Copy link

Apparently this has been fixed upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=21104#c7

@stilor stilor added this to the 1.24.0 milestone Apr 11, 2018
@stilor stilor removed this from the 1.24.0 milestone Oct 26, 2018
@stilor stilor added this to the not-yet milestone Dec 3, 2018
@cpackham
Copy link
Contributor

Allegedly fixed upstream. We've updated gdb many times since this issue was first raised. Feel free to raise a new issue if this still happens on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants