<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/119507>119507</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Regression in Fedora pybind11 package caused by 7954a0514ba7de40dba6c598af830fd1b7a8bf0c
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
fhahn
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tstellar
</td>
</tr>
</table>
<pre>
This could be the same issue as #119099. One of the test cases in the pybind11 package is failing and I've bisected it back to 7954a0514ba7de40dba6c598af830fd1b7a8bf0c. Here is a container file to reproduce the failure:
```
FROM registry.fedoraproject.org/fedora:41
RUN dnf install -y cmake ninja-build git binutils-devel clang
WORKDIR /root/
RUN git clone https://github.com/llvm/llvm-project
WORKDIR /root/llvm-project
RUN git checkout 7954a0514ba7de40dba6c598af830fd1b7a8bf0c
RUN cmake -G Ninja -B build -S llvm/ -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD=Native -DLLVM_BINUTILS_INCDIR=/usr/include -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
RUN ninja -C build install-clang install-clang-resource-headers install-LLVMgold install-llvm-ar install-llvm-ranlib
WORKDIR /root/
RUN dnf builddep -y pybind11
RUN git clone https://github.com/pybind/pybind11
WORKDIR /root/pybind11
RUN git checkout v2.13.6
ENV CFLAGS='-O2 -flto=thin -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' \
CXXFLAGS='-O2 -flto=thin -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' \
FFLAGS='-O2 -flto=thin -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' \
FCFLAGS='-O2 -flto=thin -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' \
LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -flto=thin -ffat-lto-objects -Wl,--build-id=sha1 ' \
CC=clang \
CXX=clang++
RUN /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -B python3 -DCMAKE_BUILD_TYPE=Debug -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYBIND11_INSTALL=TRUE -DUSE_PYTHON_INCLUDE_DIR=FALSE
RUN /usr/bin/make -O -j$(nproc) V=1 VERBOSE=1 -C python3
RUN /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP'
RUN make -C python3 check -j$(nproc)
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsV0tv2zwW_TXM5oKGHnZsL7yQLSnVfK4VSHaTrAyKoiw2MmmQVNrMrx9Q8iNuJtN2gBl8iwIBYpKHh_dF6lyiNd8JxmZoNEeeV9WkFsjz0Ci8Ia2ppZoZbVjTEHVTyPJ1tq65BirbpoSCgakZaLJnwLVuGRANyPNdd-pMpwNIBQNZdRjDtAFKNNPARTdzeC24KF0XDoQ-k51lgIrwhosdEFFCgrzxC4OCa0YNK4EbKAh9BiNhPB0NiTNyhwUZl2zolAW5paPphFQT36lKtxiTSVE5dADwiamOmQCVwhAumIKKN8zSKHZQsmxp74U9u1UM-QFyAnTrHP-cIM7Sz6DYjmujXgcVK6UiByW_MmoGUu2QF_dzyA-Grt3rBNlmBaWogAttSNMAfgW6J88MBBdfCS5a3pSwsx5x0RreaFyyF9YAbYjY9RQPafZXmGSAvFhJaZAXX6jtTtpIwaA25qCtyV6MvHjHTd0WAyr3yIub5uX0Dx_N_Yj5PeZ8Ss3os2zNL4f8sr13GN_ByvoMeA692ziHo2mAw-Xyy-dttArmy2h7n6X_iBbrHPlhF4fT8jrI7qJ1vl2n2_kmWYbID1fE8Bd2AsyT1WadLPNtslqESYb8EHlxqxXyYi5o05YWufgc_BX1BNv1032E_DBjDSP6srh4fNwu0s_3yTLKTkYgb468-QXyHnB2WPR-Lo5-HnOPe1-uRlgxLVtFGa4ZKZnS52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