Following fixes build on Debian buster/sid NA
4.16.0-1-sparc64-smp.
As seen on the system sparcv9 macro is not defined, arch64__ is.
ifdef SANITIZER_SOLARIS is wrong as it's always defined (0/1 values).
The issue was introduced in r320740.
Differential D54030
Fix build on sparc64-linux-gnu. marxin on Nov 2 2018, 2:12 AM. Authored by
Details Following fixes build on Debian buster/sid NA As seen on the system sparcv9 macro is not defined, arch64__ is. The issue was introduced in r320740.
Diff Detail
Event TimelineComment Actions Adding @ro for check whether it's fine for Solaris and SPARC. I'm not sure entirely whether this is fine for all supported OSes so I will let others to review. Comment Actions Overall, this looks good to me, with the nits noted. However, I wonder how you tested this:
Wondering...
Comment Actions I just built GCC on gcc202 machine of Compile farm. Even though the target is not supported, the libsanitizer runtime library is still built in GCC. Comment Actions I see. Forgot to mention that I tested the patch myself on Solaris/SPARC in GCC mainline without regressions. LGTM. Thanks. Rainer |