The target board fission.exp requires the gold linker (because it supports
--gdb-index).
When running the target board on a system where the default linker is not
gold, most tests will fail to compile.
Fix this by adding "-fuse-ld=gold" ( supported in gcc since version 4.8).
gdb/testsuite/ChangeLog:
2019-06-18 Tom de Vries <tdevries@suse.de>
* boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
+2019-06-18 Tom de Vries <tdevries@suse.de>
+
+ * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
+
2019-06-18 Tom Tromey <tromey@adacore.com>
* gdb.base/list0.h: Add comment explaining control character.
"-gsplit-dwarf" \
"-ggnu-pubnames" \
"-fdebug-types-section" \
- "-Wl,--gdb-index" }]
+ "-Wl,--gdb-index" \
+ "-fuse-ld=gold" }]
# This is needed otherwise dejagnu tries to rsh to host "fission".
load_board_description "local-board"