This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Bootstrap with Ada and bootstrap-config=ubsan fails because gnatlink is not linked against ubsan.
- From: Toon Moene <moene at knmi dot nl>
- To: <gcc at gcc dot gnu dot org>
- Date: Wed, 15 Oct 2014 07:02:36 +0000
- Subject: Bootstrap with Ada and bootstrap-config=ubsan fails because gnatlink is not linked against ubsan.
- Authentication-results: sourceware.org; auth=none
This:
https://gcc.gnu.org/ml/gcc-testresults/2014-10/msg01552.html
fails because:
/home/toon/compilers/trunk/libiberty/xstrdup.c:33: undefined reference
to `__ubsan_handle_nonnull_arg'
/home/toon/compilers/trunk/libiberty/xstrdup.c:35: undefined reference
to `__ubsan_handle_nonnull_arg'
/home/toon/compilers/trunk/libiberty/xstrdup.c:35: undefined reference
to `__ubsan_handle_nonnull_arg'
/home/toon/compilers/trunk/libiberty/xstrdup.c:35: undefined reference
to `__ubsan_handle_nonnull_return'
/home/toon/compilers/trunk/libiberty/xstrdup.c:35: undefined reference
to `__ubsan_handle_nonnull_arg'
collect2: error: ld returned 1 exit status
../gcc-interface/Makefile:2585: recipe for target '../../gnatlink' failed
make[3]: *** [../../gnatlink] Error 1
Kind regards,
--
Toon Moene, KNMI (Weer/Onderzoek), The Netherlands
Phone: +31 30 2206443; e-mail: moene@knmi.nl