https://bugzilla.mindrot.org/show_bug.cgi?id=3482
Darren Tucker <dtuc...@dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dtuc...@dtucker.net --- Comment #2 from Darren Tucker <dtuc...@dtucker.net> --- The log in the referenced bug does in fact detect asprintf and set "#define HAVE_ASPRINTF 1" so that code should not even be compiled on that configuration: configure:11975: /opt/spack/lib/spack/env/clang/clang -o conftest -g -O2 -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -D_FORTIFY_SOURCE=2 -ftrapv -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIE -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -fstack-protector-strong -pie conftest.c -lutil -lz >&5 conftest.c:151:18: warning: format string missing [-Wformat] return asprintf (); ~~~~~~~~ ^ 1 warning generated. configure:11975: $? = 0 configure:11975: result: yes [...] | #define HAVE_ASPRINTF 1 I am also not able to reproduce on Fedora 36 with a locally built clang 15: $ /opt/clang-15.0.1/bin/clang --version clang version 15.0.1 (https://github.com/llvm/llvm-project.git b73d2c8c720a8c8e6e73b11be4e27afa6cb75bdf) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/clang-15.0.1/bin Is something modifying config.h, or is it picking up a config.h from some other location? -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list openssh-bugs@mindrot.org https://lists.mindrot.org/mailman/listinfo/openssh-bugs