Debian Patches
Status for libmaus2/2.0.813+ds-6
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| add-support-for-loong64.patch | workaround for architectures with broken sysconf.c Some architectures in glibc do not define the sysconf.c file, and using the generic posix sysconf.c file to call the _SC_LEVEL1_DCACHE_LINESIZE variable returns 0 by default, which leads to failure of the test in loongarch, ia64, s390x and other architectures, This patch reference lscpu code to read the data in coherency_line_size file directly can fix the above error, and it passes the test on x86 and loongarch. |
wuruilong <wuruilong@loongson.cn> | yes | debian | ||
| gcc-15.patch | Fix build failure with gcc-15. This patch fixes the following type of build failures with gcc-15: . In file included from ./libmaus2/lz/Lz4DecoderBuffer.hpp:24, from libmaus2/lz/Lz4DecoderBuffer.cpp:19: ./libmaus2/aio/InputStreamInstance.hpp:44:86: error: ‘uint64_t’ has not been declared 44 | static int getSymbolAtPosition(std::string const & filename, uint64_t const offset) | ^~~~~~~~ ./libmaus2/aio/InputStreamInstance.hpp:22:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 21 | #include <libmaus2/aio/InputStreamPointerWrapper.hpp> +++ |+#include <cstdint> 22 | #include <istream> |
Étienne Mollier <emollier@debian.org> | yes | debian | 2025-02-28 | |
| unlock-stdc++.patch | unlock the standard C++ level. This patch drops passing the -std=c++17 option to the compiler. This change is made necessary due to evolution in the atomics handling in gcc-16 and increase strictness that translated into the build failure: . libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -msse2 -mssse3 -msse4.1 -mavx2 -std=c++17 -pthread -fopenmp -W -Wall -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++17 -pthread -fopenmp -c libmaus2/lcs/AlignmentOneAgainstManyAVX2.cpp -o libmaus2/lcs/simd_align_256_la-AlignmentOneAgainstManyAVX2.o >/dev/null 2>&1 In file included from ./libmaus2/parallel/threadpool/ThreadPool.hpp:22, from ./libmaus2/parallel/threadpool/input/InputThreadControl.hpp:21, from ./libmaus2/parallel/threadpool/input/InputThreadTrivialReturnInterface.hpp:21, from test/testThreadPoolRead.cpp:18: /usr/include/c++/16/atomic: In instantiation of ‘struct std::atomic<std::shared_ptr<libmaus2::parallel::threadpool::ThreadWorkPackageData> >’: ./libmaus2/parallel/threadpool/ThreadWorkPackage.hpp:40:62: required from here 40 | libmaus2::util::atomic_shared_ptr<ThreadWorkPackageData> data; | ^~~~ /usr/include/c++/16/atomic:215:21: error: static assertion failed: std::atomic requires a trivially copyable type 215 | static_assert(__is_trivially_copyable(_Tp), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ • ‘false’ evaluates to false . Newer standard C++ levels better handle this particular case apparently. |
Étienne Mollier <emollier@debian.org> | no | debian | 2026-08-05 |
All known versions for source package 'libmaus2'
- 2.0.813+ds-6 (sid, forky)
- 2.0.813+ds-4 (trixie)
- 2.0.813+ds-1 (bookworm)
