r12101 breaks building on Ubuntu 8.04 due to system libgdb.a
Original Reporter info from Mantis: bkc1974
-
Reporter name: Brad Campbell
Original Reporter info from Mantis: bkc1974
- Reporter name: Brad Campbell
Description:
make[4]: Entering directory /home/brad/devel/fpc/svn/fixes/fpc/ide'<br/> Makefile:287: Using system sefault libgdb file located in /usr/lib/libgdb.a<br/> LibGDB found in /usr/lib/libgdb.a<br/> make[4]: Leaving directory
/home/brad/devel/fpc/svn/fixes/fpc/ide'
make fpc_all
make[4]: Entering directory /home/brad/devel/fpc/svn/fixes/fpc/ide'<br/> Makefile:287: Using system sefault libgdb file located in /usr/lib/libgdb.a<br/> /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<br/> /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<br/> /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<br/> /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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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':<br/> (.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'<br/> make[3]: *** [buildfp] Error 2<br/> 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'<br/> make[1]: *** [ide_all] Error 2<br/> make[1]: Leaving directory
/home/brad/devel/fpc/svn/fixes/fpc'
make: *** [build-stamp.i386-linux] Error 2
Mantis conversion info:
- Mantis ID: 12636
- Version: 2.2.3
- Monitored by: » mazen (Abou Al Montacir)
- Target version: 2.2.4