Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Forced to use --enable-unit-tests=no otherwise cross-compilation fail
@ 2020-02-04 10:51 William Tambe
  2020-02-04 14:29 ` Simon Marchi
  2020-02-04 16:27 ` Christian Biesinger via gdb
  0 siblings, 2 replies; 6+ messages in thread
From: William Tambe @ 2020-02-04 10:51 UTC (permalink / raw)
  To: gdb

With Binutils 2.34, I have to use --enable-unit-tests=no with
./configure otherwise cross-compilation fail trying to link
gdbarch-selftests.o:

/usr/bin/ld: gdbarch-selftests.o: in function `_initialize_gdbarch_selftests()':
/binutils-gdb-build/gdb/../../binutils-gdb/gdb/gdbarch-selftests.c:168:
undefined reference to
`selftests::register_test_foreach_arch(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, void
(*)(gdbarch*))'

Why is it now required to use --enable-unit-tests=no when cross-compiling ?


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-02-13 23:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04 10:51 Forced to use --enable-unit-tests=no otherwise cross-compilation fail William Tambe
2020-02-04 14:29 ` Simon Marchi
2020-02-04 16:27 ` Christian Biesinger via gdb
2020-02-09 20:29   ` William Tambe
2020-02-13 23:28     ` William Tambe
2020-02-13 23:48       ` Christian Biesinger via gdb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox