libctf, gdbsupport: intl/ problems with --with-included-gettext (was Re: [PATCH] ld: depend on libctf)

Stephen Casner casner@acm.org
Tue Feb 2 19:41:14 GMT 2021


On Tue, 2 Feb 2021, Nick Alcock wrote:
>
> I have a possible fix for all of this against a slightly old trunk on
> the users/nalcock/included-gettext branch: could you try it out? (It's
> several commits long, so pointing you at the git branch seems the
> easiest way to have you test it.)

With the following configure:

auge6> ~/src/gnu/binutils-gdb/configure --prefix=/usr/local --with-gmp=/opt/local

It builds through gdbsupport, but I have an unrelated problem with gdb
configure:

checking for libgmp... no
configure: error: GMP is missing or unusable

This even though I have the --with-gmp and /usr/local/lib/libgmp.*
exist.  I need to investigate that further.

So my test run has not verified that everything links properly with
all the libraries.

Also presumably unrelated, there are these warnings:

/opt/local/bin/ranlib: file: .libs/libbfd.a(bfdwin.o) has no symbols
/opt/local/bin/ranlib: file: libgdbsupport.a(gdb_wait.o) has no symbols
/opt/local/bin/ranlib: file: libgnu.a(count-one-bits.o) has no symbols
/opt/local/bin/ranlib: file: libgnu.a(fd-hook.o) has no symbols
/opt/local/bin/ranlib: file: libgnu.a(getcwd-lgpl.o) has no symbols
/opt/local/bin/ranlib: file: libgnu.a(getprogname.o) has no symbols
/opt/local/bin/ranlib: file: libgnu.a(localtime-buffer.o) has no symbols
/opt/local/bin/ranlib: file: libgnu.a(math.o) has no symbols
/opt/local/bin/ranlib: file: libgnu.a(stat-time.o) has no symbols
/opt/local/bin/ranlib: file: libgnu.a(sys_socket.o) has no symbols
/opt/local/bin/ranlib: file: libgnu.a(threadlib.o) has no symbols
/opt/local/bin/ranlib: file: libgnu.a(unistd.o) has no symbols
/opt/local/bin/ranlib: file: libgnu.a(wctype-h.o) has no symbols
/opt/local/bin/ranlib: file: libintl.a(osdep.o) has no symbols

I've seen some discussions on this list about having no symbols, but
my build is using the system ld.

                                                        -- Steve


More information about the Binutils mailing list