[Bug 2033405] Re: Wrong sha256 sum on ppc64el (compiled with -O3)
Benjamin Drung
2033405 at bugs.launchpad.net
Thu Apr 11 22:26:49 UTC 2024
Thanks. I have taken the patch from https://github.com/resurrecting-
open-source-projects/dcfldd/pull/24 and applied it to the Ubuntu
package.
** Changed in: gcc-13 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-13 in Ubuntu.
https://bugs.launchpad.net/bugs/2033405
Title:
Wrong sha256 sum on ppc64el (compiled with -O3)
Status in The Ubuntu-power-systems project:
New
Status in dcfldd package in Ubuntu:
Fix Released
Status in gcc-13 package in Ubuntu:
Invalid
Bug description:
dcfldd 1.9.1-1 on ppc64el produces a wrong sha256 sum:
```
$ dpkg -s dcfldd | grep ^Version
$ dcfldd if=debian/tests/test.txt of=/tmp/test2.txt hash=md5,sha1,sha256,sha384,sha512
Total (md5): 92994b0ce292a217e3e3bc31b639e565
Total (sha1): bc0e4b74695142e0a0bdae87aea310d7078866cb
Total (sha256):
b0041d27f7429be0d371dd1ff3eb5c7f4385f71e64757344631f84d15026ee5c
Total (sha384):
53b8374607a8258de4173265bfbfa6120093fd42090a92fd589cf2c6c16b4e421b5135777714976713f7949715720a83
Total (sha512):
969a39bf47b5f12d81121084f19cb5ae250e0c0ea5b7c6d82cf08131acde8e1955d137612c2f6b255e25b0e28f96f93586f90f06965cb8f719ed7fbdd95cc8d4
0+1 records in
0+1 records out
$ sha256sum /tmp/test2.txt
02fd428a4671925e4ca61541b9fac648f4ccdccad65602bfd3256ba14e59489c /tmp/test2.txt
```
dcfldd 1.7.1-1 creates the correct sha256 sum.
The package built on 2023-06-13 with gcc 12.3.0-1ubuntu1 and a local
built on 2023-09-04 with gcc 13.2.0-2ubuntu1 are affected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/2033405/+subscriptions
More information about the foundations-bugs
mailing list