mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
088d3cbc5f
The recent libsanitizer import broke the build on Solaris/SPARC with the native as: /usr/ccs/bin/as: ".libs/sanitizer_errno.s", line 4247: error: symbol "__sanitizer_internal_memset" is used but not defined /usr/ccs/bin/as: ".libs/sanitizer_errno.s", line 4247: error: symbol "__sanitizer_internal_memcpy" is used but not defined /usr/ccs/bin/as: ".libs/sanitizer_errno.s", line 4247: error: symbol "__sanitizer_internal_memmove" is used but not defined Since none of the alternatives considered in the PR worked out, this patch checks if the assembler does support symbol assignment, disabling the code otherwise. This returns the code to the way it was up to LLVM 16. Bootstrapped without regressions on sparc-sun-solaris2.11 (as and gas) and i386-pc-solaris2.11 (as and gas). 2023-11-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> libsanitizer: PR sanitizer/112563 * configure.ac (libsanitizer_cv_as_sym_assign): Check for assembler symbol assignment support. * configure: Regenerate. * asan/Makefile.am (DEFS): Add @AS_SYM_ASSIGN_DEFS@. * Makefile.in, asan/Makefile.in, hwasan/Makefile.in, interception/Makefile.in, libbacktrace/Makefile.in, lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in, ubsan/Makefile.in: Regenerate. |
||
---|---|---|
.. | ||
libtool-version | ||
Makefile.am | ||
Makefile.in | ||
ubsan_checks.inc | ||
ubsan_diag_standalone.cpp | ||
ubsan_diag.cpp | ||
ubsan_diag.h | ||
ubsan_flags.cpp | ||
ubsan_flags.h | ||
ubsan_flags.inc | ||
ubsan_handlers_cxx.cpp | ||
ubsan_handlers_cxx.h | ||
ubsan_handlers.cpp | ||
ubsan_handlers.h | ||
ubsan_init_standalone_preinit.cpp | ||
ubsan_init_standalone.cpp | ||
ubsan_init.cpp | ||
ubsan_init.h | ||
ubsan_interface.inc | ||
ubsan_monitor.cpp | ||
ubsan_monitor.h | ||
ubsan_platform.h | ||
ubsan_signals_standalone.cpp | ||
ubsan_signals_standalone.h | ||
ubsan_type_hash_itanium.cpp | ||
ubsan_type_hash_win.cpp | ||
ubsan_type_hash.cpp | ||
ubsan_type_hash.h | ||
ubsan_value.cpp | ||
ubsan_value.h | ||
ubsan_win_dll_thunk.cpp | ||
ubsan_win_dynamic_runtime_thunk.cpp | ||
ubsan_win_weak_interception.cpp |