-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
In recent versions of IntelLLVM (2023.2.x or so), using '-check all' can cause issues. When I went to install pfunit 4.7.3 using external fargparse 1.5.0 with intel oneapi 2023.2.0, I got error that looked like the following during the pfunit build:
/tmp/user/spack-stage/spack-stage-fargparse-1.5.0-5qkahh4tiiyqxjuoy4ralefmfyr6gy7j/spack-src/src/StoreFalseAction.F90:54: undefined reference to `__msan_warning_with_origin_noreturn'
/tmp/user/spack-stage/spack-stage-fargparse-1.5.0-5qkahh4tiiyqxjuoy4ralefmfyr6gy7j/spack-src/src/StoreFalseAction.F90:54: undefined reference to `__msan_chain_origin'
/tmp/user/spack-stage/spack-stage-fargparse-1.5.0-5qkahh4tiiyqxjuoy4ralefmfyr6gy7j/spack-src/src/StoreFalseAction.F90:54: undefined reference to `__msan_chain_origin'
/tmp/user/spack-stage/spack-stage-fargparse-1.5.0-5qkahh4tiiyqxjuoy4ralefmfyr6gy7j/spack-src/src/StoreFalseAction.F90:54: undefined reference to `__msan_chain_origin'
/tmp/user/spack-stage/spack-stage-fargparse-1.5.0-5qkahh4tiiyqxjuoy4ralefmfyr6gy7j/spack-src/src/StoreFalseAction.F90:54: undefined reference to `__msan_warning_with_origin_noreturn'
/tmp/user/spack-stage/spack-stage-fargparse-1.5.0-5qkahh4tiiyqxjuoy4ralefmfyr6gy7j/spack-src/src/StoreFalseAction.F90:54: undefined reference to `__msan_warning_with_origin_noreturn'
/tmp/user/spack-stage/spack-stage-fargparse-1.5.0-5qkahh4tiiyqxjuoy4ralefmfyr6gy7j/spack-src/src/StoreFalseAction.F90:54: undefined reference to `__msan_warning_with_origin_noreturn'
As with other codes where I've run into this, I can make this go away by adding '-check nouninit' after '-check all'. For example, in my spack-based installation, I added the following patch for fargparse and pfunit:
def patch(self):
filter_file(r'set.check_all "-check all".', r'set(check_all "-check all -check nouninit")', "cmake/IntelLLVM.cmake")
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels