• Show log

    Commit

  • Hash : b4336c3a
    Author : DRC
    Date : 2024-08-13T15:41:54

    Work around valgrind/MSan SIMD false positives
    
    Referring to
    https://sourceforge.net/p/libjpeg-turbo/bugs/48,
    https://sourceforge.net/p/libjpeg-turbo/bugs/82,
     #15, #238, #253, and #619,
    valgrind and MSan have failed to properly detect data initialization by
    libjpeg-turbo's x86 SIMD extensions for the entire 14 years that
    libjpeg-turbo has been a project, resulting in false positives unless
    libjpeg-turbo is built with WITH_SIMD=0 or run with JSIMD_FORCENONE=1.
    This commit introduces a new C preprocessor macro (ZERO_BUFFERS) that,
    if set, causes libjpeg-turbo to zero certain buffers in order to work
    around the specific valgrind/MSan test failures caused by the
    aforementioned false positives.  This allows us to more closely
    approximate the production configuration of libjpeg-turbo when testing
    with valgrind or MSan.
    
    Closes #781
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/libjpeg-turbo.git
    Git SSH git@git.kmx.io:kc3-lang/libjpeg-turbo.git
    Public access ? public
    Description

    Fork of libjpeg with SIMD

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg_l thodg
    Tags