Debian Patches

Status for linbox/1.7.0-5

Patch Description Author Forwarded Bugs Origin Last update
example.patch Fix example source related issues. no
soname.patch Debian specific soname. no
fix-doc-path.patch Fix links in documentation and provide a pointer to README about how to generate
developer's documentation.
no
fix-RR-RecCounter.patch Set RecCounter=0 if rbound_==0 to avoid cast of -inf.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733917

Test test-det on i386 or amd64 successfully pass after a few iterations, on
mips this test has an enormous number of iterations and build of the linbox
package on buildd breaks after 300 minutes of inactivity.

The reason for this behavior is that in:

linbox/algorithms/rational-reconstruction-base.h

the way to calculate RecCounter is:

RecCounter = (size_t)((double)log((double)rbound_)/log(2.));//2^RecCounter < rbound_ <=2^(RecCounter+1)

When rbound_ is equal to zero the result of log function is -inf (double[8
bytes]).

When we cast -inf to size_t (unsigned int[4 bytes]) on i386 and amd64, the
result is zero.

In the same situation on mips architecture, cast is done through TRUNC.W.D
instruction.

For this instruction, if the source value is Infinity, NaN, or rounds to an
integer outside the range -2^31 to 2^31-1, the result cannot be represented
correctly and an IEEE Invalid Operation condition exists. The result depends on
the FP exception model currently active and the default result is 2^31-1
(2147483647).
Dejan Latinovic <Dejan.Latinovic@rt-rk.com> no
uint128.patch Only register uint128_t as a TypeName when it's available. Otherwise, test-fft will fail when it isn't. Doug Torrance <dtorrance@debian.org> yes 2021-12-14
skip-test-fft-modular-extended.patch Skip Test FFT with ModularExtended; failing on i386. Doug Torrance <dtorrance@debian.org> yes upstream 2021-12-14
fix-the-size-formula-for-an-allocation.patch [PATCH] Fix the size formula for an allocation
Fixes #304 by adding one byte to the allocated size, based on the
rationale offered by Jerry James, @jamesjer, in
https://github.com/linbox-team/linbox/issues/304.

In addition, a new local variable is introduced for the size in question
to reduce repetition.
"Benjamin A. Beasley" <code@musicinmybrain.net> not-needed upstream https://github.com/linbox-team/linbox/pull/307 2024-03-26
const-cast-missing.patch Add missing const_cast's Jean-Guillaume Dumas <Jean-Guillaume.Dumas@imag.fr> yes debian upstream https://github.com/linbox-team/linbox/commit/b8f2d4c

All known versions for source package 'linbox'

Links