2022-08-22 09:06:11 |
Frank Heimes |
bug |
|
|
added bug |
2022-08-22 09:08:28 |
Frank Heimes |
bug task added |
|
glibc (Ubuntu) |
|
2022-08-22 09:11:00 |
Frank Heimes |
bug watch added |
|
https://sourceware.org/bugzilla/show_bug.cgi?id=29488 |
|
2022-08-22 09:11:00 |
Frank Heimes |
bug task added |
|
glibc |
|
2022-08-22 09:11:48 |
Frank Heimes |
description |
root@kinetic:~/build# ./elf/ld.so --library-path .:math ./math/test-ibm128-llround
testing long double (without inline functions)
Failure: llround (0x7fffffffffffffff.8p0): Exception "Invalid operation" not set
Failure: llround_downward (0x7fffffffffffffff.8p0): Exception "Invalid operation" not set
Failure: llround_towardzero (0x7fffffffffffffff.8p0): Exception "Invalid operation" not set
Failure: llround_upward (0x7fffffffffffffff.8p0): Exception "Invalid operation" not set
Test suite completed:
1156 test cases plus 656 tests for exception flags and
656 tests for errno executed.
4 errors occurred.
Recompiling math/s_llroundl.os with gcc-11 or with gcc-12 -O1 is enough to fix this. Looking at the disassembly though I'm completely confused, feraiseexcept (FE_INVALID); is still getting called in the failing case and the code that runs after that looks the same (I've spent far too long trying to debug this). I've uploaded the .o files to https://people.canonical.com/~mwh/good.o and https://people.canonical.com/~mwh/bad.o -- good luck to the next person!
A potential fix is here:
https://sourceware.org/pipermail/libc-alpha/2022-August/141547.html |
root@kinetic:~/build# ./elf/ld.so --library-path .:math ./math/test-ibm128-llround
testing long double (without inline functions)
Failure: llround (0x7fffffffffffffff.8p0): Exception "Invalid operation" not set
Failure: llround_downward (0x7fffffffffffffff.8p0): Exception "Invalid operation" not set
Failure: llround_towardzero (0x7fffffffffffffff.8p0): Exception "Invalid operation" not set
Failure: llround_upward (0x7fffffffffffffff.8p0): Exception "Invalid operation" not set
Test suite completed:
1156 test cases plus 656 tests for exception flags and
656 tests for errno executed.
4 errors occurred.
Recompiling math/s_llroundl.os with gcc-11 or with gcc-12 -O1 is enough to fix this. Looking at the disassembly though I'm completely confused, feraiseexcept (FE_INVALID); is still getting called in the failing case and the code that runs after that looks the same (I've spent far too long trying to debug this). I've uploaded the .o files to https://people.canonical.com/~mwh/good.o and https://people.canonical.com/~mwh/bad.o -- good luck to the next person!
A potential fix is here:
https://sourceware.org/pipermail/libc-alpha/2022-August/141547.html
For more details and discussions have a look at the attached upstream bug. |
|
2022-08-31 15:59:25 |
bugproxy |
tags |
|
architecture-ppc64le bugnameltc-199621 severity-medium targetmilestone-inin--- |
|
2022-09-01 18:39:08 |
Bug Watch Updater |
glibc: status |
Unknown |
New |
|
2022-09-01 18:39:08 |
Bug Watch Updater |
glibc: importance |
Unknown |
Medium |
|
2022-09-29 10:40:35 |
Dimitri John Ledkov |
bug watch added |
|
https://sourceware.org/bugzilla/show_bug.cgi?id=29456 |
|
2022-10-25 01:53:50 |
Bug Watch Updater |
glibc: status |
New |
Fix Released |
|
2022-12-13 17:46:50 |
Simon Chopin |
glibc (Ubuntu): status |
New |
Fix Released |
|
2023-01-10 15:45:55 |
Frank Heimes |
ubuntu-power-systems: status |
New |
Fix Released |
|
2023-11-27 06:29:32 |
bugproxy |
tags |
architecture-ppc64le bugnameltc-199621 severity-medium targetmilestone-inin--- |
architecture-ppc64le bugnameltc-199621 severity-medium targetmilestone-inin2210 |
|