Re: [pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] i18n: Don't compile with -ffast-math

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: GitLab
On 13.07.19 14:00, Georg Chini wrote:
On 28.05.19 18:18, Tanu Kaskinen wrote:

Tanu Kaskinen pushed to branch master at PulseAudio / pulseaudio

Commits:

  • fd9e3452
    by Felipe Sateler at 2019-05-28T16:16:49Z
    i18n: Don't compile with -ffast-math
    
    This flag results in calls to (at least) isfinite() and isnan() becoming
    skipped, and a constant false returned. This caused volume-test to fail
    on Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916504
    
    Since PulseAudio deals with negative infinities with volume dB values,
    this is not a problem only in volume-test. We shouldn't use -ffast-math
    at all.
    

1 changed file:

Changes:

  • configure.ac
    ... ... @@ -175,7 +175,7 @@ AX_CHECK_COMPILE_FLAG([-std=gnu11],
    175 175
        [-pedantic -Werror])
    
    176 176
     
    
    177 177
     AX_APPEND_COMPILE_FLAGS(
    
    178
    -    [-Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto],
    

    178
    +    [-Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto],
    
    179 179
         [], [-pedantic -Werror])
    
    180 180
     
    
    181 181
     AS_CASE([" $CFLAGS "], [*" -O0 "*], [], [
    


  • _______________________________________________
    pulseaudio-commits mailing list
    pulseaudio-commits@xxxxxxxxxxxxxxxxxxxxx
    https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

    This patch breaks the use of the soxr resampler for me.
    PA crashes under certain conditions. I only tested after
    applying !120. (Before this patch set, the soxr resampler
    behaves quite strange anyway).

    I think PA kicks me out because the real-time limit is
    exceeded and the limit is exceeded because the resampler
    is compiled without -ffast-math

    sent to the wrong list ...

    _______________________________________________
    pulseaudio-discuss mailing list
    pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
    https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

    [Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

      Powered by Linux