gcc34 doesn't build on 7.0-STABLE/amd64

Thomas Hummel hummel at pasteur.fr
Wed Aug 20 18:55:45 UTC 2008


Hello,

for some long time now, gcc34 doesn't build on FreeBSD 7.0-STABLE (GENERIC
kernel) amd64 :


===>  Building for gcc-3.4.6_3,1
gmake[1]: Entering directory `/usr/ports/lang/gcc34/work/build/libiberty'
gmake[2]: Entering directory `/usr/ports/lang/gcc34/work/build/libiberty/testsuite'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/libiberty/testsuite'
gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build/libiberty'
gmake[1]: Entering directory `/usr/ports/lang/gcc34/work/build/intl'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build/intl'
Bootstrapping the compiler
gmake[1]: Entering directory `/usr/ports/lang/gcc34/work/build/gcc'
gmake CC="cc" libdir=/usr/local/lib/gcc/x86_64-portbld-freebsd7.0/3.4.6 LANGUAGES="c " \
		CFLAGS="-g " MAKEINFO="makeinfo --no-split" \
		MAKEINFOFLAGS="--no-split" COVERAGE_FLAGS= \
		OBJS-onestep="alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o cfgloopanal.o cfgloopmanip.o loop-init.o loop-unswitch.o loop-unroll.o cfgrtl.o combine.o conflict.o convert.o coverage.o cse.o cselib.o dbxout.o debug.o df.o diagnostic.o dojump.o doloop.o dominance.o dwarf2asm.o dwarf2out.o emit-rtl.o except.o explow.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-modes.o insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o  langhooks.o lcm.o lists.o local-alloc.o loop.o optabs.o options.o opts.o params.o postreload.o predict.o print-rtl.o print-tree.o value-prof.o profile.o ra.o ra-build.o ra-colorize.o ra-debug.o ra-rewrite.o real.o recog.o reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o sreal.o stmt.o stor-layout.o stringpool.o targhooks.o timevar.o toplev.o tracer.o tree.o tree-dump.o unroll.o varasm.o varray.o version.o vmsdbgout.o xcoffout.o alloc-pool.o et-forest.o cfghooks.o bt-load.o pretty-print.o ggc-page.o web.o i386.o  host-default.o hashtable.o tree-inline.o tree-optimize.o cgraph.o cgraphunit.o"
gmake[2]: Entering directory `/usr/ports/lang/gcc34/work/build/gcc'
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.

-- 
Thomas Hummel


More information about the freebsd-ports mailing list