This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug guile/19149] Message when guile is required but not available is not clear


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

--- Comment #2 from yuri at tsoft dot com ---
FreeBSD port has an option "GUILE", which causes --with-guile to be passed.

With GUILE=on configure gets --with-guile parameter:
> --program-suffix=710  --enable-targets=all --enable-64-bit-bfd  --with-gdb-datadir=/usr/local/share/gdb710  --with-separate-debug-dir=/usr/lib/debug    --without-libunwind-ia64 --without-expat --with-guile --with-python=/usr/local/bin/python2.7 --enable-tui --with-system-readline --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}

With GUILE=off configure doesn't get --with-guile parameter:
> --program-suffix=710  --enable-targets=all --enable-64-bit-bfd  --with-gdb-datadir=/usr/local/share/gdb710  --with-separate-debug-dir=/usr/lib/debug    --without-libunwind-ia64 --without-expat --with-python=/usr/local/bin/python2.7 --enable-tui --with-system-readline --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}

However, the command you suggested still shows it is compiled with guile, even
though this flag wasn't passed by port:
> $ gdb --batch -ex 'show config'
>
> This GDB was configured as follows:
>    configure --host=x86_64-portbld-freebsd10.2 --target=x86_64-portbld-freebsd10.2
>              --with-auto-load-dir=:${prefix}/share/auto-load
>              --with-auto-load-safe-path=:${prefix}/share/auto-load
>              --without-expat
>              --with-gdb-datadir=/usr/local/share/gdb710 (relocatable)
>              --with-jit-reader-dir=/usr/local/lib/gdb (relocatable)
>              --without-libunwind-ia64
>              --with-lzma
>              --with-python=/usr/local (relocatable)
>              --with-guile
>              --with-separate-debug-dir=/usr/lib/debug
>              --without-babeltrace

-- and the OP problem occurs in this case (GUILE=off, no --with-guile to
configure).

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]