From owner-freebsd-bugs@FreeBSD.ORG Mon Jan 17 23:00:45 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E20B316A4CE for ; Mon, 17 Jan 2005 23:00:44 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB95D43D1F for ; Mon, 17 Jan 2005 23:00:44 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0HN0iMK064896 for ; Mon, 17 Jan 2005 23:00:44 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0HN0i68064892; Mon, 17 Jan 2005 23:00:44 GMT (envelope-from gnats) Resent-Date: Mon, 17 Jan 2005 23:00:44 GMT Resent-Message-Id: <200501172300.j0HN0i68064892@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Andree 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 Message-Id: Date: Mon, 17 Jan 2005 23:55:32 +0100 From: Matthias Andree To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: stable@FreeBSD.org cc: re@FreeBSD.org Subject: gnu/76381: FreeBSD 4.11-RC3 GCC preprocessor failure X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Matthias Andree List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 23:00:45 -0000 >Number: 76381 >Category: gnu >Synopsis: FreeBSD 4.11-RC3 GCC preprocessor failure >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 17 23:00:43 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 4.11-RC3 i386 >Organization: >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: >Release-Note: >Audit-Trail: >Unformatted: