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

Builds on systems with guile fail #244

Closed
ilg-ul opened this issue May 17, 2017 · 7 comments
Closed

Builds on systems with guile fail #244

ilg-ul opened this issue May 17, 2017 · 7 comments

Comments

@ilg-ul
Copy link

ilg-ul commented May 17, 2017

The GDB configure script picks the guile installed in the system folders instead of the desired local guile.

If the versions differ, the build fails.

This happened on ARCH, where the system guile is pretty new.

Suggestion:

  • fix the GDB configure script to avoid using the system guile, and always use the version that comes with the GDB sources.
@aswaterman
Copy link
Collaborator

aswaterman commented May 17, 2017 via email

@ilg-ul
Copy link
Author

ilg-ul commented May 17, 2017

Hi Andrew,

I guess using the --with-guile option in makefile should be enough.

@aswaterman
Copy link
Collaborator

Do you mind prototyping it and submitting a PR? We don't use Arch and so can't replicate the problem locally.

@ilg-ul
Copy link
Author

ilg-ul commented May 17, 2017

can't replicate the problem locally

the problem is not ARCH specific, just install a recent guile (apt-get install guile-2.0-dev on Ubuntu) and the behaviour should be the same.

@buttercutter
Copy link

I have done the autoconf after doing git pull on the new riscv-gnu-toolchain commit, but the error persists.

Did I miss anything else ?

@jim-wilson
Copy link
Collaborator

You have to specify --with-guile=no when running configure to disable guile. Or alternatively, install an older version of guile that gdb will work with, and then use --with-guile=X to specify that version number. Disabling guile is simpler.

@jim-wilson
Copy link
Collaborator

Fixed by the --with-guile configure flag.

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

No branches or pull requests

4 participants