diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-01-04 18:07:01 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-01-07 02:11:36 +0000 |
commit | 05382299cd9953a32c95f89b7cdef6f512176a81 (patch) | |
tree | 40a19c7c44a2957345db313363e4425cc0b78f05 /NEWS | |
parent | 1248cc816ce61e61829b510ae6969cbf224ce300 (diff) | |
download | coreutils-05382299cd9953a32c95f89b7cdef6f512176a81.tar.xz |
factor: apply a more general fix to enable correct assembly
In addition to the previous 64 bit guards we've placed in longlong.h
there are additional _LP64 guards required for mips with -mcpu >= 3,
to avoid a build failure (http://bugs.gnu.org/13353) and on sparc
with -mcpu >= v9 in 32 bit mode where for example,
`factor 2123123123123123123123` would go into an infinite loop.
Since factor.c currently operates on uintmax_t, we restrict the use
of the assembly in longlong.h to when 'long' has the same width, to
provide a more general guard for this code.
* src/factor.c: Restrict the use of longlong.h assembly code,
to when the width of intmax_t == long.
* src/longlong.h: Remove the previous _LP64 guards to avoid
divergence from GMP's longlong.h
* NEWS: Adjust the info on build and runtime fixes.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,7 +29,7 @@ GNU coreutils NEWS -*- outline -*- another range. Before, "echo 123|cut --output-delim=: -b2-,3" would print "2:3". Now it prints "23". [bug introduced in 5.3.0] - factor no longer loops infinitely on 32 bit powerpc systems. + factor no longer loops infinitely on 32 bit powerpc or sparc systems. [bug introduced in coreutils-8.20] install -m M SOURCE DEST no longer has a race condition where DEST's @@ -85,8 +85,8 @@ GNU coreutils NEWS -*- outline -*- build failure when building from modified sources, as is common practice for a patched distribution package. - factor now builds on x86_64 with x32 ABI, by avoiding incompatible asm. - [bug introduced in coreutils-8.20] + factor now builds on x86_64 with x32 ABI, 32 bit MIPS, and all HPPA systems, + by avoiding incompatible asm. [bug introduced in coreutils-8.20] A root-only test predicate would always fail. Its job was to determine whether our dummy user, $NON_ROOT_USERNAME, was able to run binaries from |