Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9948 - gcc 4.3.0-1 and compilation problems

Attached to Project: Arch Linux
Opened by Michal (broch) - Tuesday, 25 March 2008, 14:39 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 25 March 2008, 22:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
compiling custom kernel from vanilla sources
2.6.24
or
2.6.24.4
generates the following error:
AR arch/x86/lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
kernel/built-in.o: In function `getnstimeofday':
(.text+0x1addb): undefined reference to `__umoddi3'
kernel/built-in.o: In function `getnstimeofday':
(.text+0x1adfe): undefined reference to `__udivdi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x1af10): undefined reference to `__udivdi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x1af2e): undefined reference to `__umoddi3'
kernel/built-in.o: In function `timekeeping_resume':
timekeeping.c:(.text+0x1b1a6): undefined reference to `__umoddi3'
timekeeping.c:(.text+0x1b1c6): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1b4d0): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1b4f0): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1b958): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x1b978): undefined reference to `__udivdi3'
make: *** [.tmp_vmlinux1] Error 1

Additional info:Arch linux current (last update: 3/25/08), arch i686, dual core t2500, 1GB RAM
* package version(s) gcc-4.3.0-1
* config and/or log files etc.


Steps to reproduce:
seems like problem with any kernel sources

I never had any problems with compiling custom kernel on Arch before.
Latest kernel compiled 2.6.24.3 and 2.6.24.3-grsec (grsecurity patch).


I searched for possible problem with gcc but it seems like this is a new one.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 25 March 2008, 22:24 GMT
Reason for closing:  Not a bug
Additional comments about closing:  not a bug in gcc. kernel 2.6.24 doesn't support gcc4.3 officially. fix it your own!
Comment by Michal (broch) - Tuesday, 25 March 2008, 15:07 GMT
the fix for gcc-4.3.0

add -fno-tree-scev-cprop to the KBUILD_CFLAGS

references:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32044#c28

would be nice to fix this as in the link above

Loading...