-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
I am using clang-12:
Sulabhs-MacBook-Pro:build_posix sulabh$ clang --version Apple clang version 12.0.0 (clang-1200.0.32.29) Target: x86_64-apple-darwin20.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
config.status: creating test/syscall/Makefile config.status: creating test/thread/Makefile config.status: creating bench/workgen/Makefile config.status: creating bench/wtperf/Makefile config.status: creating tools/xray_to_optrack/Makefile config.status: creating Makefile config.status: creating wiredtiger.h config.status: creating wiredtiger_ext.h config.status: creating wiredtiger.pc config.status: creating wiredtiger_config.h config.status: wiredtiger_config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands /Library/Developer/CommandLineTools/usr/bin/make all-recursive Making all in ext/collators/reverse CC reverse_collator.lo error: include location '/usr/local/include' is unsafe for cross-compilation [-Werror,-Wpoison-system-directories] 1 error generated. make[2]: *** [reverse_collator.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
It probably is a new addition to help secure cross-compilation. The work here should be finding out the best way to get the compilation passing without having to silence the warning.