Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native GCC 12 is lacking the mm_malloc.h header #312

Open
VioletGiraffe opened this issue Nov 1, 2024 · 1 comment
Open

Native GCC 12 is lacking the mm_malloc.h header #312

VioletGiraffe opened this issue Nov 1, 2024 · 1 comment

Comments

@VioletGiraffe
Copy link

VioletGiraffe commented Nov 1, 2024

This header, which should be part of the GCC package, is missing and I can't build my software because of that.
Apparently, this file is included in x86, x64 and ppc64 packages, but not arm64:

apt-file search mm_malloc.h
castxml: /usr/share/castxml/clang/include/mm_malloc.h
castxml: /usr/share/castxml/clang/include/ppc_wrappers/mm_malloc.h
gcc-mingw-w64-i686-posix: /usr/lib/gcc/i686-w64-mingw32/12-posix/include/mm_malloc.h
gcc-mingw-w64-i686-win32: /usr/lib/gcc/i686-w64-mingw32/12-win32/include/mm_malloc.h
gcc-mingw-w64-x86-64-posix: /usr/lib/gcc/x86_64-w64-mingw32/12-posix/include/mm_malloc.h
gcc-mingw-w64-x86-64-win32: /usr/lib/gcc/x86_64-w64-mingw32/12-win32/include/mm_malloc.h
libclang-common-13-dev: /usr/lib/llvm-13/lib/clang/13.0.1/include/mm_malloc.h
libclang-common-13-dev: /usr/lib/llvm-13/lib/clang/13.0.1/include/ppc_wrappers/mm_malloc.h
libclang-common-14-dev: /usr/lib/llvm-14/lib/clang/14.0.6/include/mm_malloc.h
libclang-common-14-dev: /usr/lib/llvm-14/lib/clang/14.0.6/include/ppc_wrappers/mm_malloc.h
libclang-common-15-dev: /usr/lib/llvm-15/lib/clang/15.0.6/include/mm_malloc.h
libclang-common-15-dev: /usr/lib/llvm-15/lib/clang/15.0.6/include/ppc_wrappers/mm_malloc.h
libclang-common-16-dev: /usr/lib/llvm-16/lib/clang/16/include/mm_malloc.h
libclang-common-16-dev: /usr/lib/llvm-16/lib/clang/16/include/ppc_wrappers/mm_malloc.h
libgcc-11-dev-amd64-cross: /usr/lib/gcc-cross/x86_64-linux-gnu/11/include/mm_malloc.h
libgcc-11-dev-i386-cross: /usr/lib/gcc-cross/i686-linux-gnu/11/include/mm_malloc.h
libgcc-11-dev-ppc64el-cross: /usr/lib/gcc-cross/powerpc64le-linux-gnu/11/include/mm_malloc.h
libgcc-12-dev-amd64-cross: /usr/lib/gcc-cross/x86_64-linux-gnu/12/include/mm_malloc.h
libgcc-12-dev-i386-cross: /usr/lib/gcc-cross/i686-linux-gnu/12/include/mm_malloc.h
libgcc-12-dev-powerpc-cross: /usr/lib/gcc-cross/powerpc-linux-gnu/12/include/mm_malloc.h
libgcc-12-dev-ppc64-cross: /usr/lib/gcc-cross/powerpc64-linux-gnu/12/include/mm_malloc.h
libgcc-12-dev-ppc64el-cross: /usr/lib/gcc-cross/powerpc64le-linux-gnu/12/include/mm_malloc.h
libgcc-12-dev-x32-cross: /usr/lib/gcc-cross/x86_64-linux-gnux32/12/include/mm_malloc.h

It is deployed properly by clang, but I want GCC.

@XECDesign
Copy link

We don't patch GCC in any way and it looks like the situation is the same in Debian (https://packages.debian.org/search?suite=bookworm&arch=arm64&mode=exactfilename&searchon=contents&keywords=mm_malloc.h)

Everything I'm seeing online says that file is architecture-dependant and isn't meant to be included for ARM platforms, but if that's wrong, I think that should be reported here: https://www.debian.org/Bugs/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants