<div dir="ltr"><div dir="ltr">On Tue, Jun 13, 2023 at 9:18 AM Jeremy Luke Thompson <<a href="mailto:Jeremy.Thompson@colorado.edu">Jeremy.Thompson@colorado.edu</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It's probably easier to trace that sort of thing when building libCEED on its own, but it looks like ASAN is complaining about `char *source_path_with_name = "";`<br><br>Seems like an easy change I can do this morning.<br></blockquote><div><br></div><div>It is a warning. The fatal error was a link without the ASAN flag, but somehow this is swallowed. Jacob found it.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tuesday, June 13, 2023, Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>> wrote:<br>> For some reason, libCEED seems broken with Address Sanitizer<br>> *********************************************************************************************<br>>            UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<br>> ---------------------------------------------------------------------------------------------<br>>   Error running make on libceed: Could not execute "[['/PETSc3/petsc/apple/bin/make',<br>>   '-j13', '-l24.0', 'prefix=/PETSc3/petsc/petsc-pylith/arch-pylith-debug', 'V=1',<br>>   'CC=/PETSc3/petsc/apple/bin/mpicc', 'CFLAGS= -fPIC -Wall -Wwrite-strings<br>>   -Wno-unknown-pragmas -fstack-protector -fno-stack-check -Qunused-arguments<br>>   -fvisibility=hidden -fsanitize=address ', 'CXX=/PETSc3/petsc/apple/bin/mpicxx',<br>>   'CXXFLAGS= -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas<br>>   -fstack-protector -fno-stack-check -fvisibility=hidden -fsanitize=address  -std=gnu++17<br>>   -fPIC ', '-B']]":<br>><br>>   make: 'lib' with optional backends: /cpu/self/memcheck/serial /cpu/self/memcheck/blocked<br>>   /PETSc3/petsc/apple/bin/mpicc -I./include -fPIC -Wall -Wwrite-strings<br>>   -Wno-unknown-pragmas -fstack-protector -fno-stack-check -Qunused-arguments<br>>   -fvisibility=hidden -f<br>>   .... more output .....<br>>   mcheck/ceed-memcheck-qfunction.o build/backends/memcheck/ceed-memcheck-qfunctioncontext.o<br>>   build/backends/memcheck/ceed-memcheck-serial.o<br>>   build/backends/memcheck/ceed-memcheck-vector.o build/backends/ceed-backend-weak.o<br>>   build/gallery/ceed-gallery-weak.o<br>>   -lm/PETSc3/petsc/petsc-pylith/arch-pylith-debug/externalpackages/git.libceed/interface/ceed-preconditioning.c:44:9:<br>>   warning: initializing 'char *' with an expression of type 'const char [1]' discards<br>>   qualifiers [-Wincompatible-pointer-types-discards-qualifier<br>>   .... more error .....<br>>   ceed-operator.o<br>>   _asan.module_ctor in ceed-preconditioning.o<br>>   ...<br>>   ld: symbol(s) not found for architecture x86_64<br>>   clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>>   make: *** [Makefile:517: lib/libceed.dylib] Error 1<br>><br>> Does anyone else see this?<br>><br>>   Thanks,<br>>      Matt<br>><br>> --<br>> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>> -- Norbert Wiener<br>> <a href="https://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br>>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>