pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40010: lang/gcc34 build error on NetBSD-current and 5.0_BETA



>Number:         40010
>Category:       pkg
>Synopsis:       lang/gcc34 build error on NetBSD-current and 5.0_BETA
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 23 18:30:00 +0000 2008
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 5.99.3
>Organization:
>Environment:
System: NetBSD firefly.localdomain 5.99.3 NetBSD 5.99.3 (X32) #9: Sun Nov 23 
06:31:41 JST 2008 
root%firefly.localdomain@localhost:/obj/i386/usr/src/sys/arch/i386/compile/X32 
i386
Architecture: i386
Machine: i386
>Description:
        lang/gcc34 cannot be built on NetBSD-current and 5.0_BETA.

# cd /usr/pkgsrc/lang/gcc34 && make
[snip]
gmake[2]: Entering directory `/obj/i386/pkgsrc/lang/gcc34/work/obj/gcc'
stage1/xgcc -Bstage1/ -B/usr/pkg/gcc34/i386--netbsdelf5.99.3/bin/ -c   -g -O2 
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-pedantic -Wno-long-long -Wold-style-definition      -DHAVE_CONFIG_H 
-I/obj/i386/pkgsrc/lang/gcc34/work/.buildlink/include -I/usr/include 
-I/usr/include   -I. -Icp -I/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc 
-I/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp 
-I/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/../include -I../intl 
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c -o cp/parser.o
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:227: error: syntax 
error before "cp_lexer_token_difference"
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:228: warning: type 
defaults to `int' in declaration of `cp_lexer_token_difference'
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:228: error: ISO C 
forbids data definition with no type or storage class
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c: In function 
`cp_lexer_new_from_tokens':
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:350: error: 
`ptrdiff_t' undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:350: error: (Each 
undeclared identifier is reported only once
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:350: error: for each 
function it appears in.)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:350: error: syntax 
error before "num_tokens"
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:356: error: 
`num_tokens' undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c: At top level:
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:450: error: syntax 
error before "ptrdiff_t"
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:451: warning: 
function declaration isn't a prototype
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c: In function 
`cp_lexer_advance_token':
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:451: warning: 
old-style parameter declaration
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:452: error: `token' 
undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:452: error: `n' 
undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:453: error: `lexer' 
undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c: At top level:
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:462: error: syntax 
error before "cp_lexer_token_difference"
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:463: warning: return 
type defaults to `int'
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c: In function 
`cp_lexer_maybe_grow_buffer':
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:530: error: 
`ptrdiff_t' undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:530: error: syntax 
error before "buffer_length"
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:538: error: 
`buffer_length' undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:562: error: syntax 
error before "next_token_delta"
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:565: error: 
`next_token_delta' undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c: In function 
`cp_parser_check_for_invalid_template_id':
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:1887: error: 
`ptrdiff_t' undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:1887: error: syntax 
error before "start"
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:1904: error: `start' 
undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c: In function 
`cp_parser_nested_name_specifier_opt':
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:3064: error: 
`ptrdiff_t' undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:3064: error: syntax 
error before "start"
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:3086: error: `start' 
undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c: In function 
`cp_parser_template_id':
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:7876: error: 
`ptrdiff_t' undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:7876: error: syntax 
error before "start_of_id"
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:7915: error: 
`start_of_id' undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c: In function 
`cp_parser_template_name':
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:8154: error: 
`ptrdiff_t' undeclared (first use in this function)
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:8154: error: syntax 
error before "start"
/obj/i386/pkgsrc/lang/gcc34/work/gcc-3.4.6/gcc/cp/parser.c:8168: error: `start' 
undeclared (first use in this function)
gmake[2]: *** [cp/parser.o] Error 1
gmake[2]: Leaving directory `/obj/i386/pkgsrc/lang/gcc34/work/obj/gcc'
gmake[1]: *** [stage2_build] Error 2
gmake[1]: Leaving directory `/obj/i386/pkgsrc/lang/gcc34/work/obj/gcc'
gmake: *** [bootstrap] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/gcc34
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gcc34
# 

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

>Fix:
        Sorry, I don't know.



Home | Main Index | Thread Index | Old Index