Describe the bug
I am trying to build cephtrace on Rocky Linux 10, but the build fails because the system cannot find gnu/stubs-32.h.
It appears that the build process (specifically when compiling osdtrace.bpf.c) is attempting to compile 32-bit code or is picking up host headers that trigger 32-bit paths. However, Rocky Linux 10 (and RHEL 10) has dropped support for the i686 architecture, so the package glibc-devel.i686 is no longer available in the repositories.
To Reproduce
Steps to reproduce the behavior:
- Fresh install of Rocky Linux 10 (Minimal or Standard).
- Install dependencies (without i686, as it doesn't exist):
sudo dnf install git make clang gcc-c++ elfutils-libelf-devel openssl-devel
- Clone and build:
git clone https://github.com/taodd/cephtrace
cd cephtrace
git submodule update --init --recursive
make
Expected behavior
The project should build successfully on modern 64-bit only distributions without requiring 32-bit compatibility libraries.
Screenshots / Logs
The build fails with the following error:
Environment
- OS: Rocky Linux release 10.1 (Red Quartz)
- Kernel: 6.12.0-124.56.1.el10_1.x86_64
- GCC/Clang:
[root@localhost cephtrace]# clang -v
clang version 20.1.8 (RESF 20.1.8-1.el10)
Target: x86_64-redhat-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Configuration file: /etc/clang/x86_64-redhat-linux-gnu-clang.cfg
System configuration file directory: /etc/clang/
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/11
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/14
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/8
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/14
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Describe the bug
I am trying to build
cephtraceon Rocky Linux 10, but the build fails because the system cannot findgnu/stubs-32.h.It appears that the build process (specifically when compiling
osdtrace.bpf.c) is attempting to compile 32-bit code or is picking up host headers that trigger 32-bit paths. However, Rocky Linux 10 (and RHEL 10) has dropped support for the i686 architecture, so the packageglibc-devel.i686is no longer available in the repositories.To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/taodd/cephtrace cd cephtrace git submodule update --init --recursive makeExpected behavior
The project should build successfully on modern 64-bit only distributions without requiring 32-bit compatibility libraries.
Screenshots / Logs
The build fails with the following error:
Environment