Current-Users archive

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

build error for macppc



Hello,

recent -current gives me this when I try to build macppc on Linux/x86_64:


---------------------------
dependall ===> external/gpl3/gdb.old/lib/libsim
cc -O  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/dist/sim/ppc -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/dist/include -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/lib/libsim/arch/powerpc -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/lib/libsim/../libbfd/arch/powerpc -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/dist/bfd -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/dist/gdb -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/dist/gdb/config -DHAVE_COMMON_FPU -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/lib/libsim/../arch/powerpc -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/dist/sim/common igen.lo table.lo lf.lo misc.lo filter_host.lo ld-decode.lo ld-cache.lo filter.lo ld-insn.lo gen-model.lo gen-itable.lo gen-icache.lo gen-semantics.lo gen-idecode.lo gen-support.lo -o igen /usr/bin/ld: ld-insn.lo:(.bss+0x0): multiple definition of `max_model_fields_len'; igen.lo:(.bss+0xc): first defined here /usr/bin/ld: ld-insn.lo:(.bss+0x60): multiple definition of `models'; igen.lo:(.bss+0x68): first defined here /usr/bin/ld: ld-insn.lo:(.bss+0x58): multiple definition of `last_model'; igen.lo:(.bss+0x60): first defined here /usr/bin/ld: ld-insn.lo:(.bss+0x48): multiple definition of `last_model_macro'; igen.lo:(.bss+0x50): first defined here /usr/bin/ld: ld-insn.lo:(.bss+0x50): multiple definition of `model_macros'; igen.lo:(.bss+0x58): first defined here /usr/bin/ld: ld-insn.lo:(.bss+0x38): multiple definition of `last_model_function'; igen.lo:(.bss+0x40): first defined here /usr/bin/ld: ld-insn.lo:(.bss+0x40): multiple definition of `model_functions'; igen.lo:(.bss+0x48): first defined here /usr/bin/ld: ld-insn.lo:(.bss+0x28): multiple definition of `last_model_internal'; igen.lo:(.bss+0x30): first defined here /usr/bin/ld: ld-insn.lo:(.bss+0x30): multiple definition of `model_internal'; igen.lo:(.bss+0x38): first defined here /usr/bin/ld: ld-insn.lo:(.bss+0x18): multiple definition of `last_model_static'; igen.lo:(.bss+0x20): first defined here /usr/bin/ld: ld-insn.lo:(.bss+0x20): multiple definition of `model_static'; igen.lo:(.bss+0x28): first defined here /usr/bin/ld: ld-insn.lo:(.bss+0x8): multiple definition of `last_model_data'; igen.lo:(.bss+0x10): first defined here /usr/bin/ld: ld-insn.lo:(.bss+0x10): multiple definition of `model_data'; igen.lo:(.bss+0x18): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x0): multiple definition of `max_model_fields_len'; igen.lo:(.bss+0xc): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x50): multiple definition of `model_macros'; igen.lo:(.bss+0x58): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x60): multiple definition of `models'; igen.lo:(.bss+0x68): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x40): multiple definition of `model_functions'; igen.lo:(.bss+0x48): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x10): multiple definition of `model_data'; igen.lo:(.bss+0x18): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x20): multiple definition of `model_static'; igen.lo:(.bss+0x28): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x30): multiple definition of `model_internal'; igen.lo:(.bss+0x38): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x8): multiple definition of `last_model_data'; igen.lo:(.bss+0x10): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x18): multiple definition of `last_model_static'; igen.lo:(.bss+0x20): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x28): multiple definition of `last_model_internal'; igen.lo:(.bss+0x30): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x38): multiple definition of `last_model_function'; igen.lo:(.bss+0x40): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x48): multiple definition of `last_model_macro'; igen.lo:(.bss+0x50): first defined here /usr/bin/ld: gen-model.lo:(.bss+0x58): multiple definition of `last_model'; igen.lo:(.bss+0x60): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x0): multiple definition of `max_model_fields_len'; igen.lo:(.bss+0xc): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x8): multiple definition of `last_model_data'; igen.lo:(.bss+0x10): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x10): multiple definition of `model_data'; igen.lo:(.bss+0x18): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x18): multiple definition of `last_model_static'; igen.lo:(.bss+0x20): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x20): multiple definition of `model_static'; igen.lo:(.bss+0x28): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x28): multiple definition of `last_model_internal'; igen.lo:(.bss+0x30): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x30): multiple definition of `model_internal'; igen.lo:(.bss+0x38): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x38): multiple definition of `last_model_function'; igen.lo:(.bss+0x40): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x40): multiple definition of `model_functions'; igen.lo:(.bss+0x48): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x48): multiple definition of `last_model_macro'; igen.lo:(.bss+0x50): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x50): multiple definition of `model_macros'; igen.lo:(.bss+0x58): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x58): multiple definition of `last_model'; igen.lo:(.bss+0x60): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x60): multiple definition of `models'; igen.lo:(.bss+0x68): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x0): multiple definition of `max_model_fields_len'; igen.lo:(.bss+0xc): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x8): multiple definition of `last_model_data'; igen.lo:(.bss+0x10): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x10): multiple definition of `model_data'; igen.lo:(.bss+0x18): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x18): multiple definition of `last_model_static'; igen.lo:(.bss+0x20): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x20): multiple definition of `model_static'; igen.lo:(.bss+0x28): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x28): multiple definition of `last_model_internal'; igen.lo:(.bss+0x30): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x30): multiple definition of `model_internal'; igen.lo:(.bss+0x38): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x38): multiple definition of `last_model_function'; igen.lo:(.bss+0x40): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x40): multiple definition of `model_functions'; igen.lo:(.bss+0x48): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x48): multiple definition of `last_model_macro'; igen.lo:(.bss+0x50): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x50): multiple definition of `model_macros'; igen.lo:(.bss+0x58): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x58): multiple definition of `last_model'; igen.lo:(.bss+0x60): first defined here /usr/bin/ld: gen-itable.lo:(.bss+0x60): multiple definition of `models'; igen.lo:(.bss+0x68): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x0): multiple definition of `max_model_fields_len'; igen.lo:(.bss+0xc): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x8): multiple definition of `last_model_data'; igen.lo:(.bss+0x10): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x10): multiple definition of `model_data'; igen.lo:(.bss+0x18): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x18): multiple definition of `last_model_static'; igen.lo:(.bss+0x20): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x20): multiple definition of `model_static'; igen.lo:(.bss+0x28): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x28): multiple definition of `last_model_internal'; igen.lo:(.bss+0x30): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x30): multiple definition of `model_internal'; igen.lo:(.bss+0x38): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x38): multiple definition of `last_model_function'; igen.lo:(.bss+0x40): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x40): multiple definition of `model_functions'; igen.lo:(.bss+0x48): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x48): multiple definition of `last_model_macro'; igen.lo:(.bss+0x50): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x50): multiple definition of `model_macros'; igen.lo:(.bss+0x58): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x58): multiple definition of `last_model'; igen.lo:(.bss+0x60): first defined here /usr/bin/ld: gen-icache.lo:(.bss+0x60): multiple definition of `models'; igen.lo:(.bss+0x68): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x0): multiple definition of `max_model_fields_len'; igen.lo:(.bss+0xc): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x8): multiple definition of `last_model_data'; igen.lo:(.bss+0x10): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x10): multiple definition of `model_data'; igen.lo:(.bss+0x18): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x18): multiple definition of `last_model_static'; igen.lo:(.bss+0x20): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x20): multiple definition of `model_static'; igen.lo:(.bss+0x28): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x28): multiple definition of `last_model_internal'; igen.lo:(.bss+0x30): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x30): multiple definition of `model_internal'; igen.lo:(.bss+0x38): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x38): multiple definition of `last_model_function'; igen.lo:(.bss+0x40): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x40): multiple definition of `model_functions'; igen.lo:(.bss+0x48): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x48): multiple definition of `last_model_macro'; igen.lo:(.bss+0x50): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x50): multiple definition of `model_macros'; igen.lo:(.bss+0x58): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x58): multiple definition of `last_model'; igen.lo:(.bss+0x60): first defined here /usr/bin/ld: gen-semantics.lo:(.bss+0x60): multiple definition of `models'; igen.lo:(.bss+0x68): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x0): multiple definition of `max_model_fields_len'; igen.lo:(.bss+0xc): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x8): multiple definition of `last_model_data'; igen.lo:(.bss+0x10): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x10): multiple definition of `model_data'; igen.lo:(.bss+0x18): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x18): multiple definition of `last_model_static'; igen.lo:(.bss+0x20): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x20): multiple definition of `model_static'; igen.lo:(.bss+0x28): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x28): multiple definition of `last_model_internal'; igen.lo:(.bss+0x30): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x30): multiple definition of `model_internal'; igen.lo:(.bss+0x38): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x38): multiple definition of `last_model_function'; igen.lo:(.bss+0x40): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x40): multiple definition of `model_functions'; igen.lo:(.bss+0x48): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x48): multiple definition of `last_model_macro'; igen.lo:(.bss+0x50): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x50): multiple definition of `model_macros'; igen.lo:(.bss+0x58): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x58): multiple definition of `last_model'; igen.lo:(.bss+0x60): first defined here /usr/bin/ld: gen-idecode.lo:(.bss+0x60): multiple definition of `models'; igen.lo:(.bss+0x68): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x0): multiple definition of `max_model_fields_len'; igen.lo:(.bss+0xc): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x8): multiple definition of `last_model_data'; igen.lo:(.bss+0x10): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x10): multiple definition of `model_data'; igen.lo:(.bss+0x18): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x18): multiple definition of `last_model_static'; igen.lo:(.bss+0x20): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x20): multiple definition of `model_static'; igen.lo:(.bss+0x28): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x28): multiple definition of `last_model_internal'; igen.lo:(.bss+0x30): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x30): multiple definition of `model_internal'; igen.lo:(.bss+0x38): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x38): multiple definition of `last_model_function'; igen.lo:(.bss+0x40): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x40): multiple definition of `model_functions'; igen.lo:(.bss+0x48): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x48): multiple definition of `last_model_macro'; igen.lo:(.bss+0x50): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x50): multiple definition of `model_macros'; igen.lo:(.bss+0x58): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x58): multiple definition of `last_model'; igen.lo:(.bss+0x60): first defined here /usr/bin/ld: gen-support.lo:(.bss+0x60): multiple definition of `models'; igen.lo:(.bss+0x68): first defined here
collect2: error: ld returned 1 exit status

*** Failed target:  igen
*** Failed command: cc -O -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/dist/sim/ppc -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/dist/include -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/lib/libsim/arch/powerpc -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/lib/libsim/../libbfd/arch/powerpc -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/dist/bfd -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/dist/gdb -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/dist/gdb/config -DHAVE_COMMON_FPU -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/lib/libsim/../arch/powerpc -I/data/home/chris/tmp/netbsd/src/external/gpl3/gdb.old/dist/sim/common igen.lo table.lo lf.lo misc.lo filter_host.lo ld-decode.lo ld-cache.lo filter.lo ld-insn.lo gen-model.lo gen-itable.lo gen-icache.lo gen-semantics.lo gen-idecode.lo gen-support.lo -o igen
*** Error code 1

Stop.
---------------------------


Build command:

$ ./build.sh -m macppc -M ~/tmp/netbsd/obj -D ~/tmp/netbsd/dest -R ~/tmp/netbsd/rel -T ~/tmp/netbsd/tools -X ~/tmp/netbsd/xsrc -Y ~/tmp/netbsd/othersrc -U -x -u release iso-image install-image


regards,
chris



Home | Main Index | Thread Index | Old Index