Skip to content

Build failure in channelmixerrgb.c #8339

Closed

Description

@1div0

Compilation with GNU C/C++ 11.0.0 failed

In file included from /1TB/usr/src/github.com/1div0/darktable/build/lib64/darktable/plugins/introspection_channelmixerrgb.c:164:
/1TB/usr/src/github.com/1div0/darktable/src/iop/channelmixerrgb.c: In function ‘_extract_patches’:
/1TB/usr/src/github.com/1div0/darktable/src/iop/channelmixerrgb.c:1337:5: error: ‘dot_product’ accessing 16 bytes in a region of size 12 [-Werror=stringop-overflow=]
 1337 |     dot_product(patches + k * 4, RGB_to_XYZ, XYZ);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors
gmake[2]: *** [lib64/darktable/plugins/CMakeFiles/channelmixerrgb.dir/build.make:88: lib64/darktable/plugins/CMakeFiles/channelmixerrgb.dir/introspection_channelmixerrgb.c.o] Error 1
€ git clone --recursive [email protected]:1div0/darktable.git
€ cd darktable
€ ./build.sh --prefix /opt/darktable+bmff --build-type Release --install --sudo

Fedora 33 (Workstation Edition)

However compiler is from upcoming F34

Activity

  1. kmilos commented on Mar 23, 2021

    @kmilos
    Contributor

    @TurboGit looks like also addressed by 7825e11 and c6c0f56

  2. TurboGit commented on Mar 23, 2021

    @TurboGit
    Member

    Probably yes, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions