Skip to contentSkip to conversation

fc2580.c:(.text+0xeb49af): undefined reference to `__umoddi3'

PATCH In review Fengguang Wu 2 participants 2 messages Oct 7, 2012 – Oct 8, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 60/235 fc2580.c:(.text+0xeb49af): undefined reference to `__umoddi3'

Hi Antti,

FYI, kernel build failed on

tree:   git://git.infradead.org/users/kmpark/linux-samsung v4l-framedesc
head:   fc4382b505966b2574c985588ac23825dd639e29
commit: 384df49a6a97d411af33da3237558411789b67c5 [60/235] [media] rtl28xxu: add support for FCI FC2580 silicon tuner driver
config: i386-allyesconfig

The problematic code should be introduced by the preceding commit:

d9cb41afbf2aab54133c804009a1b8e76cedaef3 [media] tuners: add FCI FC2580 silicon tuner driver

All error/warnings:

drivers/built-in.o: In function `fc2580_set_params':
fc2580.c:(.text+0xeb49af): undefined reference to __umoddi3' fc2580.c:(.text+0xeb4a28): undefined reference to __udivdi3'

---
0-DAY kernel build testing backend Open Source Technology Center
Fengguang Wu, Yuanhan Liu Intel Corporation

Reviewed-by on v1 60/235
#1 lore raw
Quoted 15 lines · Fengguang Wu

Hi Antti,

FYI, kernel build failed on

tree:   git://git.infradead.org/users/kmpark/linux-samsung v4l-framedesc
head:   fc4382b505966b2574c985588ac23825dd639e29
commit: 384df49a6a97d411af33da3237558411789b67c5 [60/235] [media] rtl28xxu: add support for FCI FC2580 silicon tuner driver
config: i386-allyesconfig

The problematic code should be introduced by the preceding commit:

d9cb41afbf2aab54133c804009a1b8e76cedaef3 [media] tuners: add FCI FC2580 silicon tuner driver

All error/warnings:

Quoted 8 lines

drivers/built-in.o: In function `fc2580_set_params':
fc2580.c:(.text+0xeb49af): undefined reference to __umoddi3' fc2580.c:(.text+0xeb4a28): undefined reference to __udivdi3'

---
0-DAY kernel build testing backend Open Source Technology Center
Fengguang Wu, Yuanhan Liu Intel Corporation

Hello Fengguang,

That is already fixed.

commit 9dc72160d13c6fdeec57f5c6017588812c4294b6

Author: Gianluca Gennari <[email protected]>
Date:   Mon Sep 24 07:37:18 2012 -0300

[media] fc2580: use macro for 64 bit division and reminder

Fixes the following warnings on a 32 bit system with GCC 4.4.3 and
kernel Ubuntu 2.6.32-43 32 bit:
WARNING: "__udivdi3" [fc2580.ko] undefined!
WARNING: "__umoddi3" [fc2580.ko] undefined!

regards
Antti

Signature · 1 line
http://palosaari.fi/