Open Quuxplusone opened 10 years ago
Please provide a preprocessed exec.c to aid in triaging this PR.
Attached exec.i.gz
(26700 bytes, application/binary): gziped prepreprocessed exec.c
The problem arose because GNU Autoconf's AC_CHECK_DECLS macro relied on the
compiler reporting an error for a C program like "int main() { (void) strlcpy;
}". Clang has always reported a warning, not an error, when the symbol at
issue is a builtin function. Thus, the PostgreSQL "configure" script wrongly
concluded that system headers provided a strlcpy() declaration.
The next version of Autoconf will work around this Clang behavior:
http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=82ef7805faffa151e724aa76c245ec590d174580
exec.i.gz
(26700 bytes, application/binary)