Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2008 06:23:29 +0100
From:      Kjell Tore Ullavik <ktullavik@gmail.com>
To:        ports@freebsd.org
Subject:   Can't build gcc34
Message-ID:  <47E0A351.6070800@gmail.com>

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

I get the following error when building gcc34 on 7-STABLE, ports are up 
to date.
Is something funky with my system? I haven't seem any reports. Just ask 
for more info.

cc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H 
-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  
gtype-desc.c -o gtype-desc.o
gtype-desc.c: In function 'gt_ggc_mx_cgraph_varpool_node':
gtype-desc.c:51: error: dereferencing pointer to incomplete type
gtype-desc.c:51: error: dereferencing pointer to incomplete type
gtype-desc.c:52: error: dereferencing pointer to incomplete type
gtype-desc.c:52: error: dereferencing pointer to incomplete type
gtype-desc.c: In function 'gt_ggc_mx_cgraph_edge':
gtype-desc.c:62: error: dereferencing pointer to incomplete type
gtype-desc.c:62: error: dereferencing pointer to incomplete type
gtype-desc.c:63: error: dereferencing pointer to incomplete type
gtype-desc.c:63: error: dereferencing pointer to incomplete type
gtype-desc.c:64: error: dereferencing pointer to incomplete type
gtype-desc.c:64: error: dereferencing pointer to incomplete type
gtype-desc.c:65: error: dereferencing pointer to incomplete type
gtype-desc.c:65: error: dereferencing pointer to incomplete type
gtype-desc.c: In function 'gt_ggc_mx_cgraph_node':
gtype-desc.c:75: error: dereferencing pointer to incomplete type
gtype-desc.c:79: error: dereferencing pointer to incomplete type
gtype-desc.c:86: error: dereferencing pointer to incomplete type
gtype-desc.c:86: error: dereferencing pointer to incomplete type
gtype-desc.c:87: error: dereferencing pointer to incomplete type
gtype-desc.c:87: error: dereferencing pointer to incomplete type
gtype-desc.c:88: error: dereferencing pointer to incomplete type
gtype-desc.c:88: error: dereferencing pointer to incomplete type
gtype-desc.c:89: error: dereferencing pointer to incomplete type
gtype-desc.c:89: error: dereferencing pointer to incomplete type
gtype-desc.c:90: error: dereferencing pointer to incomplete type
gtype-desc.c:90: error: dereferencing pointer to incomplete type
gtype-desc.c:91: error: dereferencing pointer to incomplete type
gtype-desc.c:91: error: dereferencing pointer to incomplete type
gtype-desc.c:92: error: dereferencing pointer to incomplete type
gtype-desc.c:92: error: dereferencing pointer to incomplete type
gtype-desc.c:93: error: dereferencing pointer to incomplete type
gtype-desc.c:93: error: dereferencing pointer to incomplete type
gtype-desc.c:94: error: dereferencing pointer to incomplete type
gtype-desc.c:94: error: dereferencing pointer to incomplete type
gtype-desc.c:95: error: dereferencing pointer to incomplete type
gtype-desc.c: In function 'gt_pch_nx_cgraph_varpool_node':
gtype-desc.c:1287: error: dereferencing pointer to incomplete type
gtype-desc.c:1287: error: dereferencing pointer to incomplete type
gtype-desc.c:1288: error: dereferencing pointer to incomplete type
gtype-desc.c:1288: error: dereferencing pointer to incomplete type
gtype-desc.c: In function 'gt_pch_nx_cgraph_edge':
gtype-desc.c:1298: error: dereferencing pointer to incomplete type
gtype-desc.c:1298: error: dereferencing pointer to incomplete type
gtype-desc.c:1299: error: dereferencing pointer to incomplete type
gtype-desc.c:1299: error: dereferencing pointer to incomplete type
gtype-desc.c:1300: error: dereferencing pointer to incomplete type
gtype-desc.c:1300: error: dereferencing pointer to incomplete type
gtype-desc.c:1301: error: dereferencing pointer to incomplete type
gtype-desc.c:1301: error: dereferencing pointer to incomplete type
gtype-desc.c:1302: error: dereferencing pointer to incomplete type
gtype-desc.c: In function 'gt_pch_nx_cgraph_node':
gtype-desc.c:1312: error: dereferencing pointer to incomplete type
gtype-desc.c:1316: error: dereferencing pointer to incomplete type
gtype-desc.c:1323: error: dereferencing pointer to incomplete type
gtype-desc.c:1323: error: dereferencing pointer to incomplete type
gtype-desc.c:1324: error: dereferencing pointer to incomplete type
gtype-desc.c:1324: error: dereferencing pointer to incomplete type
gtype-desc.c:1325: error: dereferencing pointer to incomplete type
gtype-desc.c:1325: error: dereferencing pointer to incomplete type
gtype-desc.c:1326: error: dereferencing pointer to incomplete type
gtype-desc.c:1326: error: dereferencing pointer to incomplete type
gtype-desc.c:1327: error: dereferencing pointer to incomplete type
gtype-desc.c:1327: error: dereferencing pointer to incomplete type
gtype-desc.c:1328: error: dereferencing pointer to incomplete type
gtype-desc.c:1328: error: dereferencing pointer to incomplete type
gtype-desc.c:1329: error: dereferencing pointer to incomplete type
gtype-desc.c:1329: error: dereferencing pointer to incomplete type
gtype-desc.c:1330: error: dereferencing pointer to incomplete type
gtype-desc.c:1330: error: dereferencing pointer to incomplete type
gtype-desc.c:1331: error: dereferencing pointer to incomplete type
gtype-desc.c:1331: error: dereferencing pointer to incomplete type
gtype-desc.c:1332: error: dereferencing pointer to incomplete type
gtype-desc.c: In function 'gt_pch_p_19cgraph_varpool_node':
gtype-desc.c:2601: error: dereferencing pointer to incomplete type
gtype-desc.c:2603: error: dereferencing pointer to incomplete type
gtype-desc.c: In function 'gt_pch_p_11cgraph_edge':
gtype-desc.c:2614: error: dereferencing pointer to incomplete type
gtype-desc.c:2616: error: dereferencing pointer to incomplete type
gtype-desc.c:2618: error: dereferencing pointer to incomplete type
gtype-desc.c:2620: error: dereferencing pointer to incomplete type
gtype-desc.c:2622: error: dereferencing pointer to incomplete type
gtype-desc.c: In function 'gt_pch_p_11cgraph_node':
gtype-desc.c:2633: error: dereferencing pointer to incomplete type
gtype-desc.c:2635: error: dereferencing pointer to incomplete type
gtype-desc.c:2637: error: dereferencing pointer to incomplete type
gtype-desc.c:2639: error: dereferencing pointer to incomplete type
gtype-desc.c:2641: error: dereferencing pointer to incomplete type
gtype-desc.c:2643: error: dereferencing pointer to incomplete type
gtype-desc.c:2645: error: dereferencing pointer to incomplete type
gtype-desc.c:2647: error: dereferencing pointer to incomplete type
gtype-desc.c:2649: error: dereferencing pointer to incomplete type
gtype-desc.c: At top level:
gtype-desc.c:4334: error: 'cgraph_varpool_nodes_queue' undeclared here 
(not in a function)
gtype-desc.c:4341: error: 'cgraph_nodes_queue' undeclared here (not in a 
function)
gtype-desc.c:4348: error: 'cgraph_nodes' undeclared here (not in a function)
gtype-desc.c:4533: error: 'cgraph_varpool_n_nodes' undeclared here (not 
in a function)
gtype-desc.c:4533: error: initializer element is not constant
gtype-desc.c:4533: error: (near initialization for 
'gt_pch_rs_gtype_desc_c[0].base')
gtype-desc.c:4533: error: initializer element is not constant
gtype-desc.c:4533: error: (near initialization for 
'gt_pch_rs_gtype_desc_c[0].stride')
gtype-desc.c:4534: error: 'cgraph_max_uid' undeclared here (not in a 
function)
gtype-desc.c:4534: error: initializer element is not constant
gtype-desc.c:4534: error: (near initialization for 
'gt_pch_rs_gtype_desc_c[1].base')
gtype-desc.c:4534: error: initializer element is not constant
gtype-desc.c:4534: error: (near initialization for 
'gt_pch_rs_gtype_desc_c[1].stride')
gtype-desc.c:4535: error: 'cgraph_n_nodes' undeclared here (not in a 
function)
gtype-desc.c:4535: error: initializer element is not constant
gtype-desc.c:4535: error: (near initialization for 
'gt_pch_rs_gtype_desc_c[2].base')
gtype-desc.c:4535: error: initializer element is not constant
gtype-desc.c:4535: error: (near initialization for 
'gt_pch_rs_gtype_desc_c[2].stride')
gmake[2]: *** [gtype-desc.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
*** Error code 2

Stop in /usr/ports/lang/gcc34.



$ cat /etc/make.conf
CPUTYPE?=core2
CFLAGS+=-g
PERL_VER=5.8.8
PERL_VERSION=5.8.8
WITH_MOZILLA_PLUGIN=yes











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