2010-04-22 13:52:41

by Michael Guntsche

[permalink] [raw]
Subject: Compile error with 2.6.34-rc5+

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


2010-04-22 14:27:30

by Stefan Lippers-Hollmann

[permalink] [raw]
Subject: Re: Compile error with 2.6.34-rc5+

Hi

On Thursday 22 April 2010, Michael Guntsche wrote:
> 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

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

> 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

2010-04-22 16:16:51

by Michael Guntsche

[permalink] [raw]
Subject: Re: Compile error with 2.6.34-rc5+

On 2010.04.22 16:27:21 , Stefan Lippers-Hollmann wrote:
> 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
>
This indeed is the same problem. I checked the archives before sending
the mail but apparently missed that one. Thank you for the information.

Kind regards,
Michael Guntsche