Skip to content

depends: Qt doesn't build on Chimera Linux #32744

@fanquake

Description

@fanquake

Tested using podman and chimeralinux/chimera

# c++ --version
clang version 20.1.6
Target: x86_64-chimera-linux-musl

#make -C depends/ qt
...
[ 15%] Building C object qtbase/src/tools/bootstrap/CMakeFiles/Bootstrap.dir/__/__/3rdparty/pcre2/src/pcre2_xclass.c.o
/bitcoin/depends/work/build/x86_64-pc-linux-musl/qt/6.7.3-0a1664c58a9/qtbase/src/corelib/tools/qhash.cpp:1452:45: error: 'memcpy' called with `n` bigger than the size of `d`.
 1452 |         memcpy(&k, &key, sizeof(long double));
      |                                             ^
/usr/include/fortify/string.h:48:1: note: from 'diagnose_if' attribute on 'memcpy':
   48 | __error_if((__fh_bos(__od, 0) < __n), "'memcpy' called with `n` bigger than the size of `d`.")
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/fortify/fortify-headers.h:120:47: note: expanded from macro '__error_if'
  120 | #define __error_if(cond, msg) __attribute__ ((diagnose_if (cond, msg, "error")))
      |                                               ^            ~~~~
1 error generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions