-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Comments
Hey Liviu,
We could try to work around this in the riscv-gnu-toolchain/Makefile.in; is
it possible to address the problem there? (e.g. --with-guile)?
Modifying GDB's configure script is outside of my competence, but if you
can get it fixed in upstream GDB, we'll rebase on top of it.
…On Wed, May 17, 2017 at 12:07 AM, Liviu Ionescu ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#244>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AA-7wk8TZszEDYzU6u1BMYAIZmnwLah1ks5r6py1gaJpZM4NddKi>
.
|
Hi Andrew, I guess using the |
Do you mind prototyping it and submitting a PR? We don't use Arch and so 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. |
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 ? |
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. |
Fixed by the --with-guile configure flag. |
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:
configure
script to avoid using the system guile, and always use the version that comes with the GDB sources.The text was updated successfully, but these errors were encountered: