Skip to contentSkip to conversation

Compile error with 2.6.34-rc5+

DISCUSSION Michael Guntsche 2 participants 3 messages Apr 22, 2010 MD RAID

lore
Share & tools
lore
#0 lore raw

Hi,

While compiling current git HEAD on one of my boxes I got a compile error. Current head is at 1ef6ce7a340f9ed139a73147ff9cf7ad56889414 and the compile error is

drivers/built-in.o: In function `raid5_compute_sector':
raid5.c:(.text+0x85a36): undefined reference to __umoddi3' raid5.c:(.text+0x85a67): undefined reference to __umoddi3' raid5.c:(.text+0x85a9c): undefined reference to __umoddi3' raid5.c:(.text+0x85acd): undefined reference to __umoddi3' raid5.c:(.text+0x85b23): undefined reference to __umoddi3' drivers/built-in.o:raid5.c:(.text+0x85b54): more undefined references to __umoddi3' follow

The config file was taken straight from a -rc4 kernel and make oldconfig
was run before that.
This runs on/is compiled for a 32bit Pentium IV system so I wonder why umoddi3 is being used.

Kind regards,
Michael

#1 lore raw

Hi

Quoted 6 lines · Michael Guntsche

Hi,

While compiling current git HEAD on one of my boxes I got a compile error. Current head is at 1ef6ce7a340f9ed139a73147ff9cf7ad56889414 and the compile error is

Quoted 8 lines

drivers/built-in.o: In function `raid5_compute_sector':
raid5.c:(.text+0x85a36): undefined reference to __umoddi3' raid5.c:(.text+0x85a67): undefined reference to __umoddi3' raid5.c:(.text+0x85a9c): undefined reference to __umoddi3' raid5.c:(.text+0x85acd): undefined reference to __umoddi3' raid5.c:(.text+0x85b23): undefined reference to __umoddi3' drivers/built-in.o:raid5.c:(.text+0x85b54): more undefined references to __umoddi3' follow

This seems to be the same problem as

	http://lkml.indiana.edu/hypermail/linux/kernel/1004.2/01814.html
fixed in
	http://lkml.indiana.edu/hypermail/linux/kernel/1004.2/01816.html
Quoted 6 lines

The config file was taken straight from a -rc4 kernel and make oldconfig
was run before that.
This runs on/is compiled for a 32bit Pentium IV system so I wonder why umoddi3 is being used.

Kind regards,
Michael

Regards
Stefan Lippers-Hollmann