Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942551 - dev-db/mongodb-5.0.26 - [gcc-15] lto1: some warnings being treated as errors
Summary: dev-db/mongodb-5.0.26 - [gcc-15] lto1: some warnings being treated as errors
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-10-30 17:49 UTC by Toralf Förster
Modified: 2024-10-30 17:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.38 KB, text/plain)
2024-10-30 17:49 UTC, Toralf Förster
Details
dev-db:mongodb-5.0.26:20241030-050549.log.xz (dev-db:mongodb-5.0.26:20241030-050549.log.xz,65.71 KB, application/x-xz)
2024-10-30 17:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,176.82 KB, text/plain)
2024-10-30 17:49 UTC, Toralf Förster
Details
environment (environment,137.67 KB, text/plain)
2024-10-30 17:49 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-10-30 17:49 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.82 KB, application/x-xz)
2024-10-30 17:49 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,300.32 KB, application/x-xz)
2024-10-30 17:49 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,53.86 KB, application/x-xz)
2024-10-30 17:49 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.98 KB, application/x-xz)
2024-10-30 17:49 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 2024-10-30 17:49:33 UTC
too long lines were shrinked:

                 from src/mongo/db/catalog/multi_index_block.cpp:34:
src/mongo/util/decimal_counter.h:49:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   49 |     DecimalCounter<T>(T start = 0) : _lastDigitIndex(_getLastDigitIndex(start)), _counter(start) {}
      |                       ^
src/mongo/util/decimal_counter.h:49:23: note: remove the '< >'
x86_64-pc-linux-gnu-g++ -o build/gentoo/mongo/db/exec/sbe/stages/co_scan.o -c -Woverloaded-virtual -pipe -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -Wpessimizing-move -Wno-maybe-uninitialized -fsized-deallocation -Wno-defaulted-function-deleted -std=c+
lto1: some warnings being treated as errors
x86_64-pc-linux-gnu-ar rcsTD build/gentoo/mongo/db/repl/libreplication_info.a build/gentoo/mongo/db/repl/replication_info.o
lto-wrapper: fatal error: x86_64-pc-linux-gnu-g++ returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20241024-225502

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.2
llvm-config: 19.1.2
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit 7c4d31a4a6380316b737f03c8e8e96293c3ec758
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 30 03:48:26 2024 +0000

    2024-10-30 03:48:25 UTC

emerge -qpvO =dev-db/mongodb-5.0.26
[ebuild  N    ] dev-db/mongodb-5.0.26  USE="ssl tools -debug -kerberos -mongosh" CPU_FLAGS_X86="avx"
Comment 1 Toralf Förster gentoo-dev 2024-10-30 17:49:33 UTC
Created attachment 907353 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-30 17:49:35 UTC
Created attachment 907354 [details]
dev-db:mongodb-5.0.26:20241030-050549.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-10-30 17:49:36 UTC
Created attachment 907355 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-10-30 17:49:37 UTC
Created attachment 907356 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-30 17:49:39 UTC
Created attachment 907357 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-30 17:49:40 UTC
Created attachment 907358 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-30 17:49:41 UTC
Created attachment 907359 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-30 17:49:42 UTC
Created attachment 907360 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-10-30 17:49:43 UTC
Created attachment 907361 [details]
temp.tar.xz