Your message dated Sat, 27 Dec 2025 11:01:38 +0100
with message-id 
<cakjshr3jkht0w9rxojovye+ympjoubctlhjleyvigftpugx...@mail.gmail.com>
and subject line Re: Bug#1115415: protobuf FTBFS on multiple architectures with 
gcc 15
has caused the Debian Bug report #1115415,
regarding protobuf FTBFS on multiple architectures with gcc 15
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1115415: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115415
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: protobuf
Version: 3.21.12-11
Severity: serious
Tags: ftbfs forky sid patch

https://buildd.debian.org/status/logs.php?pkg=protobuf&ver=3.21.12-12

...
google/protobuf/generated_message_tctable_lite.cc: In static member function 
'static const char* 
google::protobuf::internal::TcParser::MpString(google::protobuf::MessageLite*, 
const char*, google::protobuf::internal::ParseContext*, const 
google::protobuf::internal::TcParseTableBase*, uint64_t, 
google::protobuf::internal::TcFieldData)':
google/protobuf/generated_message_tctable_lite.cc:1666:46: error: cannot 
tail-call: target is not able to optimize the call into a sibling call
 1666 |     PROTOBUF_MUSTTAIL return MpRepeatedString(PROTOBUF_TC_PARAM_PASS);
      |                              ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
...


musttail support is new in gcc 15:
https://gcc.gnu.org/gcc-15/changes.html

The attached patch restores the gcc 14 status quo of not using musttail.
Description: Don't use musttail since it causes FTBFS on multiple architectures
Author: Adrian Bunk <[email protected]>

--- protobuf-3.21.12.orig/src/google/protobuf/port_def.inc
+++ protobuf-3.21.12/src/google/protobuf/port_def.inc
@@ -254,7 +254,7 @@
 #ifdef PROTOBUF_TAILCALL
 #error PROTOBUF_TAILCALL was previously defined
 #endif
-#if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \
+#if 0 && __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \
     !defined(_ARCH_PPC) && !defined(__wasm__) &&                 \
     !(defined(_MSC_VER) && defined(_M_IX86)) &&                  \
     !(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24)

--- End Message ---
--- Begin Message ---
Version: 3.25.4-3

On Tue, Sep 16, 2025 at 10:07 PM Adrian Bunk <[email protected]> wrote:
> Even better might be the patch attached now,
> which backports the upstream fix from
> https://github.com/protocolbuffers/protobuf/commit/719f3037032b2e952afe7fc49152cc4be38fa7a3
 Applied, but forgot to close from d/changelog.

Thanks,
Laszlo/GCS

--- End Message ---

Reply via email to