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
@conda-forge/ctng-compilers maintainers, I'm debugging a segfault issue in a simple libgomp program. I have a feeling -fsanitize=threads might help me pinpoint the issue. I'm reading to use TSan, libgomp needs to be recompiled with --disable-linux-futex (something you would never want to have in a production build).
Since I'm going to muck around with building this locally for myself, if you guys think it would be useful, I can do one of the following:
PR changes to the buildscripts that make it 'easy' for someone to do a local build and document how to do it. I'm thinking that I possibly create a new variable in conda_build_config.yaml that we only put one value in and then
Build out an alternate version of _openmp_mutex that can be installed with something like conda install openmp_mutex=*=*_gnu_nofutex and also probably do the same for the llvm openmp implementation because it has to be build explicilty with -DLIBOMP_TSAN_SUPPORT=ON. It might be better to just name them _gnu_debug and _llvm_debug.
I'm happy to just do my experiment of rebuilding libgomp for debug but since I'm doing the work, if others would find it useful, I'm willing to share. I don't think I've seen a cfep regarding debug builds of things but maybe I should go look again.
The text was updated successfully, but these errors were encountered:
Comment:
@conda-forge/ctng-compilers maintainers, I'm debugging a segfault issue in a simple libgomp program. I have a feeling
-fsanitize=threads
might help me pinpoint the issue. I'm reading to use TSan, libgomp needs to be recompiled with--disable-linux-futex
(something you would never want to have in a production build).Since I'm going to muck around with building this locally for myself, if you guys think it would be useful, I can do one of the following:
conda_build_config.yaml
that we only put one value in and then_openmp_mutex
that can be installed with something likeconda install openmp_mutex=*=*_gnu_nofutex
and also probably do the same for the llvm openmp implementation because it has to be build explicilty with-DLIBOMP_TSAN_SUPPORT=ON
. It might be better to just name them_gnu_debug
and_llvm_debug
.I'm happy to just do my experiment of rebuilding libgomp for debug but since I'm doing the work, if others would find it useful, I'm willing to share. I don't think I've seen a cfep regarding debug builds of things but maybe I should go look again.
The text was updated successfully, but these errors were encountered: