Builder ffmpeg-solaris10-sparc Build #12521
Results:
Failed shell_2 shell_3 shell_4 shell_5
SourceStamp:
Project | ffmpeg |
Repository | https://git.ffmpeg.org/ffmpeg.git |
Branch | master |
Revision | 3ea6c2fe2569f3e8d6f1396982ce8bf8a3fc6e13 |
Got Revision | 3ea6c2fe2569f3e8d6f1396982ce8bf8a3fc6e13 |
Changes | 1 change |
BuildSlave:
unstable10sReason:
The SingleBranchScheduler scheduler named 'schedule-ffmpeg-solaris10-sparc' triggered this build
Steps and Logfiles:
-
git update ( 44 secs )
-
shell 'gsed -i ...' ( 0 secs )
-
shell_1 'gsed -i ...' ( 0 secs )
-
shell_2 'gsed -i ...' failed ( 0 secs )
-
shell_3 './configure --samples="../../../ffmpeg/fate-suite" ...' failed ( 7 secs )
-
shell_4 'gmake fate-rsync' failed ( 0 secs )
-
shell_5 '../../../ffmpeg/fate.sh ../../../ffmpeg/fate_config.sh' failed ( 0 secs )
Build Properties:
Name | Value | Source |
---|---|---|
branch | master | Build |
builddir | /export/home/buildbot-unstable10s/slave/ffmpeg-solaris10-sparc | slave |
buildername | ffmpeg-solaris10-sparc | Builder |
buildnumber | 12521 | Build |
codebase | Build | |
got_revision | 3ea6c2fe2569f3e8d6f1396982ce8bf8a3fc6e13 | Git |
project | ffmpeg | Build |
repository | https://git.ffmpeg.org/ffmpeg.git | Build |
revision | 3ea6c2fe2569f3e8d6f1396982ce8bf8a3fc6e13 | Build |
scheduler | schedule-ffmpeg-solaris10-sparc | Scheduler |
slavename | unstable10s | BuildSlave |
workdir | /export/home/buildbot-unstable10s/slave/ffmpeg-solaris10-sparc | slave (deprecated) |
Forced Build Properties:
Name | Label | Value |
---|
Responsible Users:
- Martin Storsjömartin@martin.st
Timing:
Start | Mon Sep 1 11:32:23 2025 |
End | Mon Sep 1 11:33:16 2025 |
Elapsed | 53 secs |
All Changes:
:
Change #244176
Category ffmpeg Changed by Martin Storsjö <martin @martin.st>Changed at Mon 01 Sep 2025 11:22:39 Repository https://git.ffmpeg.org/ffmpeg.git Project ffmpeg Branch master Revision 3ea6c2fe2569f3e8d6f1396982ce8bf8a3fc6e13 Comments
aacencdsp: Improve consistency with assembly, for x87 math Currently, the aacencdsp checkasm tests fails for many seeds, if the C code has been built with x87 math. This happens because the excess precision of x87 math can make it end up rounding to a different integer, and the checkasm tests checks that the output integers match exactly between C and assembly. One such failing case is "tests/checkasm/checkasm --test=aacencdsp 41" when compiled with GCC. When compiled with Clang, the test seed 21 produces a failure. To avoid the issue, we need to limit the precision of intermediates to their nominal float range, matching the assembly implementations. This can be achieved when compiling with GCC, by just adding a single cast. To observe the effect of this cast, compile the following snippet, int cast(float a, float b) { return (int) #ifdef CAST (float) #endif (a + b); } with "gcc -m32 -std=c17 -O2", with/without -DCAST. For x86_64 cases (without the "-m32"), the cast doesn't make any difference on the generated code. This cast would seem to not have any effect, as a binary expression with float inputs also would have the type float. However, if compiling with GCC with -fexcess-precision=standard, the cast forces limiting the precision according to the language standard here - according to the GCC docs [1]: > When compiling C or C++, if -fexcess-precision=standard is > specified then excess precision follows the rules specified in > ISO C99 or C++; in particular, both casts and assignments cause > values to be rounded to their semantic types (whereas -ffloat-store > only affects assignments). This option is enabled by default for > C or C++ if a strict conformance option such as -std=c99 or > -std=c++17 is used. Ffmpeg's configure scripts enables -std=c17 by default. This only helps with GCC though - the cast doesn't make any difference for Clang. (Although, upstream Clang seems to default to SSE math, while Ubuntu provided Clang defaults to x87 math.) Limiting the precision with Clang would require casting to volatile float for both intermediates here - and that does have a code generation effect on all architectures. [1] https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
Changed files
- libavcodec/aacencdsp.h