[fpc-devel] FIXES branch fails to build on Ubuntu 8.04 (r12101 breaks it) due to libgdb.a

Brad Campbell brad at wasp.net.au
Sat Nov 15 14:57:00 CET 2008


"r12101 in FIXES breaks ide on ubuntu 8.04 due to libgdb.a" at: 
http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=4413

Attempted build from revision 12102M
i386 linux

make[4]: Entering directory `/home/brad/devel/fpc/svn/fixes/fpc/ide'
Makefile:287: Using system sefault libgdb file located in /usr/lib/libgdb.a
/home/brad/devel/fpc/svn/fixes/fpc/compiler/ppc386 -di386 
-Fl/home/brad/devel/fpc/svn/fixes/fpc/libgdb/linux -Ur -Xs -O2 -n -Sg 
-Fu/home/brad/devel/fpc/svn/fixes/fpc/rtl/units/i386-linux 
-Fu/home/brad/devel/fpc/svn/fixes/fpc/packages/fv/units/i386-linux 
-Fu/home/brad/devel/fpc/svn/fixes/fpc/packages/gdbint/units/i386-linux 
-Fu/home/brad/devel/fpc/svn/fixes/fpc/packages/regexpr/units/i386-linux 
-Fu/home/brad/devel/fpc/svn/fixes/fpc/packages/fcl-base/units/i386-linux 
-Fu/home/brad/devel/fpc/svn/fixes/fpc/packages/fcl-xml/units/i386-linux 
-Fu/home/brad/devel/fpc/svn/fixes/fpc/packages/chm/units/i386-linux -FE. -FUunits/i386-linux 
-Fl/usr/lib/gcc/i486-linux-gnu/4.2.4 -Flinclude -Fl/etc/ld.so.conf.d/*.conf -gl -XX -CX -dRELEASE fp.pas
/usr/bin/ld: Warning: alignment 4 of symbol `gdb_sysroot' in /usr/lib/libgdb.a(main.o) is smaller 
than 16 in /home/brad/devel/fpc/svn/fixes/fpc/packages/gdbint/units/i386-linux/gdbint.o
/usr/bin/ld: Warning: alignment 4 of symbol `batch_silent' in /usr/lib/libgdb.a(main.o) is smaller 
than 16 in /home/brad/devel/fpc/svn/fixes/fpc/packages/gdbint/units/i386-linux/gdbint.o
/usr/bin/ld: Warning: alignment 4 of symbol `xdb_commands' in /usr/lib/libgdb.a(main.o) is smaller 
than 16 in /home/brad/devel/fpc/svn/fixes/fpc/packages/gdbint/units/i386-linux/gdbint.o
/usr/bin/ld: Warning: alignment 4 of symbol `dbx_commands' in /usr/lib/libgdb.a(main.o) is smaller 
than 16 in /home/brad/devel/fpc/svn/fixes/fpc/packages/gdbint/units/i386-linux/gdbint.o
/usr/bin/ld: Warning: alignment 4 of symbol `return_child_result' in /usr/lib/libgdb.a(main.o) is 
smaller than 16 in /home/brad/devel/fpc/svn/fixes/fpc/packages/gdbint/units/i386-linux/gdbint.o
/usr/lib/libgdb.a(exec.o): In function `generic_skip_trampoline_code':
(.text+0x0): multiple definition of `generic_skip_trampoline_code'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x0): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_skip_solib_resolver':
(.text+0x10): multiple definition of `generic_skip_solib_resolver'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x10): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_in_solib_return_trampoline':
(.text+0x20): multiple definition of `generic_in_solib_return_trampoline'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x20): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_in_function_epilogue_p':
(.text+0x30): multiple definition of `generic_in_function_epilogue_p'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x30): first defined here
/usr/lib/libgdb.a(exec.o): In function `core_addr_lessthan':
(.text+0x40): multiple definition of `core_addr_lessthan'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x40): first defined here
/usr/lib/libgdb.a(exec.o): In function `core_addr_greaterthan':
(.text+0x60): multiple definition of `core_addr_greaterthan'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x60): first defined here
/usr/lib/libgdb.a(exec.o): In function `core_addr_identity':
(.text+0x80): multiple definition of `core_addr_identity'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x80): first defined here
/usr/lib/libgdb.a(exec.o): In function `convert_from_func_ptr_addr_identity':
(.text+0x90): multiple definition of `convert_from_func_ptr_addr_identity'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x90): first defined here
/usr/lib/libgdb.a(exec.o): In function `no_op_reg_to_regnum':
(.text+0xa0): multiple definition of `no_op_reg_to_regnum'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xa0): first defined here
/usr/lib/libgdb.a(exec.o): In function `default_elf_make_msymbol_special':
(.text+0xb0): multiple definition of `default_elf_make_msymbol_special'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xb0): first defined here
/usr/lib/libgdb.a(exec.o): In function `default_coff_make_msymbol_special':
(.text+0xc0): multiple definition of `default_coff_make_msymbol_special'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xc0): first defined here
/usr/lib/libgdb.a(exec.o): In function `cannot_register_not':
(.text+0xd0): multiple definition of `cannot_register_not'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xd0): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_convert_register_p':
(.text+0xe0): multiple definition of `generic_convert_register_p'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xe0): first defined here
/usr/lib/libgdb.a(exec.o): In function `default_stabs_argument_has_addr':
(.text+0xf0): multiple definition of `default_stabs_argument_has_addr'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xf0): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_instruction_nullified':
(.text+0x100): multiple definition of `generic_instruction_nullified'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x100): first defined here
/usr/lib/libgdb.a(exec.o): In function `default_remote_register_number':
(.text+0x110): multiple definition of `default_remote_register_number'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x110): first defined here
/usr/lib/libgdb.a(exec.o): In function `selected_architecture_name':
(.text+0x120): multiple definition of `selected_architecture_name'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x120): first defined here
/usr/lib/libgdb.a(exec.o): In function `gdbarch_info_init':
(.text+0x970): multiple definition of `gdbarch_info_init'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x570): first defined here
/usr/lib/libgdb.a(exec.o): In function `_initialize_gdbarch_utils':
(.text+0xb40): multiple definition of `_initialize_gdbarch_utils'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x140): first defined here
/usr/lib/libgdb.a(exec.o): In function `selected_byte_order':
(.text+0xbe0): multiple definition of `selected_byte_order'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x1e0): first defined here
/usr/lib/libgdb.a(exec.o): In function `gdbarch_info_fill':
(.text+0xcb0): multiple definition of `gdbarch_info_fill'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x2b0): first defined here
/usr/lib/libgdb.a(exec.o): In function `gdbarch_from_bfd':
(.text+0xff0): multiple definition of `gdbarch_from_bfd'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x630): first defined here
/usr/lib/libgdb.a(exec.o): In function `set_gdbarch_from_file':
(.text+0x1540): multiple definition of `set_gdbarch_from_file'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x6d0): first defined here
/usr/lib/libgdb.a(exec.o): In function `gdbarch_update_p':
(.text+0x19a0): multiple definition of `gdbarch_update_p'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x720): first defined here
/usr/lib/libgdb.a(exec.o): In function `initialize_current_architecture':
(.text+0x1aa0): multiple definition of `initialize_current_architecture'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x820): first defined here
/usr/lib/libgdb.a(exec.o): In function `legacy_virtual_frame_pointer':
(.text+0x2100): multiple definition of `legacy_virtual_frame_pointer'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xe80): first defined here
/usr/lib/libgdb.a(exec.o): In function `legacy_register_sim_regno':
(.text+0x21c0): multiple definition of `legacy_register_sim_regno'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xf40): first defined here
/usr/bin/ld: cannot find libbfd.a
fp.pas(566,1) Error: Error while linking
fp.pas(566,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[4]: *** [fp] Error 1
make[4]: Leaving directory `/home/brad/devel/fpc/svn/fixes/fpc/ide'
make[3]: *** [buildfp] Error 2
make[3]: Leaving directory `/home/brad/devel/fpc/svn/fixes/fpc/ide'
make[2]: *** [gdb] Error 2
make[2]: Leaving directory `/home/brad/devel/fpc/svn/fixes/fpc/ide'
make[1]: *** [ide_all] Error 2
make[1]: Leaving directory `/home/brad/devel/fpc/svn/fixes/fpc'
make: *** [build-stamp.i386-linux] Error 2

Regards,
Brad
-- 
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.



More information about the fpc-devel mailing list