> Eric, could you have another look if I'm missing something? Note that this OPTION_DEFAULT_SPECS code is duplicated in linux64.h.
There is this comment: In the SPARC_BI_ARCH compiler we cannot pass %{!mcpu=*:-mcpu=%(VALUE)} here, otherwise say -mcpu=v7 would be passed even when -m64. CC1_SPEC above takes care of this instead. Why does CC1_SPEC not work apparently? > Otherwise, I'm going to commit the patch (it's necessary to enable > SANITIZER_CAN_FAST_UNWIND on Solaris/SPARC and make use of > libsanitizer/sanitizer_common/sanitizer_stacktrace_sparc.cc). No, it will not be necessary, I have ported the implementation to 64-bit. -- Eric Botcazou