From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6083 invoked by alias); 31 Jul 2002 12:22:15 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 6044 invoked from network); 31 Jul 2002 12:22:11 -0000 Received: from unknown (HELO www.linux.org.uk) (195.92.249.252) by sources.redhat.com with SMTP; 31 Jul 2002 12:22:11 -0000 Received: from adsl-33-137-139.asm.bellsouth.net ([67.33.137.139] helo=mandrakesoft.com) by www.linux.org.uk with esmtp (Exim 3.33 #5) id 17ZsUU-0004DT-00 for gcc@gcc.gnu.org; Wed, 31 Jul 2002 13:22:11 +0100 Message-ID: <3D47D671.9010100@mandrakesoft.com> Date: Wed, 31 Jul 2002 08:58:00 -0000 From: Jeff Garzik Organization: MandrakeSoft User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020510 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gcc@gcc.gnu.org Subject: gcc 3.2's cpp breaks configure scripts X-Enigmail-Version: 0.65.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg01480.txt.bz2 cpp is spitting out a warning about changing the search order of include directories, and this is breaking a _ton_ of configure scripts. I found this when I started rebuilding Mandrake with gcc-3.2 branch. Just a heads-up, since I'm too slack to file a formal bug report :) This is particularly subtle breakage sometimes, because sometimes the configure step will succeed, but the build will break, or lack features, due to the lack of HAVE_FOO_H defines. Usually the Example from htdig's config.log: [...snip...] configure:3197: checking for zlib.h configure:3207: gcc -E -I/usr/include conftest.c >/dev/null 2>conftest.out cpp0: warning: changing search order for system directory "/usr/include" cpp0: warning: as it has already been specified as a non-system directory configure: failed program was: #line 3202 "configure" #include "confdefs.h" #include [...snip...] Example from lynx's config.log: [...snip...] configure:8814: checking for fcntl.h configure:8824: gcc -E -I../intl -D_GNU_SOURCE -DLINUX -I/usr/include conftest .c >/dev/null 2>conftest.out cpp0: warning: changing search order for system directory "/usr/include" cpp0: warning: as it has already been specified as a non-system directory configure: failed program was: #line 8819 "configure" #include "confdefs.h" #include [...snip...] gcc version info: Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/specs Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib --with-cpu=athlon Thread model: posix gcc version 3.2 (Mandrake Linux 9.0 3.2-0.2mdk)