You are not logged in.

#1 2008-03-24 21:12:06

puntmuts
Member
Registered: 2005-02-22
Posts: 138

GCC 4.30 : Vanilla kernel 2.6.24.3/4 does not compile

Hi,

After the upgrade to gcc 4.30 my perfectly compiling kernel 2.6.24.3 and the today released 2.6.24.4 don't compile anymore. They provide an error message:

  LD      arch/x86/lib/built-in.o
  CC      arch/x86/lib/bitops_32.o
  AS      arch/x86/lib/checksum_32.o
  CC      arch/x86/lib/delay_32.o
  AS      arch/x86/lib/getuser_32.o
  CC      arch/x86/lib/memcpy_32.o
  AS      arch/x86/lib/putuser_32.o
  AS      arch/x86/lib/semaphore_32.o
  CC      arch/x86/lib/string_32.o
  CC      arch/x86/lib/strstr_32.o
  CC      arch/x86/lib/usercopy_32.o
  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+0x1fb7b): undefined reference to `__umoddi3'
kernel/built-in.o: In function `getnstimeofday':
(.text+0x1fb9e): undefined reference to `__udivdi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x1fcb0): undefined reference to `__udivdi3'
kernel/built-in.o: In function `do_gettimeofday':
(.text+0x1fcce): undefined reference to `__umoddi3'
kernel/built-in.o: In function `timekeeping_resume':
timekeeping.c:(.text+0x1fec6): undefined reference to `__umoddi3'
timekeeping.c:(.text+0x1fee6): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x202d0): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x202f0): undefined reference to `__udivdi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x20758): undefined reference to `__umoddi3'
kernel/built-in.o: In function `update_wall_time':
(.text+0x20778): undefined reference to `__udivdi3'
make: *** [.tmp_vmlinux1] Fout 1

It is a VIA Esther processor (VIA C7) and this exact config did work perfectly before the gcc upgrade.
It is a vanilla kernel without any patches other than the 2.6.24.3 / 4 patch from kernel.org.

Last edited by puntmuts (2008-03-24 21:13:41)


Out / Gone
Mirgrating all my machines off ArchLinux . No longer part of the ArchLinux community / users .
Done. Goodbye.

Offline

#2 2008-03-24 21:14:48

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: GCC 4.30 : Vanilla kernel 2.6.24.3/4 does not compile

The forums and the bug tracker both have a search function. Please learn how to use it.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2008-03-24 21:20:22

puntmuts
Member
Registered: 2005-02-22
Posts: 138

Re: GCC 4.30 : Vanilla kernel 2.6.24.3/4 does not compile

shining wrote:

The forums and the bug tracker both have a search function. Please learn how to use it.

These replies pissed me of some years ago and they still do. I'm off this forum for the next couple of years or longer I guess. Arch is a great distro but it lacks a normal community. That was the problem yearts ago and still is.


Out / Gone
Mirgrating all my machines off ArchLinux . No longer part of the ArchLinux community / users .
Done. Goodbye.

Offline

#4 2008-03-24 21:25:36

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 3,682

Re: GCC 4.30 : Vanilla kernel 2.6.24.3/4 does not compile

Well, don't get all annoyed if someone points out there already are topics and bugreports addressing that.

http://bbs.archlinux.org/viewtopic.php?id=45882
http://bugs.archlinux.org/task/9801

Last edited by lucke (2008-03-24 21:28:13)

Offline

#5 2008-03-24 22:15:27

atomclock
Member
Registered: 2007-05-15
Posts: 18

Re: GCC 4.30 : Vanilla kernel 2.6.24.3/4 does not compile

lucke wrote:

Well, don't get all annoyed if someone points out there already are topics and bugreports addressing that.

http://bbs.archlinux.org/viewtopic.php?id=45882
http://bugs.archlinux.org/task/9801

It's really not a problem to point out that someone may have dropped the ball doing a search but to kick someone in the teeth without offering a link is just WRONG.

I might note thought that the way you did it was the helpful way and I for one appreciate your effort. 

Thanks!

Last edited by atomclock (2008-03-24 22:16:00)

Offline

#6 2008-03-24 22:40:11

puntmuts
Member
Registered: 2005-02-22
Posts: 138

Re: GCC 4.30 : Vanilla kernel 2.6.24.3/4 does not compile

Lucke, thanks. I did search before posting but did not read your links properly:

Linux version 2.6.24.4-1 (root@esther) (gcc version 4.3.0 (GCC) ) #2 PREEMPT Mon Mar 24 23:24:54 CET 2008

The FC patch did the trick. So it is solved thanks to you.  That's the only thing I wanted to say here before I leave.

Last edited by puntmuts (2008-03-24 22:40:49)


Out / Gone
Mirgrating all my machines off ArchLinux . No longer part of the ArchLinux community / users .
Done. Goodbye.

Offline

#7 2008-03-25 02:32:43

brebs
Member
Registered: 2007-04-03
Posts: 3,066

Re: GCC 4.30 : Vanilla kernel 2.6.24.3/4 does not compile

puntmuts wrote:

it lacks a normal community.

Show me a forum where people don't get occasionally sick of answering the same stupid questions by people too lazy to use a Search button.

Being that lazy is rude, and an abuse of the goodwill of people providing a free tech-support service.

The huge advantage that forums have is that previous answers are just a quick search away.

Offline

#8 2008-03-27 21:05:02

RedShift
Member
From: Belgium
Registered: 2004-07-16
Posts: 230

Re: GCC 4.30 : Vanilla kernel 2.6.24.3/4 does not compile

Vanilla issues should be fixed upstream, please annoy upstream


:?

Offline

#9 2008-03-28 00:01:08

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: GCC 4.30 : Vanilla kernel 2.6.24.3/4 does not compile

RedShift wrote:

Vanilla issues should be fixed upstream, please annoy upstream

first patch for the next stable release :
http://git.kernel.org/?p=linux/kernel/g … 307724cea5

and it's already fixed in the 2.6.25 rc.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB