Hi All,
how you should know, I'm working to port OpenWRT on m68k/coldfire arch.
I compiled with success (and some patch) the toolchain... but I have
this error during the kernel build:
make[5]: Leaving directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/linux-cf547x/linux-2.6.23'
make[5]: Entering directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/linux-cf547x/linux-2.6.23'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
GZIP kernel/config_data.gz
IKCFG kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
kernel/built-in.o: In function `timespec_add_ns':
/mnt/devel/openwrt/OpenWRT.git/build_dir/linux-cf547x/linux-2.6.23/include/linux/time.h:177:
undefined reference to `__umoddi3'
/mnt/devel/openwrt/OpenWRT.git/build_dir/linux-cf547x/linux-2.6.23/include/linux/time.h:177:
undefined reference to `__udivdi3'
umoddi3 and udivdi3 are helper functions that support the long long
arithmetic. the libcc.a has these function:
$ m68k-linux-gnu-objdump -t libgcc.a
In archive libgcc.a:
_udivdi3.o: file format elf32-m68k
SYMBOL TABLE:
00000000 l df *ABS* 00000000 libgcc2.c
00000000 l d .text 00000000 .text
00000000 l d .data 00000000 .data
00000000 l d .bss 00000000 .bss
00000000 l d .debug_abbrev 00000000 .debug_abbrev
00000000 l d .debug_info 00000000 .debug_info
00000000 l d .debug_line 00000000 .debug_line
00000000 l d .debug_frame 00000000 .debug_frame
00000000 l d .eh_frame 00000000 .eh_frame
00000000 l d .debug_loc 00000000 .debug_loc
00000000 l d .debug_pubnames 00000000 .debug_pubnames
00000000 l d .debug_aranges 00000000 .debug_aranges
00000000 l d .debug_str 00000000 .debug_str
00000000 l d .note.GNU-stack 00000000 .note.GNU-stack
00000000 l d .comment 00000000 .comment
00000000 g F .text 000000b6 .hidden __udivdi3
_umoddi3.o: file format elf32-m68k
SYMBOL TABLE:
00000000 l df *ABS* 00000000 libgcc2.c
00000000 l d .text 00000000 .text
00000000 l d .data 00000000 .data
00000000 l d .bss 00000000 .bss
00000000 l d .debug_abbrev 00000000 .debug_abbrev
00000000 l d .debug_info 00000000 .debug_info
00000000 l d .debug_line 00000000 .debug_line
00000000 l d .debug_frame 00000000 .debug_frame
00000000 l d .eh_frame 00000000 .eh_frame
00000000 l d .debug_loc 00000000 .debug_loc
00000000 l d .debug_pubnames 00000000 .debug_pubnames
00000000 l d .debug_aranges 00000000 .debug_aranges
00000000 l d .debug_str 00000000 .debug_str
00000000 l d .note.GNU-stack 00000000 .note.GNU-stack
00000000 l d .comment 00000000 .comment
00000000 g F .text 000000d6 .hidden __umoddi3
I found the keyword ".hidden" placed before the symbols __umoddi3 and
__udivdi3 also on mipsel-compiled libgcc.a...
Any idea?
luigi
--
______ Luigi Mantellini
.'______'. R&D - Software
(.' '.) Industrie Dial Face S.p.A.
( :=----=: ) Via Canzo, 4
('.______.') 20068 Peschiera Borromeo (MI), Italy
'.______.' Tel.: +39 02 5167 2813
Fax: +39 02 5167 2459
Ind. Dial Face Email: [EMAIL PROTECTED]
www.idf-hit.com GPG fingerprint: 3DD1 7B71 FBDF 6376 1B4A
B003 175F E979 907E 1650
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel