Am 06.03.19 um 23:17 schrieb Alan DeKok:
Are you executing other programs? Sending CoA packets? Yes, some perl scripts. No CoA as far as I know.
Another alternative is to use LLVM. If you install the LLVM RPM, you can then build FreeRADIUS with some more options. I changed the setup to debian because llvm packages and dbg-Repos are more accessible.
1) install LLVM 2) grab the 3.0.18 source (or the source from GitHub) 3) do: CC=clang ./configure --prefix=/opt/freeradius ... args ...
We did that and succeeded so far without the CFLAGS. This version crashes too.
4) Edit "Make.inc", and look for the line "CFLAGS = ..." add this:
-fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls -fsanitize-address-use-after-scope We get compile errors with those flags in some modules
using Debian Stretch and Debian Buster (ippool, rlm_mschap, rml_eap, sorry for the verbosity, it's just rlm_mschap): /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbencrypt.o: in function `main': ./src/modules/rlm_mschap/smbencrypt.c:63: undefined reference to `__asan_option_detect_stack_use_after_return' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:63: undefined reference to `__asan_stack_malloc_5' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:63: undefined reference to `__asan_set_shadow_f8' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:63: undefined reference to `__asan_set_shadow_f8' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:65: undefined reference to `__asan_set_shadow_00' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbencrypt.o: in function `ntpwdhash': ./src/modules/rlm_mschap/smbencrypt.c:52: undefined reference to `__asan_set_shadow_00' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:60: undefined reference to `__asan_set_shadow_f8' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbencrypt.o: in function `main': ./src/modules/rlm_mschap/smbencrypt.c:76: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:84: undefined reference to `__asan_set_shadow_f8' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:83: undefined reference to `__asan_stack_free_5' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:83: undefined reference to `__asan_set_shadow_00' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbencrypt.o: in function `tohex': ./src/modules/rlm_mschap/smbencrypt.c:43: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:43: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:43: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:44: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:44: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:43: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:43: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:43: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:44: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:44: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbencrypt.o: in function `main': ./src/modules/rlm_mschap/smbencrypt.c:74: undefined reference to `__asan_report_load8' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:70: undefined reference to `__asan_report_load8' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:71: undefined reference to `__asan_report_load8' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:72: undefined reference to `__asan_report_load8' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbencrypt.o: in function `tohex': ./src/modules/rlm_mschap/smbencrypt.c:46: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:46: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbencrypt.o: in function `main': ./src/modules/rlm_mschap/smbencrypt.c:76: undefined reference to `__asan_report_load1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbencrypt.o: in function `ntpwdhash': ./src/modules/rlm_mschap/smbencrypt.c:56: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbencrypt.o: in function `asan.module_ctor': ./src/modules/rlm_mschap/smbencrypt.c:(.text+0x742): undefined reference to `__asan_init' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:(.text+0x747): undefined reference to `__asan_version_mismatch_check_v8' /usr/bin/ld: ./src/modules/rlm_mschap/smbencrypt.c:(.text+0x758): undefined reference to `__asan_register_globals' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbencrypt.o: in function `asan.module_dtor': ./src/modules/rlm_mschap/smbencrypt.c:(.text+0x76e): undefined reference to `__asan_unregister_globals' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `smbhash': ./src/modules/rlm_mschap/smbdes.c:287: undefined reference to `__asan_option_detect_stack_use_after_return' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:287: undefined reference to `__asan_stack_malloc_6' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:287: undefined reference to `__asan_set_shadow_f8' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:299: undefined reference to `__asan_memset' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:298: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `dohash': ./src/modules/rlm_mschap/smbdes.c:196: undefined reference to `__asan_set_shadow_00' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `permute': ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `dohash': ./src/modules/rlm_mschap/smbdes.c:204: undefined reference to `__asan_memcpy' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:206: undefined reference to `__asan_memcpy' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `lshift': ./src/modules/rlm_mschap/smbdes.c:171: undefined reference to `__asan_memcpy' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:171: undefined reference to `__asan_memcpy' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `concat': ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `permute': ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `dohash': ./src/modules/rlm_mschap/smbdes.c:219: undefined reference to `__asan_memcpy' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:220: undefined reference to `__asan_memcpy' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:237: undefined reference to `__asan_memcpy' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:237: undefined reference to `__asan_memcpy' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:237: undefined reference to `__asan_memcpy' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o:./src/modules/rlm_mschap/smbdes.c:237: more undefined references to `__asan_memcpy' follow /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `dohash': ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_store4' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `permute': ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `dohash': ./src/modules/rlm_mschap/smbdes.c:266: undefined reference to `__asan_set_shadow_f8' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `smbhash': ./src/modules/rlm_mschap/smbdes.c:310: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:312: undefined reference to `__asan_stack_free_6' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:312: undefined reference to `__asan_set_shadow_00' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `str_to_key': ./src/modules/rlm_mschap/smbdes.c:272: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:273: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:274: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:275: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:276: undefined reference to `__asan_report_load1' LINK build/lib/rlm_expr.la /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o:./src/modules/rlm_mschap/smbdes.c:277: more undefined references to `__asan_report_load1' follow /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `str_to_key': ./src/modules/rlm_mschap/smbdes.c:281: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:281: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:281: undefined reference to `__asan_report_store1' /usr/bin/ldbuild/make/jlibtool --silent --mode=link clang -o build/lib/rlm_expr.la -rpath /usr/lib/freeradius -Wl,-z,relro -Wl,-z,now build/objs/src/modules/rlm_expr/rlm_expr.lo build/objs/src/modules/rlm_expr/paircmp.lo : ./src/modules/rlm_mschap/smbdes.c:281: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:281: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o:./src/modules/rlm_mschap/smbdes.c:281: more undefined references to `__asan_report_store1' follow /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `smbhash': ./src/modules/rlm_mschap/smbdes.c:305: undefined reference to `__asan_report_store_n' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:305: undefined reference to `__asan_report_store_n' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `lshift': ./src/modules/rlm_mschap/smbdes.c:169: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:169: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:169: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:169: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:169: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:169: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:169: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:169: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `permute': ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `dohash': ./src/modules/rlm_mschap/smbdes.c:241: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:241: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:243: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:243: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:243: undefined reference to `__asan_report_load1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o:./src/modules/rlm_mschap/smbdes.c:(.text+0x357e): more undefined references to `__asan_report_load1' follow /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `dohash': ./src/modules/rlm_mschap/smbdes.c:246: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:246: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:246: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `permute': ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `dohash': ./src/modules/rlm_mschap/smbdes.c:243: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:246: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `permute': ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `concat': ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store16' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `xor': ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_store16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_store16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_store16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_store16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:186: undefined reference to `__asan_report_store16' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `smbhash': ./src/modules/rlm_mschap/smbdes.c:297: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:297: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:298: undefined reference to `__asan_report_load1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `permute': ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `dohash': ./src/modules/rlm_mschap/smbdes.c:209: undefined reference to `__asan_report_load1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `concat': ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load_n' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load_n' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `permute': ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `dohash': ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_store4' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_load_n' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_store4' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_store4' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_load_n' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_store4' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_load4' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_store4' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_load_n' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_load_n' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_store4' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_load4' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_store4' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_load_n' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_load_n' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_load4' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_load_n' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_load4' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:251: undefined reference to `__asan_report_load_n' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `permute': ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_store1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:161: undefined reference to `__asan_report_load1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `smbhash': ./src/modules/rlm_mschap/smbdes.c:309: undefined reference to `__asan_report_load1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `concat': ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:177: undefined reference to `__asan_report_store16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_load16' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:179: undefined reference to `__asan_report_store16' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `smbdes_lmpwdhash': ./src/modules/rlm_mschap/smbdes.c:319: undefined reference to `__asan_option_detect_stack_use_after_return' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:319: undefined reference to `__asan_stack_malloc_0' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:324: undefined reference to `__asan_memset' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `toupper': /usr/include/ctype.h:215: undefined reference to `__asan_report_load4' /usr/bin/ld: /usr/include/ctype.h:215: undefined reference to `__asan_report_load8' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `smbdes_lmpwdhash': ./src/modules/rlm_mschap/smbdes.c:325: undefined reference to `__asan_report_load1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:326: undefined reference to `__asan_report_store1' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `smbdes_mschap': ./src/modules/rlm_mschap/smbdes.c:340: undefined reference to `__asan_option_detect_stack_use_after_return' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:340: undefined reference to `__asan_stack_malloc_1' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:344: undefined reference to `__asan_memset' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:344: undefined reference to `__asan_memcpy' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `asan.module_ctor': ./src/modules/rlm_mschap/smbdes.c:(.text+0x3d42): undefined reference to `__asan_init' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:(.text+0x3d47): undefined reference to `__asan_version_mismatch_check_v8' /usr/bin/ld: ./src/modules/rlm_mschap/smbdes.c:(.text+0x3d58): undefined reference to `__asan_register_globals' /usr/bin/ld: build/objs/src/modules/rlm_mschap/smbdes.o: in function `asan.module_dtor': ./src/modules/rlm_mschap/smbdes.c:(.text+0x3d6e): undefined reference to `__asan_unregister_globals' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [scripts/boiler.mk:630: build/bin/smbencrypt] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [debian/rules:23: override_dh_auto_install] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:94: binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2