From owner-freebsd-stable@FreeBSD.ORG Mon Jan 17 22:55:32 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA4B916A4D0; Mon, 17 Jan 2005 22:55:32 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1575043D41; Mon, 17 Jan 2005 22:55:32 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: from localhost (localhost [127.0.0.1])5E03F4E146; Mon, 17 Jan 2005 23:55:31 +0100 (CET) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05082-05-3; Mon, 17 Jan 2005 23:55:26 +0100 (CET) Received: from m2a2.dyndns.org (pD9FFBEDD.dip.t-dialin.net [217.255.190.221]) 43F4C4E398; Mon, 17 Jan 2005 23:55:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 9A7BA79CA5; Mon, 17 Jan 2005 23:55:24 +0100 (CET) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05610-05-2; Mon, 17 Jan 2005 23:55:23 +0100 (CET) Received: from libertas.emma.line.org (libertas.emma.line.org [192.168.0.2]) by merlin.emma.line.org (Postfix) with ESMTP id B9F8D79CA4; Mon, 17 Jan 2005 23:55:23 +0100 (CET) Received: from emma by libertas.emma.line.org with local (Exim 4.43 (FreeBSD)) id 1CqfmW-0006CS-9D; Mon, 17 Jan 2005 23:55:32 +0100 To: FreeBSD-gnats-submit@freebsd.org From: Matthias Andree X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: Date: Mon, 17 Jan 2005 23:55:32 +0100 X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de cc: stable@freebsd.org cc: re@freebsd.org Subject: FreeBSD 4.11-RC3 GCC preprocessor failure X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Matthias Andree List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 22:55:33 -0000 >Submitter-Id: current-users >Originator: Matthias Andree >Organization: >Confidential: no >Synopsis: FreeBSD 4.11-RC3 GCC preprocessor failure >Severity: critical >Priority: high >Category: gnu >Class: sw-bug >Release: FreeBSD 4.11-RC3 i386 >Environment: System: FreeBSD libertas.emma.line.org 4.11-RC3 FreeBSD 4.11-RC3 #17: Mon Jan 17 21:44:19 CET 2005 root@libertas.emma.line.org:/usr/src/sys/compile/LIBERTAS i386 >Description: GCC 2.95.4 cannot compile e2fsprogs development version while GCC 3.3 is fine. The preprocessor fails to expand a macro with a longish name, error message: making all in lib/e2p gmake[2]: Entering directory `/tmp/e2fsprogs/build/lib/e2p' CC ../../../lib/e2p/feature.c ../../../lib/e2p/feature.c:50: `EXT3_FEATURE_INCOMPAT_EXTENTS' undeclared here (not in a function) ../../../lib/e2p/feature.c:50: initializer element is not constant ../../../lib/e2p/feature.c:50: (near initialization for `feature_list[12].mask') gmake[2]: *** [feature.o] Error 1 type: less lib/e2p/feature.i and type /EXT3 and press the enter key to see the problem area: { 1 , 0x0008 , "journal_dev" }, { 1 , EXT3_FEATURE_INCOMPAT_EXTENTS, "extents" }, { 1 , 0x0010 , "meta_bg" }, GCC 3.3 will properly replace EXT3_FEATURE_INCOMPAT_EXTENTS with 0x0040 (install lang/gcc33, then gmake CC=gcc33) >How-To-Repeat: - install devel/gmake port - install devel/bibktkeeper port (see PR #76208 if it's uncommitted) - cd to a writable directory with some 30 MB room - type these commands to check out, configure and build the code: # # the next three commands will clone the repository and check it out # bk clone -qr'tytso@think.thunk.org|ChangeSet|20050117193220|14963' \ bk://thunk.org:5000/ e2fsprogs/ cd e2fsprogs bk -Ur get -Sq # # now do the build # mkdir build cd build ../configure -C CFLAGS="-O -save-temps" gmake >Fix: