Re: 2.6 krnel and gcc-3.4.0 ?

From: Catalin Marinas (catalin.marinas_at_arm.com)
Date: 04/29/04


Date: Thu, 29 Apr 2004 12:56:13 +0100

Ulrich Lauther <lauther@mchp.siemens.de> writes:

> is it considered save to compile the kernel (for i686) with gcc-3.4.0 ?

Depends on which version of 2.6.x. The 2.6.0 fails to build because
the latest gcc reports an error for the "extern inline" prototype
declarations when the body of the function is defined in a different
file. The might have been changed in the latest (2.6.6-rc2?) kernel.

Another problem I had was using the latest binutils package. The
attribute "unused" has a different (but proper) meaning now. A lot of
global variables are removed when linking, causing problems. I think
this was fixed in the latest kernel.

Catalin



Relevant Pages

  • Re: Kernel Build Failure (long post!)
    ... > keep getting a kernel panic. ... >> types) in function declaration ... >> isn't a prototype ...
    (Debian-User)
  • ACPI Not Working on F8
    ... I'm running the old F7 kernel kernel-2.6.22.9-91.fc7 on F8 for reasons ... causing problems. ... Can't access ACPI events in /var/run/acpid.socket! ... the laptop is a Philips Freevents X5q (which is actually ...
    (Fedora)
  • Re: OSX update 10.2.8 (New) Safe for YDL?
    ... >> this update after a few hours because it was causing problems. ... Also, the YDL ... > boot using the 2.4.20 benh kernel. ... broke the Ethernet on SOME macs and was supposed to stop YDL booting. ...
    (comp.os.linux.powerpc)
  • to find out Unresolved symbel when I insert device driver?
    ... just when I issue insmod xxyy_module.o, I got warning. ... in my new installed kernel, ... I cant't find function prototype of it, ...
    (comp.os.linux.development.system)
  • Re: epoll_ctl and const correctness
    ... epoll are buggy. ... is buggy or or epoll prototype? ... modified by the kernel. ... Documentation does not say that. ...
    (Linux-Kernel)