[OSy] deleni/moduleni 64bitovych cisel

ondrej.cerny at email.cz ondrej.cerny at email.cz
Wed Oct 22 20:50:13 CEST 2008


Dobry vecer,
pri linkovani kernelu se mi dostalo chybovych hlasek (viz nize), ze kterych jsem usoudil, ze se jedna o problem s delenim a modulenim. Ukazalo se, ze jde o operace s 64bitovymi cisly. Chci se zeptat, jestli je to tedy tak, ze deleni a moduleni s 64bitovymi integery nas MIPS nepodporuje a nebo jestli je chyba nekde jinde (napriklad spatne prekladame, neco neprilinkovavame apod.)?

chybove hlasky gcc-cka:
~~~~~~~~~~~~~~~~~~~~~
...
sched/timer.c:(.text+0x4c4): undefined reference to `__umoddi3'
sched/timer.c:(.text+0x4c4): relocation truncated to fit: R_MIPS_26 against `__umoddi3'
sched/timer.c:(.text+0x4dc): undefined reference to `__udivdi3'
sched/timer.c:(.text+0x4dc): relocation truncated to fit: R_MIPS_26 against `__udivdi3'
sched/timer.c:(.text+0x500): undefined reference to `__umoddi3'
sched/timer.c:(.text+0x500): relocation truncated to fit: R_MIPS_26 against `__umoddi3'
...

Ondra Cerny




More information about the NSWI004 mailing list