| Age | Commit message (Collapse) | Author |
|
... from 5c43cb4a04c6df2de851fe7a739bcaeb27b8668c.
Closes: https://bugs.gentoo.org/962405
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Pointed out by negril.
Bug: https://bugs.gentoo.org/962405
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Update done using:
```
git grep -l sys-libs/zlib dev-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g
git diff --name-only | xargs copybump
git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead
pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error
```
Followed by manual revert in dev-python/zlib-ng where it accidentally
caught sys-libs/zlib-ng dependencies.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
upstream patch is applied, otherwise the build w/ clang 20 fails with:
> src/mongo/bson/util/bsoncolumnbuilder.h:285:49: error: call to deleted constructor of 'const mongo::TrackingAllocator<void> &'
However, the build still fails with:
> /usr/bin/x86_64-pc-linux-gnu-ld.bfd: build/gentoo/mongo/db/storage/wiredtiger/wiredtiger_record_store.o: in function `mongo::WiredTigerRecordStore::getEarliestOplogTimestamp(mongo::OperationContext*)':
> /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/atomic_base.h:1002:(.text+0x7da9): undefined reference to `__atomic_compare_exchange'
> clang++: error: linker command failed with exit code 1 (use -v to see invocation)
The reason is that Timestamp is a composite type, which requires -latomic
when building with clang++ and libstdc++. Mongodb's SConstruct only
checks for some basic types ('int64_t', 'uint64_t', 'int32_t', 'uint32_t'),
so this case is not detected.
Test case below:
$ cat a.cc
#include <atomic>
struct Timestamp { unsigned int t, i; };
template<typename T> struct AtomicWord {
std::atomic<T> v;
T compareAndSwap(T e, T n) {
v.compare_exchange_strong(e,n); return e;
}
};
int main() {
AtomicWord<Timestamp> x;
Timestamp a{0,0}, b{1,1};
x.compareAndSwap(a,b);
return 0;
}
$ clang++ -stdlib=libstdc++ a.cc
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /tmp/a-1e3f91.o: in function `std::atomic<Timestamp>::compare_exchange_strong(Timestamp&, Timestamp, std::memory_order, std::memory_order)':
a.cc:(.text._ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_[_ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_]+0x222): undefined reference to `__atomic_compare_exchange'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: a.cc:(.text._ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_[_ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_]+0x28d): undefined reference to `__atomic_compare_exchange'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: a.cc:(.text._ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_[_ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_]+0x2f8): undefined reference to `__atomic_compare_exchange'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: a.cc:(.text._ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_[_ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_]+0x3c1): undefined reference to `__atomic_compare_exchange'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: a.cc:(.text._ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_[_ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_]+0x42c): undefined reference to `__atomic_compare_exchange'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /tmp/a-1e3f91.o:a.cc:(.text._ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_[_ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_]+0x497): more undefined references to `__atomic_compare_exchange' follow
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43808
Closes: https://github.com/gentoo/gentoo/pull/43808
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: François Valenduc <francoisvalenduc@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43194
Closes: https://github.com/gentoo/gentoo/pull/43194
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43287
Closes: https://github.com/gentoo/gentoo/pull/43287
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/954813
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43287
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/954813
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43287
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bad sed.
Closes: https://bugs.gentoo.org/955547
Fixes: 8ee176dbe6fb61293b3b0ac57d859261e0ca902e
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Wanted to do this after because the patches are a mess and having
some history for them is good.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/882515
Signed-off-by: François Valenduc <francoisvalenduc@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41580
Closes: https://github.com/gentoo/gentoo/pull/41580
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/882515
Signed-off-by: François Valenduc <francoisvalenduc@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41580
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/882515
Signed-off-by: François Valenduc <francoisvalenduc@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41580
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/944308
Closes: https://bugs.gentoo.org/942112
Signed-off-by: Robert Förster <Dessa@gmake.de>
Closes: https://github.com/gentoo/gentoo/pull/41271
Signed-off-by: Jay Faulkner <jayf@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
Backport from upstream commit 33cdc6655b0de44cb7a431216dcbb0d5a552aec6
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39677
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/829340
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38444
Signed-off-by: Sam James <sam@gentoo.org>
|
|
It's useful to disambiguate between autogenerated gh tarballs and real release
tarballs.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/934178
Signed-off-by: Robert Förster <Dessa@gmake.de>
Closes: https://github.com/gentoo/gentoo/pull/38551
Signed-off-by: Sam James <sam@gentoo.org>
|
|
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>
|
|
it in 6
Signed-off-by: Robert Förster <Dessa@gmake.de>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Reapply fix from #906897.
Bug: https://bugs.gentoo.org/906897
Closes: https://bugs.gentoo.org/935274
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37686
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Thanks to Gary.
Closes: https://bugs.gentoo.org/932251
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/932251
Thanks-to: Jura <me@slie.ru>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/931736
Signed-off-by: Robert Förster <Dessa@gmake.de>
Closes: https://github.com/gentoo/gentoo/pull/36669
Signed-off-by: Sam James <sam@gentoo.org>
|
|
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>
|
|
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/34786
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
As noted in the bug (and this is why we're removing it in general unless
it's useful), it has confusing semantics if the user passes -flto in their *FLAGS.
After inspecting the upstream build system, the LTO build option which USE=lto
wires up does nothing useful, so drop it.
Closes: https://bugs.gentoo.org/915081
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Add a global USE=lto flag. The flag is used semi-consistently in 31
packages, with a few adding extra information. That said, probably
many of these uses are invalid, as they are equivalent to adding
`-flto` to CFLAGS.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/912416
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/855128
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/906897
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
|
|
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
|
|
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
|
|
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|