Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953742 - dev-libs/protobuf-30.2 - [meson] [gcc-15] generated_message_tctable_lite.cc: error: cannot tail-call: call and return value are different
Summary: dev-libs/protobuf-30.2 - [meson] [gcc-15] generated_message_tctable_lite.cc: ...
Status: CONFIRMED
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:
Depends on:
Blocks: lto gcc-15
  Show dependency tree
 
Reported: 2025-04-12 18:56 UTC by Toralf Förster
Modified: 2025-04-12 21:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.14 KB, text/plain)
2025-04-12 18:56 UTC, Toralf Förster
Details
dev-libs:protobuf-30.2:20250412-165814.log.xz (dev-libs:protobuf-30.2:20250412-165814.log.xz,36.02 KB, application/x-xz)
2025-04-12 18:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,64.67 KB, text/plain)
2025-04-12 18:56 UTC, Toralf Förster
Details
environment (environment,118.80 KB, text/plain)
2025-04-12 18:56 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.58 KB, application/x-xz)
2025-04-12 18:56 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,28.79 KB, application/x-xz)
2025-04-12 18:56 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,48.34 KB, application/x-xz)
2025-04-12 18:56 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,156.67 KB, text/plain)
2025-04-12 18:56 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,61.66 KB, application/x-xz)
2025-04-12 18:57 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-04-12 18:56:51 UTC
too long lines were shrinked:

[630/777] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O3 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-alia
FAILED: protoc-gen-upb-30.2.0 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -O3 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werr
lto-wrapper: warning: using serial compilation of 41 LTRANS jobs
lto-wrapper: note: see the -flto option documentation for more information
/var/tmp/portage/dev-libs/protobuf-30.2/work/protobuf-30.2/src/google/protobuf/generated_message_tctable_lite.cc: In function MpRepeatedString:
/var/tmp/portage/dev-libs/protobuf-30.2/work/protobuf-30.2/src/google/protobuf/generated_message_tctable_lite.cc:2436:43: error: cannot tail-call: call and return value are different
 2436 |             PROTOBUF_MUSTTAIL return Error(PROTOBUF_TC_PARAM_NO_DATA_PASS);
      |                                           ^

  -------------------------------------------------------------------
  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd_abi32+64_test-20250409-195823

  KEYWORDED/UNMASKED

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

  [meson] Please re-assign to ztrawhcse@ if it works with regular meson.
  <dev-build/meson-9999

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 20.1.2
llvm-config: 20.1.2
Python 3.12.10
go version go1.24.2 linux/amd64
  [1]   php8.4 *
Available Ruby profiles:
  [1]   ruby32 *
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]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

  HEAD of ::gentoo
commit 0113eeb2cfdc3cd337d9b595e2120866b886a981
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 12 15:05:31 2025 +0000

    2025-04-12 15:05:31 UTC

The tinderbox task was: net-libs/grpc

emerge -qpvO =dev-libs/protobuf-30.2
[ebuild  N    ] dev-libs/protobuf-30.2  USE="conformance libprotoc libupb protobuf protoc zlib -debug -emacs -examples -test" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2025-04-12 18:56:51 UTC
Created attachment 924477 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-12 18:56:52 UTC
Created attachment 924478 [details]
dev-libs:protobuf-30.2:20250412-165814.log.xz
Comment 3 Toralf Förster gentoo-dev 2025-04-12 18:56:54 UTC
Created attachment 924479 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-04-12 18:56:55 UTC
Created attachment 924480 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-04-12 18:56:56 UTC
Created attachment 924481 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-04-12 18:56:57 UTC
Created attachment 924482 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-04-12 18:56:58 UTC
Created attachment 924483 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-04-12 18:56:59 UTC
Created attachment 924484 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2025-04-12 18:57:00 UTC
Created attachment 924485 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-12 21:07:06 UTC
This one is exclusive to LTO. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614#c14 onwards. Hopefully fixed early next week.