This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Forced to use --enable-unit-tests=no otherwise cross-compilation fail


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 ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]