This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Builiding gcc-code-assist [emacs helper]


Hi,

I try to build gcc-code-assist which is a part of gccsense [emacs c++ code completitor ] from cx4a.org/software/gccsense/ with no success. It uses quite old

gcc parser internals, and because of that my system include headers are no-no for this source. I already patched succesfully one blunder, but this is one is a no go for me .... Should I try to debug of what I have with gcc ( how ? ) or that's just too difficult for single user to fix it ?

kind regards paul424.

Â

Â

Â

Â

main.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/usr/include//lib -L/usr/include//lib -lmpfr -lgmp
libbackend.a(builtins.o): In function `expand_powi_1':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:2893: undefined reference to `expand_mult'
libbackend.a(builtins.o): In function `builtin_memset_gen_str':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:3929: undefined reference to `expand_mult'
libbackend.a(builtins.o): In function `expand_builtin_signbit':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:5908: undefined reference to `expand_shift'
libbackend.a(builtins.o): In function `expand_builtin_cexpi':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:2520: undefined reference to `make_tree'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:2520: undefined reference to `make_tree'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:2469: undefined reference to `make_tree'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/builtins.c:2470: undefined reference to `make_tree'
libbackend.a(calls.o): In function `initialize_argument_information':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/calls.c:1116: undefined reference to `make_tree'
libbackend.a(calls.o):/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/calls.c:2188: more undefined references to `make_tree' follow
libbackend.a(explow.o): In function `round_push':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/explow.c:888: undefined reference to `expand_divmod'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/explow.c:890: undefined reference to `expand_mult'
libbackend.a(explow.o): In function `allocate_dynamic_stack_space':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/explow.c:1278: undefined reference to `expand_divmod'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/explow.c:1281: undefined reference to `expand_mult'
libbackend.a(expr.o): In function `optimize_bitfield_assignment_op':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:4143: undefined reference to `expand_and'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:4146: undefined reference to `expand_shift'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:4111: undefined reference to `expand_shift'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:4108: undefined reference to `expand_and'
libbackend.a(expr.o): In function `expand_expr_real_1':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:7982: undefined reference to `extract_bit_field'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:9042: undefined reference to `expand_shift'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:8790: undefined reference to `expand_divmod'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:8803: undefined reference to `expand_divmod'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:8612: undefined reference to `negate_rtx'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:8770: undefined reference to `expand_mult'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:7742: undefined reference to `expand_and'
libbackend.a(expr.o): In function `do_store_flag':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:9909: undefined reference to `emit_store_flag'
libbackend.a(expr.o): In function `expand_expr_real_1':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:8770: undefined reference to `expand_mult'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:7750: undefined reference to `expand_shift'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:7752: undefined reference to `expand_shift'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:8759: undefined reference to `expand_mult_highpart_adjust'
libbackend.a(expr.o): In function `read_complex_part':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:2945: undefined reference to `extract_bit_field'
libbackend.a(expr.o): In function `reduce_to_bit_field_precision':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:9535: undefined reference to `expand_shift'
libbackend.a(expr.o): In function `emit_block_move_via_libcall':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:1402: undefined reference to `make_tree'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:1403: undefined reference to `make_tree'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:1416: undefined reference to `make_tree'
libbackend.a(expr.o): In function `convert_move':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:707: undefined reference to `expand_shift'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:709: undefined reference to `expand_shift'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:606: undefined reference to `expand_shift'
libbackend.a(expr.o): In function `copy_blkmode_from_reg':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:2214: undefined reference to `extract_bit_field'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:2214: undefined reference to `store_bit_field'
libbackend.a(expr.o): In function `set_storage_via_libcall':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:2681: undefined reference to `make_tree'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:2684: undefined reference to `make_tree'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:2685: undefined reference to `make_tree'
libbackend.a(expr.o): In function `force_operand':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:6340: undefined reference to `expand_divmod'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:6337: undefined reference to `expand_divmod'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:6329: undefined reference to `expand_divmod'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:6294: undefined reference to `negate_rtx'
libbackend.a(expr.o): In function `emit_group_load_1':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:1802: undefined reference to `extract_bit_field'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:1750: undefined reference to `extract_bit_field'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:1761: undefined reference to `extract_bit_field'
libbackend.a(expr.o): In function `emit_group_store':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:2119: undefined reference to `store_bit_field'
libbackend.a(expr.o): In function `store_expr':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:4711: undefined reference to `make_tree'
libbackend.a(expr.o): In function `store_field':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:5859: undefined reference to `store_bit_field'
libbackend.a(expr.o): In function `store_constructor':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:5238: undefined reference to `make_tree'
libbackend.a(expr.o): In function `reduce_to_bit_field_precision':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:9529: undefined reference to `expand_and'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:9536: undefined reference to `expand_shift'
libbackend.a(expr.o): In function `write_complex_part':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:2883: undefined reference to `store_bit_field'
libbackend.a(expr.o): In function `force_operand':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/expr.c:6323: undefined reference to `expand_mult'
libbackend.a(function.o): In function `assign_parm_setup_reg':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/function.c:2854: undefined reference to `make_tree'
libbackend.a(optabs.o): In function `expand_binop':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/optabs.c:1589: undefined reference to `negate_rtx'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/optabs.c:2024: undefined reference to `emit_store_flag_force'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/optabs.c:2045: undefined reference to `emit_store_flag_force'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/optabs.c:1622: undefined reference to `negate_rtx'
libbackend.a(optabs.o): In function `expand_float':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/optabs.c:5052: undefined reference to `expand_shift'
libbackend.a(optabs.o): In function `widen_bswap':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/optabs.c:2727: undefined reference to `expand_shift'
libbackend.a(optabs.o): In function `expand_abs_nojump':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/optabs.c:3451: undefined reference to `expand_shift'
libbackend.a(recog.o): In function `simplify_while_replacing':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/recog.c:619: undefined reference to `mode_for_extraction'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/recog.c:612: undefined reference to `mode_for_extraction'
libbackend.a(stmt.o): In function `expand_asm_operands':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/stmt.c:825: undefined reference to `make_tree'
libbackend.a(stmt.o): In function `expand_return':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/stmt.c:1664: undefined reference to `extract_bit_field'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/stmt.c:1664: undefined reference to `store_bit_field'
libbackend.a(toplev.o): In function `backend_init_target':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/toplev.c:2008: undefined reference to `init_expmed'
libbackend.a(tree-phinodes.o): In function `ideal_phi_node_len':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree-phinodes.c:196: undefined reference to `ceil_log2'
libbackend.a(tree-ssa-loop-ivopts.o): In function `multiply_by_cost':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree-ssa-loop-ivopts.c:2933: undefined reference to `expand_mult'
libbackend.a(varasm.o): In function `force_const_mem':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/varasm.c:3590: undefined reference to `make_tree'
libbackend.a(i386.o): In function `ix86_va_start':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:6764: undefined reference to `make_tree'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:6777: undefined reference to `make_tree'
libbackend.a(i386.o): In function `ix86_expand_int_movcc':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:14877: undefined reference to `emit_store_flag'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:15060: undefined reference to `emit_store_flag'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:15174: undefined reference to `emit_store_flag'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:15026: undefined reference to `emit_store_flag'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:15169: undefined reference to `emit_store_flag'
libbackend.a(ipa-inline.o): In function `cgraph_edge_badness':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/ipa-inline.c:531: undefined reference to `ceil_log2'
libbackend.a(combine.o): In function `make_extraction':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/combine.c:6592: undefined reference to `mode_for_extraction'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/combine.c:6594: undefined reference to `mode_for_extraction'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/combine.c:6595: undefined reference to `mode_for_extraction'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/combine.c:6596: undefined reference to `mode_for_extraction'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/combine.c:6600: undefined reference to `mode_for_extraction'
libbackend.a(combine.o):/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/combine.c:6602: more undefined references to `mode_for_extraction' follow
libbackend.a(dse.o): In function `get_stored_val':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/dse.c:1861: undefined reference to `extract_low_bits'
libbackend.a(dse.o): In function `find_shift_sequence':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/dse.c:1757: undefined reference to `extract_low_bits'
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/dse.c:1768: undefined reference to `extract_low_bits'
libbackend.a(ifcvt.o): In function `noce_try_sign_mask':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/ifcvt.c:1928: undefined reference to `emit_store_flag'
libbackend.a(ifcvt.o): In function `noce_emit_store_flag':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/ifcvt.c:714: undefined reference to `emit_store_flag'
libbackend.a(ifcvt.o): In function `noce_emit_move_insn':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/ifcvt.c:823: undefined reference to `store_bit_field'
libbackend.a(lower-subreg.o): In function `resolve_shift_zext':
/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/lower-subreg.c:1009: undefined reference to `expand_shift'
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: Leaving directory `/home/tom/Downloads/gcc-code-assist-0.1-4.4.4/host-x86_64-unknown-linux-gnu/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/tom/Downloads/gcc-code-assist-0.1-4.4.4'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/tom/Downloads/gcc-code-assist-0.1-4.4.4'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]