[ANNOUNCEMENT] GDB 15.1 released!

Stuff Received stuff@riddermarkfarm.ca
Fri Jul 12 17:46:55 GMT 2024


On 2024-07-12 03:46, Rainer Orth wrote:
> 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
> 

Thank you, Rainer.

I removed that option from all the Makefiles and ran "gmake check", 
which reported as follows.

[...]
============================================================================
Testsuite summary for package-unused version-unused
============================================================================
# TOTAL: 32
# PASS:  32
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

It then switched to dejagnu and stopped at the following:

Running 
/home/build/opt/gdb/bld-15.1/gdb/testsuite/../../../gdb-15.1/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp 
...
ERROR: (eof) GDB never initialized.
ERROR: breakpoints not deleted
[...]

I am stopping here -- gdb as built works.

S.




More information about the Gdb mailing list