Bastian Blank wrote, on 09/01/08 21:32:
On Wed, Jan 09, 2008 at 02:40:56AM +1030, Arthur Marsh wrote:
When compiling for Athlon using gcc-4.3:

gcc-4.3 --version
gcc-4.3 (Debian 4.3-20080104-1) 4.3.0 20080104 (experimental) [trunk revision 131316]

Does Linux upstream already bless gcc 4.3? I doubt.

kernel/built-in.o: In function `getnstimeofday':
(.text+0x1d927): undefined reference to `__umoddi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x1d9e9): undefined reference to `__udivdi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x1da0c): undefined reference to `__umoddi3'
kernel/built-in.o: In function `timekeeping_resume':
timekeeping.c:(.text+0x1db18): undefined reference to `__udivdi3'
timekeeping.c:(.text+0x1db3b): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1e214): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1e237): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1e2d3): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1e2fd): undefined reference to `__umoddi3'

New references into libgcc, which is not available in the kernel.

__umoddi3: modulo operation on unsigned double wide integer or so, with
overflow checking.

Bastian

Would the workaround suggested at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32044#c28

"You need to add -fno-tree-scev-cprop to the KBUILD_CFLAGS"

work when applied the particular source files in the kernel where the error is occurring?

Arthur.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to