From owner-svn-src-all@FreeBSD.ORG Sun Jun 13 12:39:22 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1E101065678; Sun, 13 Jun 2010 12:39:22 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AD2FC8FC16; Sun, 13 Jun 2010 12:39:22 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o5DCdM58026978; Sun, 13 Jun 2010 12:39:22 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o5DCdMOE026977; Sun, 13 Jun 2010 12:39:22 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201006131239.o5DCdMOE026977@svn.freebsd.org> From: Ed Schouten Date: Sun, 13 Jun 2010 12:39:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209124 - in head/lib/clang: . include/llvm/Config X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2010 12:39:22 -0000 Author: ed Date: Sun Jun 13 12:39:22 2010 New Revision: 209124 URL: http://svn.freebsd.org/changeset/base/209124 Log: Disable usage of posix_spawn() inside LLVM. Even though it's nice to use posix_spawn() instead of manually using fork()/exec(), it's better to disable this. FreeBSD 7 doesn't support this interface. When enabled, we can't build tblgen, which prevents us from building FreeBSD 9 on 7. Tested by: raj Modified: head/lib/clang/clang.build.mk head/lib/clang/include/llvm/Config/config.h Modified: head/lib/clang/clang.build.mk ============================================================================== --- head/lib/clang/clang.build.mk Sun Jun 13 11:27:44 2010 (r209123) +++ head/lib/clang/clang.build.mk Sun Jun 13 12:39:22 2010 (r209124) @@ -12,7 +12,7 @@ TARGET_ARCH?= ${MACHINE_ARCH} # XXX: 8.0, to keep __FreeBSD_cc_version happy CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH}-undermydesk-freebsd9.0\" \ -DCLANG_VENDOR=\"FreeBSD\ \" -DSVN_REVISION=\"104832\" \ - -DCLANG_VENDOR_SUFFIX=\"\ 20100612\" + -DCLANG_VENDOR_SUFFIX=\"\ 20100613\" .PATH: ${LLVM_SRCS}/${SRCDIR} Modified: head/lib/clang/include/llvm/Config/config.h ============================================================================== --- head/lib/clang/include/llvm/Config/config.h Sun Jun 13 11:27:44 2010 (r209123) +++ head/lib/clang/include/llvm/Config/config.h Sun Jun 13 12:39:22 2010 (r209124) @@ -270,7 +270,7 @@ #define HAVE_OPENDIR 1 /* Define to 1 if you have the `posix_spawn' function. */ -#define HAVE_POSIX_SPAWN 1 +/* #undef HAVE_POSIX_SPAWN */ /* Define to 1 if you have the `powf' function. */ #define HAVE_POWF 1