[ANNOUNCEMENT] GDB 15.1 released!
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Fri Jul 12 07:46:08 GMT 2024
Stuff Received <stuff@riddermarkfarm.ca> writes:
> Invoking "gmake check" with the Solaris 11.3 linker causes the following
> error.
>
> libtool: link: /home/build/gcc/13.3.0/bin/gcc -m64 -funwind-tables
> -frandom-seed=ctesta -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
> -Wcast-qual -g -g -O2 -Wl,--compress-debug-sections=zlib-gabi -o ctesta
> ctesta-btest.o ctesta-testlib.o ./.libs/libbacktrace.a
> ld: fatal: unrecognized '--compress-debug-sections' cmp-type: zlib-gabi
>
> Basically, libtool invokes ld with a gld option. This does not happen with
> the basic build/install. I built gdb with the Solaris ld.
libtool doesn't do anything here, the -Wl,--compress-debug-sections
option is directly from the libbacktrace Makefile. This is a known bug,
fixed in GCC trunk. It doesn't affect gdb in any way, though.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Gdb
mailing list