From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.bugs Subject: bug#5603: 23.1.90; value of CPP not used in configure script Date: Fri, 19 Feb 2010 12:34:40 +0100 Message-ID: <99510FE8-E289-4D01-A73B-31FCA8EDCFBD@Freenet.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1266584077 20939 80.91.229.12 (19 Feb 2010 12:54:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Feb 2010 12:54:37 +0000 (UTC) To: 5603@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 19 13:54:35 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NiSNO-0000L7-Bb for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2010 13:54:34 +0100 Original-Received: from localhost ([127.0.0.1]:49810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiSNN-000338-Sd for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2010 07:54:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NiSMG-0002j3-UF for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 07:53:25 -0500 Original-Received: from [140.186.70.92] (port=44131 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiSMF-0002ic-DG for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 07:53:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NiSLt-0002ku-9Z for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 07:53:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55003) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiSLt-0002kn-3G for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 07:53:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NiRun-0001AC-WF; Fri, 19 Feb 2010 07:25:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Feb 2010 12:25:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5603 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: emacs-pretest-bug@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12665822614454 (code B ref -1); Fri, 19 Feb 2010 12:25:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Feb 2010 12:24:21 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiRu9-00019n-0S for submit@debbugs.gnu.org; Fri, 19 Feb 2010 07:24:21 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiRu5-00019i-13 for submit@debbugs.gnu.org; Fri, 19 Feb 2010 07:24:19 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:35091) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiRtz-0007wq-Cb for emacs-pretest-bug@gnu.org; Fri, 19 Feb 2010 07:24:12 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55367) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NiRtx-0005LN-Pu for emacs-pretest-bug@gnu.org; Fri, 19 Feb 2010 07:24:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NiR8A-0000Oq-VM for emacs-pretest-bug@gnu.org; Fri, 19 Feb 2010 06:34:49 -0500 Original-Received: from mout7.freenet.de ([195.4.92.97]:49123) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiR8A-0000Nj-Iv for emacs-pretest-bug@gnu.org; Fri, 19 Feb 2010 06:34:46 -0500 Original-Received: from [195.4.92.15] (helo=5.mx.freenet.de) by mout7.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #1) id 1NiR88-0003Dy-1V for emacs-pretest-bug@gnu.org; Fri, 19 Feb 2010 12:34:44 +0100 Original-Received: from p5b23bc49.dip.t-dialin.net ([91.35.188.73]:55442 helo=[192.168.1.2]) by 5.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #1) id 1NiR87-0004gO-82 for emacs-pretest-bug@gnu.org; Fri, 19 Feb 2010 12:34:43 +0100 X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 19 Feb 2010 07:25:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35195 Archived-At: Hello! Trying to use the LLVM variant of GCC like this: env PATH=3D/Developer/usr/bin:/sw/bin:$PATH ./configure = --without-sound =20 --without-dbus --without-pop --with-ns --disable-ns-self-contained --x-=20= libraries=3D/usr/X11/libs --x-includes=3D/usr/X11/include/X11 --enable-=20= locallisppath=3D/Library/Application\ Support/Emacs/calendar23:/Library/=20= Application\ Support/Emacs CC=3Dllvm-gcc-4.2 CPP=3Dllvm-cpp-4.2 or like this env PATH=3D/Developer/usr/bin:/sw/bin:$PATH CC=3Dllvm-gcc-4.2 = CPP=3Dllvm-=20 cpp-4.2 ./configure --without-sound --without-dbus --without-pop --=20 with-ns --disable-ns-self-contained --x-libraries=3D/usr/X11/libs --x-=20= includes=3D/usr/X11/include/X11 --enable-locallisppath=3D/Library/=20 Application\ Support/Emacs/calendar23:/Library/Application\ Support/=20 Emacs configure just finds: checking build system type... powerpc-apple-darwin9.8.0 checking host system type... powerpc-apple-darwin9.8.0 checking for gcc... llvm-gcc-4.2 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether llvm-gcc-4.2 accepts -g... yes checking for llvm-gcc-4.2 option to accept ISO C89... none = needed checking how to run the C preprocessor... llvm-gcc-4.2 -E = -no-cpp-=20 precomp -I/sw/include -L/sw/lib or: + CC=3D'llvm-gcc-4.2 -I/sw/include -L/sw/lib' + test xyes =3D x + ac_ext=3Dc + ac_cpp=3D'$CPP $CPPFLAGS' + ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' + ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS = $LDFLAGS =20 conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=3Dyes + printf '%s\n' 'configure:4004: checking how to run the C =20 preprocessor' + printf %s 'checking how to run the C preprocessor... ' checking how to run the C preprocessor... + test -n = 'llvm-gcc-4.2 -E -=20 no-cpp-precomp -I/sw/include -L/sw/lib' + test -d 'llvm-gcc-4.2 -E -no-cpp-precomp -I/sw/include = -L/sw/lib' + test -z 'llvm-gcc-4.2 -E -no-cpp-precomp -I/sw/include = -L/sw/lib' + ac_cv_prog_CPP=3D'llvm-gcc-4.2 -E -no-cpp-precomp = -I/sw/include -L/sw/=20 lib' + printf '%s\n' 'configure:4122: result: llvm-gcc-4.2 -E = -no-cpp-=20 precomp -I/sw/include -L/sw/lib' + printf '%s\n' 'llvm-gcc-4.2 -E -no-cpp-precomp -I/sw/include = -L/sw/=20 lib' llvm-gcc-4.2 -E -no-cpp-precomp -I/sw/include -L/sw/lib + ac_preproc_ok=3Dfalse + for ac_c_preproc_warn_flag in ''\'''\''' yes + cat + cat confdefs.h + cat + ac_try=3D'$CPP $CPPFLAGS conftest.c' + case "(($ac_try" in + ac_try_echo=3D'$CPP $CPPFLAGS conftest.c' + eval 'ac_try_echo=3D"$as_me:4151: $CPP $CPPFLAGS conftest.c"' ++ ac_try_echo=3D'configure:4151: llvm-gcc-4.2 -E = -no-cpp-precomp -I/sw/=20 include -L/sw/lib conftest.c' + printf '%s\n' 'configure:4151: llvm-gcc-4.2 -E -no-cpp-precomp = -I/=20 sw/include -L/sw/lib conftest.c' + ac_status=3D0 + grep -v '^ *+' conftest.er1 + rm -f conftest.er1 + cat conftest.err + printf '%s\n' 'configure:4158: $? =3D 0' + exit 0 + test -z '' + : + rm -f conftest.err conftest.c + cat + cat confdefs.h + cat + ac_try=3D'$CPP $CPPFLAGS conftest.c' + case "(($ac_try" in + ac_try_echo=3D'$CPP $CPPFLAGS conftest.c' + eval 'ac_try_echo=3D"$as_me:4189: $CPP $CPPFLAGS conftest.c"' ++ ac_try_echo=3D'configure:4189: llvm-gcc-4.2 -E = -no-cpp-precomp -I/sw/=20 include -L/sw/lib conftest.c' + printf '%s\n' 'configure:4189: llvm-gcc-4.2 -E -no-cpp-precomp = -I/=20 sw/include -L/sw/lib conftest.c' + ac_status=3D1 + grep -v '^ *+' conftest.er1 + rm -f conftest.er1 + cat conftest.err + printf '%s\n' 'configure:4196: $? =3D 1' + exit 1 + printf '%s\n' 'configure: failed program was:' + sed 's/^/| /' conftest.c + ac_preproc_ok=3D: + break + rm -f conftest.err conftest.c + : + : + ac_ext=3Dc + ac_cpp=3D'$CPP $CPPFLAGS' + ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' + ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS = $LDFLAGS =20 conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=3Dyes There is also the question whether the option "-no-cpp-precomp" really =20= is necessary on Mac OS X 10.5 or 10.6. The version of GCC 4.2 LLVM =20 uses does not recognise this option: powerpc-apple-darwin9-llvm-gcc-4.2: unrecognized option = '-no-cpp-=20 precomp' In GNU Emacs 23.1.90.1 (powerpc-apple-darwin9.8.0, X toolkit, Xaw3d =20 scroll bars) of 2010-02-18 on Latsche.local Windowing system distributor `The X.Org Foundation', version =20 11.0.10799901 configured using `configure '--without-sound' '--without-pop' '--=20 without-dbus' '--without-gconf' '--with-x-toolkit=3Dathena' '--enable-=20= locallisppath=3D/Library/Application Support/Emacs/calendar23:/Library/=20= Application Support/Emacs' 'CFLAGS=3D-g -Wno-pointer-sign -H -pipe -fPIC = =20 -Os' 'CC=3Dgcc-4.2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Calendar Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t show-paren-mode: t display-time-mode: t desktop-save-mode: t delete-selection-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t -- Greetings Pete If it should exist, it doesn't. =96 Arnold's First Law of Documentation