Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2008 12:30:21 GMT
From:      Chris Calvey <chris@securityforensics.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121597: GCC 3.4.6 port fails to build
Message-ID:  <200803111230.m2BCULTN054337@www.freebsd.org>
Resent-Message-ID: <200803111240.m2BCe1hV020134@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         121597
>Category:       ports
>Synopsis:       GCC 3.4.6 port fails to build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 11 12:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Chris Calvey
>Release:        7.0-RELEASE
>Organization:
Digital Investigations
>Environment:
FreeBSD epsilon.localdomain 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Mar  4 18:09:03 GMT 2008     root@epsilon.localdomain:/usr/obj/usr/src/sys/EPSILON  i386
>Description:
Trying to build GCC 3.4.6 results in the following build fail message:

/bin/sh .././..//gcc-3.4.6/gcc/move-if-change tmp-conditions.c insn-conditions.c
echo timestamp > s-conditions
TARGET_CPU_DEFAULT="" \
        HEADERS="config/i386/i386-protos.h tm-preds.h" DEFINES="" \
        /bin/sh .././..//gcc-3.4.6/gcc/mkconfig.sh tm_p.h
cc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H -DGENERATOR_FILE -I/usr/local/include   -I. -I. -I.././..//gcc-3.4.6/gcc -I.././..//gcc-3.4.6/gcc/. -I.././..//gcc-3.4.6/gcc/../include  .././..//gcc-3.4.6/gcc/genpreds.c -o genpreds.o
cc   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genpreds \
         genpreds.o ../libiberty/libiberty.a
./genpreds > tmp-preds.h
/bin/sh .././..//gcc-3.4.6/gcc/move-if-change tmp-preds.h tm-preds.h
echo timestamp > s-preds
cc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -Wno-error  -DHAVE_CONFIG_H -DGENERATOR_FILE -I/usr/local/include   -I. -I. -I.././..//gcc-3.4.6/gcc -I.././..//gcc-3.4.6/gcc/. -I.././..//gcc-3.4.6/gcc/../include  insn-conditions.c
In file included from insn-conditions.c:30:
././..//gcc-3.4.6/gcc/output.h:122: error: expected ',' or ';' before 'ATTRIBUTE_NONNULL'
In file included from insn-conditions.c:34:
././..//gcc-3.4.6/gcc/toplev.h:57: error: expected ',' or ';' before 'ATTRIBUTE_NONNULL'
././..//gcc-3.4.6/gcc/toplev.h:61: error: expected ',' or ';' before 'ATTRIBUTE_NONNULL'
././..//gcc-3.4.6/gcc/toplev.h:65: error: expected ',' or ';' before 'ATTRIBUTE_NONNULL'
././..//gcc-3.4.6/gcc/toplev.h:74: error: expected ',' or ';' before 'ATTRIBUTE_NONNULL'
././..//gcc-3.4.6/gcc/toplev.h:75: error: expected ',' or ';' before 'ATTRIBUTE_NONNULL'
insn-conditions.c:757: warning: string length '534' is greater than the length '509' ISO C90 compilers are required to support
insn-conditions.c:1043: warning: string length '533' is greater than the length '509' ISO C90 compilers are required to support
insn-conditions.c:1581: warning: string length '597' is greater than the length '509' ISO C90 compilers are required to support
gmake[2]: *** [insn-conditions.o] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc'
gmake: *** [bootstrap-lean] Error 2


>How-To-Repeat:
cd /usr/ports/lang/gcc34
make

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803111230.m2BCULTN054337>