This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Problem building kernel with gcc 4.0.2


Hi all,

I have build a crosstool chain for mips with crosstool-0.38. I have use the following components:
- gcc-4.0.2
- glibc-2.3.5
- binutils-2.16.91.0.3
- kernel 2.6.8 header


Attached there is the full error log.
Currently I have no idea how to fix the problem.

Any ideas?

Best Regard
TheNop
  CHK     include/linux/version.h
make[1]: `arch/mips/kernel/offset.s' is up to date.
  CHK     include/asm-mips/offset.h
  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/mips/kernel/built-in.o: In function `time_init':
: undefined reference to `__lshrdi3'
arch/mips/kernel/built-in.o: In function `time_init':
: relocation truncated to fit: R_MIPS_26 against `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_dump':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_dump':
: relocation truncated to fit: R_MIPS_26 against `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_dump':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_dump':
: relocation truncated to fit: R_MIPS_26 against `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_dump':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_dump':
: relocation truncated to fit: R_MIPS_26 against `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_format':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_format':
: relocation truncated to fit: R_MIPS_26 against `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_format':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_format':
: relocation truncated to fit: R_MIPS_26 against `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_modf':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_modf':
: relocation truncated to fit: R_MIPS_26 against `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_modf':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_modf':
: relocation truncated to fit: R_MIPS_26 against `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_modf':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_modf':
: relocation truncated to fit: R_MIPS_26 against `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_modf':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_modf':
: relocation truncated to fit: R_MIPS_26 against `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_sub':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_sub':
: additional relocation overflows omitted from the output
arch/mips/math-emu/built-in.o: In function `ieee754dp_sub':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_sub':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_sub':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_add':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_add':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_add':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_add':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tint':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tint':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tuns':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tuns':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tuns':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tuns':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tlong':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tlong':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tlong':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tulong':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tulong':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tulong':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tulong':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tulong':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754dp_tulong':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754sp_tlong':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754sp_tlong':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754sp_tlong':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754sp_tulong':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754sp_tulong':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754sp_tulong':
: undefined reference to `__lshrdi3'
arch/mips/math-emu/built-in.o: In function `ieee754sp_tulong':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754sp_tulong':
: undefined reference to `__ashldi3'
arch/mips/math-emu/built-in.o: In function `ieee754sp_tulong':
: undefined reference to `__lshrdi3'
mm/built-in.o: In function `sys_swapon':
: undefined reference to `__ashrdi3'
fs/built-in.o: In function `__block_write_full_page':
: undefined reference to `__ashrdi3'
fs/built-in.o: In function `block_read_full_page':
: undefined reference to `__ashrdi3'
fs/built-in.o: In function `blkdev_get_blocks':
: undefined reference to `__ashrdi3'
fs/built-in.o: In function `blkdev_get_block':
: undefined reference to `__ashrdi3'
fs/built-in.o:: more undefined references to `__ashrdi3' follow
fs/built-in.o: In function `ext2_free_blocks':
: undefined reference to `__ashldi3'
fs/built-in.o: In function `ext2_new_block':
: undefined reference to `__ashldi3'
fs/built-in.o: In function `ext2_new_block':
: undefined reference to `__ashldi3'
fs/built-in.o: In function `ext2_new_block':
: undefined reference to `__ashldi3'
fs/built-in.o: In function `ext2_truncate':
: undefined reference to `__ashrdi3'
fs/built-in.o: In function `ext2_delete_inode':
: undefined reference to `__ashrdi3'
fs/built-in.o: In function `ext2_fill_super':
: undefined reference to `__ashldi3'
fs/built-in.o: In function `ext2_fill_super':
: undefined reference to `__ashldi3'
fs/built-in.o: In function `ext2_fill_super':
: undefined reference to `__ashldi3'
fs/built-in.o: In function `ext2_fill_super':
: undefined reference to `__ashldi3'
fs/built-in.o: In function `nfs_statfs':
: undefined reference to `__lshrdi3'
fs/built-in.o: In function `nfs_statfs':
: undefined reference to `__lshrdi3'
fs/built-in.o: In function `nfs_statfs':
: undefined reference to `__lshrdi3'
lib/lib.a(bitmap.o): In function `bitmap_scnprintf':
bitmap.c:(.text+0x848): undefined reference to `__ashldi3'
drivers/built-in.o: In function `nand_block_bad':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_block_bad':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_read_raw':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_read_raw':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_read_ecc':
: undefined reference to `__ashrdi3'
drivers/built-in.o:: more undefined references to `__ashrdi3' follow
drivers/built-in.o: In function `nand_erase_nand':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `nand_write_oob':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_write_oob':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_erase':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `nand_default_block_markbad':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_default_block_markbad':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_writev':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_writev':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_writev':
: undefined reference to `__ashrdi3'
drivers/built-in.o:: more undefined references to `__ashrdi3' follow
drivers/built-in.o: In function `write_bbt':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `write_bbt':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_update_bbt':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_isbad_bbt':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_scan_bbt':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `nand_scan_bbt':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `nand_scan_bbt':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `nand_scan_bbt':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `nand_scan_bbt':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `nand_scan_bbt':
: undefined reference to `__ashrdi3'
drivers/built-in.o: In function `hid_submit_ctrl':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `hid_submit_ctrl':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `hid_submit_ctrl':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `hid_submit_ctrl':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `hid_submit_ctrl':
: undefined reference to `__ashldi3'
drivers/built-in.o:: more undefined references to `__ashldi3' follow
drivers/built-in.o: In function `hid_ctrl':
: undefined reference to `__lshrdi3'
drivers/built-in.o: In function `hid_ctrl':
: undefined reference to `__lshrdi3'
drivers/built-in.o: In function `hid_irq_out':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `hid_irq_out':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `hid_irq_out':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `hid_irq_out':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `hid_irq_out':
: undefined reference to `__ashldi3'
drivers/built-in.o:: more undefined references to `__ashldi3' follow
drivers/built-in.o: In function `hid_irq_in':
: undefined reference to `__lshrdi3'
drivers/built-in.o: In function `hid_irq_in':
: undefined reference to `__lshrdi3'
drivers/built-in.o: In function `hid_submit_report':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `hid_submit_report':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `hid_submit_report':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `hid_submit_report':
: undefined reference to `__ashldi3'
drivers/built-in.o: In function `hid_submit_report':
: undefined reference to `__ashldi3'
drivers/built-in.o:: more undefined references to `__ashldi3' follow
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
make: *** [.tmp_vmlinux1] Error 1

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

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