[#5738] Linux Blackfin arch is missing __cmpdi2
Submitted By: Mike Frysinger
2009-12-03 18:19:25 Close Date
Closed Fixed In Release:
Found In Release:
ALL Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
gcc-4.1 trunk 3760
App binary format:
Summary: Linux Blackfin arch is missing __cmpdi2
- make BF537-STAMP_defconfig
- enable FSCACHE and SLOW_WORK_DEBUG
kernel/built-in.o: In function `slow_work_runqueue_index':
kernel/slow-work-debugfs.c:117: undefined reference to `__cmpdi2'
make: *** [.tmp_vmlinux1] Error 1
most other arches are including this gcc symbol already
--- Bernd Schmidt 2009-12-03 20:24:21
This isn't happening here, and it really shouldn't happen - gcc knows how to
perform a 64 bit comparison in 32 bit pieces.
Please make sure you're using an unmodified compiler, and attach a preprocessed
file that can be compiled to contain calls to __cmpdi2.
--- Mike Frysinger 2009-12-03 20:48:42
it's with gcc-4.1. gcc-4.3 seems to work correctly.
File Name File Type File Size Posted By
slow-work-debugfs.i application/octet-stream 298562 Mike Frysinger