Skip to content

Commit

Permalink
third_party/protobuf: Disable musttail on MIPS
Browse files Browse the repository at this point in the history
clang reports:

fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail
  • Loading branch information
klzgrad committed Oct 13, 2023
1 parent 088e4a3 commit 082cc54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/third_party/protobuf/src/google/protobuf/port_def.inc
Expand Up @@ -235,7 +235,7 @@
#endif
#if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \
!defined(_ARCH_PPC) && !defined(__wasm__) && \
!(defined(_MSC_VER) && defined(_M_IX86))
!(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__mips__)
# ifndef PROTO2_OPENSOURCE
// Compilation fails on ARM32: b/195943306
// Compilation fails on powerpc64le: b/187985113
Expand Down

0 comments on commit 082cc54

Please sign in to comment.