Date: Mon, 17 Jan 2005 23:55:32 +0100 From: Matthias Andree <matthias.andree@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: re@FreeBSD.org Subject: gnu/76381: FreeBSD 4.11-RC3 GCC preprocessor failure Message-ID: <E1CqfmW-0006CS-9D@libertas.emma.line.org> Resent-Message-ID: <200501172300.j0HN0i68064892@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1CqfmW-0006CS-9D>