You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution to issue cannot be found in the documentation.
I checked the documentation.
Issue
On linux64, clang 15.0.7 and 16.0.5 do not set the sysroot properly. I notice that #216, #224, and #225 recently some fixed issues with sysroot handling. Perhaps that fix introduced new issues?
I experienced this issue when building a downstream package that uses llvm/clang at runtime (conda-forge/hoomd-feedstock#84). Here are the minimal steps to reproduce the issue.
(output truncated). Note the -internal-isystem /usr/local/include and that stdio.h is found in /usr/include/stdio.h. My test system has a working compiler in the base system, but stdio.h would not be found in minimal image (such as the conda-forge build container images).
(output truncated). Note the lack of any reference to /usr/include and the -internal-isystem /home/joaander/miniforge3/bin/../lib/gcc/x86_64-conda-linux-gnu/13.1.0/../../../../x86_64-conda-linux-gnu/sysroot/usr/local/include. stdio.h is correctly found inside the conda environment's sysroot.
Solution to issue cannot be found in the documentation.
Issue
On linux64, clang 15.0.7 and 16.0.5 do not set the sysroot properly. I notice that #216, #224, and #225 recently some fixed issues with sysroot handling. Perhaps that fix introduced new issues?
I experienced this issue when building a downstream package that uses llvm/clang at runtime (conda-forge/hoomd-feedstock#84). Here are the minimal steps to reproduce the issue.
test.c
:Starting from a clean
miniforge
install:(output truncated). Note the
-internal-isystem /usr/local/include
and thatstdio.h
is found in/usr/include/stdio.h
. My test system has a working compiler in the base system, butstdio.h
would not be found in minimal image (such as the conda-forge build container images).Similarly with clang 15.0.7:
(output truncated). Same behavior as 16.0.5.
However, clang 14.0.6 correctly sets the sysroot to point inside the conda environment:
(output truncated). Note the lack of any reference to
/usr/include
and the-internal-isystem /home/joaander/miniforge3/bin/../lib/gcc/x86_64-conda-linux-gnu/13.1.0/../../../../x86_64-conda-linux-gnu/sysroot/usr/local/include
.stdio.h
is correctly found inside the conda environment's sysroot.Installed packages
Environment info
The text was updated successfully, but these errors were encountered: