Created attachment 864388 [details] emerge --info From ps: ``` 151257 pts/5 S+ 0:00 x86_64-pc-linux-gnu-g++ -o build/59f4f0dd/mongo/db/repl/initial_syncer.o -c -Woverloaded-virtual --param=l1-cache-size=32 --param=l1-cache-line-size=64 -pipe -frecord-gcc-switches -Wpessimizing-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -include mongo/platform/basic.h -ffp-contract=off -fasynchronous-unwind-tables -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -fno-omit-frame-pointer -fno-strict-aliasing -O2 -march=sandybridge -mtune=generic -mprefer-vector-width=128 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wa,--nocompress-debug-sections -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DBOOST_LOG_DYN_LINK -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/variant-1.4.0/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/59f4f0dd -Isrc src/mongo/db/repl/initial_syncer.cpp ``` Note that it's ignoring my -march=znver2 and forcing -march=sandybridge instead. This is so wrong that I can't find the right words to describe it. I'll attach the build log once it finally finishes building.
Created attachment 864389 [details] dev-db:mongodb-5.0.16-r1:20230622-051103.log.xz
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=527bd7903fb935261270268e47ec6dd2ecd611fa commit 527bd7903fb935261270268e47ec6dd2ecd611fa Author: Robert Förster <Dessa@gmake.de> AuthorDate: 2024-05-06 19:41:22 +0000 Commit: Alexys Jacob <ultrabug@gentoo.org> CommitDate: 2024-05-10 14:18:18 +0000 dev-db/mongodb: add 4.4.29, 5.0.26 Bug: https://bugs.gentoo.org/843329 Bug: https://bugs.gentoo.org/908987 Closes: https://bugs.gentoo.org/919768 Closes: https://bugs.gentoo.org/929386 Signed-off-by: Robert Förster <Dessa@gmake.de> Closes: https://github.com/gentoo/gentoo/pull/36591 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org> dev-db/mongodb/Manifest | 2 + .../files/mongodb-4.4.29-no-enterprise.patch | 24 +++ dev-db/mongodb/metadata.xml | 3 + dev-db/mongodb/mongodb-4.4.29.ebuild | 188 +++++++++++++++++++ dev-db/mongodb/mongodb-5.0.26.ebuild | 205 +++++++++++++++++++++ 5 files changed, 422 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ade7128433fd35f41e4f4b83de9f387b1d19f7 commit a1ade7128433fd35f41e4f4b83de9f387b1d19f7 Author: Robert Förster <Dessa@gmake.de> AuthorDate: 2024-09-10 14:13:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-11 05:45:55 +0000 dev-db/mongodb: add 5.0.30 Closes: https://bugs.gentoo.org/843329 Closes: https://bugs.gentoo.org/908987 Closes: https://bugs.gentoo.org/932278 Closes: https://bugs.gentoo.org/938962 Bug: https://bugs.gentoo.org/944308 Signed-off-by: Robert Förster <Dessa@gmake.de> Signed-off-by: Sam James <sam@gentoo.org> dev-db/mongodb/Manifest | 1 + dev-db/mongodb/files/mongodb-5.0.30-gcc-11.patch | 12 ++ dev-db/mongodb/files/mongodb-5.0.30-gcc-15.patch | 13 ++ dev-db/mongodb/metadata.xml | 1 + dev-db/mongodb/mongodb-5.0.30.ebuild | 211 +++++++++++++++++++++++ 5 files changed, 238 insertions(+)