Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952964 - dev-libs/protobuf-29.4 - [gcc-15] generated_message_tctable_impl.h: error: cannot tail-call: call may throw exception that does not propagate
Summary: dev-libs/protobuf-29.4 - [gcc-15] generated_message_tctable_impl.h: error: ca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 953024 (view as bug list)
Depends on: 951999
Blocks: gcc-15
  Show dependency tree
 
Reported: 2025-03-31 18:05 UTC by Toralf Förster
Modified: 2025-04-02 18:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.86 KB, text/plain)
2025-03-31 18:05 UTC, Toralf Förster
Details
dev-libs:protobuf-29.4:20250331-073850.log (dev-libs:protobuf-29.4:20250331-073850.log,139.99 KB, text/plain)
2025-03-31 18:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,65.31 KB, text/plain)
2025-03-31 18:05 UTC, Toralf Förster
Details
environment (environment,118.63 KB, text/plain)
2025-03-31 18:05 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-03-31 18:05 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.32 KB, application/x-xz)
2025-03-31 18:05 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,43.41 KB, application/x-xz)
2025-03-31 18:05 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,154.06 KB, text/plain)
2025-03-31 18:05 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.54 KB, application/x-xz)
2025-03-31 18:05 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-03-31 18:05:05 UTC
too long lines were shrinked:

/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/ciso646:46:4: warning: #warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros" [-Wcpp]
   46 | #  warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"
      |    ^~~~~~~
In static member function static const char* google::protobuf::internal::TcParser::TagDispatch(google::protobuf::MessageLite*, const char*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, const google::protobuf::internal::TcParseTableBase*, uint64_t),
    inlined from static const char* google::protobuf::internal::TcParser::ToTagDispatch(google::protobuf::MessageLite*, const char*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, const google::protobuf::internal::TcParseTableBase*, uint64_t) at /var/tmp/portage/
    inlined from static const char* google::protobuf::internal::TcParser::MpUnknownEnumFallback(google::protobuf::MessageLite*, const char*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, const google::protobuf::internal::TcParseTableBase*, uint64_t) at /var/tmp/
/var/tmp/portage/dev-libs/protobuf-29.4/work/protobuf-29.4/src/google/protobuf/generated_message_tctable_impl.h:1105:48: error: cannot tail-call: call may throw exception that does not propagate
 1105 |   PROTOBUF_MUSTTAIL return fast_entry->target()(PROTOBUF_TC_PARAM_PASS);
      |                            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20250330-011002

  KEYWORDED/UNMASKED

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

  Block bug #351559 if this looks like a parallel build issue.

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 20.1.1
llvm-config: 20.1.1
Python 3.12.9
go version go1.24.1 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.85.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit cb1408779c51ed5a9dde0f54cba2509999237629
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Mar 31 06:20:19 2025 +0000

    2025-03-31 06:20:18 UTC

emerge -qpvO =dev-libs/protobuf-29.4
[ebuild  N    ] dev-libs/protobuf-29.4  USE="libupb protobuf protoc zlib -conformance -debug -emacs -examples -libprotoc -test"
Comment 1 Toralf Förster gentoo-dev 2025-03-31 18:05:05 UTC
Created attachment 923335 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-31 18:05:07 UTC
Created attachment 923336 [details]
dev-libs:protobuf-29.4:20250331-073850.log
Comment 3 Toralf Förster gentoo-dev 2025-03-31 18:05:08 UTC
Created attachment 923337 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-03-31 18:05:09 UTC
Created attachment 923338 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-03-31 18:05:10 UTC
Created attachment 923339 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-31 18:05:11 UTC
Created attachment 923340 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-31 18:05:12 UTC
Created attachment 923341 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-31 18:05:13 UTC
Created attachment 923342 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2025-03-31 18:05:14 UTC
Created attachment 923343 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-31 18:10:16 UTC
For the latest snapshot, I dropped the musttail workarounds except for ones already about to be merged. Story is in bug 951999 but more to do here. The upstream bugs are still being worked on (with some patches committed already).
Comment 11 Paul Zander 2025-04-01 18:42:06 UTC
*** Bug 953024 has been marked as a duplicate of this bug. ***
Comment 12 Larry the Git Cow gentoo-dev 2025-04-01 22:43:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29cc45282812f48bdabb4c0e59020515ed13e17

commit f29cc45282812f48bdabb4c0e59020515ed13e17
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-01 22:42:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-01 22:42:53 +0000

    sys-devel/gcc: disable musttail again; C++ lifetime fix for 15.0.1_pre20250330
    
    Hopefully the remaining musttail bits will land soon.
    
    Bug: https://bugs.gentoo.org/952964
    Signed-off-by: Sam James <sam@gentoo.org>

 ...gcc-15.0.1_pre20250330-lifetime-extension.patch | 168 +++++++++++++++++++++
 sys-devel/gcc/gcc-15.0.1_pre20250330-r1.ebuild     |  55 +++++++
 2 files changed, 223 insertions(+)
Comment 13 Larry the Git Cow gentoo-dev 2025-04-02 18:49:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09232d43ccdc1474038e151892cbc970cb403059

commit 09232d43ccdc1474038e151892cbc970cb403059
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-02 18:46:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-02 18:48:37 +0000

    sys-devel/gcc: add 15.0.1_pre20250330-r2 (up to today)
    
    Patch tarball generated w/ `git format-patch f7085e23148d415e8fefb4444cbea72cef607aa1..HEAD`
    where HEAD is a2e03736fc932ef613ad01a9499126cbaa538bf8. This brings us up
    to date with trunk, with various musttail fixes. Given we're pretty close
    to branching, this seems like a better idea than cherry-picking various
    bits and then finding we're missing something later.
    
    All known musttail issues should be fixed now.
    
    Bug: https://bugs.gentoo.org/951997
    Bug: https://bugs.gentoo.org/951999
    Bug: https://bugs.gentoo.org/952085
    Bug: https://bugs.gentoo.org/952059
    Bug: https://bugs.gentoo.org/952964
    Bug: https://bugs.gentoo.org/953024
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                         |  2 +
 sys-devel/gcc/gcc-15.0.1_pre20250330-r2.ebuild | 58 ++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)