Re: [discuss] [2.6 patch] include/asm-x86_64 "extern inline" -> "static inline"

From: Andi Kleen (ak_at_suse.de)
Date: 09/06/05

  • Next message: Adam Litke: "[PATCH 0/3] Demand faulting for hugetlb"
    To: discuss@x86-64.org, Terrence.Miller@sun.com
    Date:	Tue, 6 Sep 2005 23:49:00 +0200
    
    

    On Tuesday 06 September 2005 22:55, Terrence Miller wrote:
    > Andi Kleen wrote:
    > > I don't think the functionality of having single copies in case
    > > an out of line version was needed was ever required by the Linux kernel.
    >
    > But shouldn't the compiler that compiles Linux be C99 compliant?

    At least the kernel and some core functionality (glibc) has been
    traditionally written in GNU C, not ISO C. So no, that is not
    a design goal.

    Of course on the other hand GNU C is getting more and more like
    ISO C with the gcc people dropping extensions over time.

    Some of the extension use is probably more by mistake, but
    others (like typeof, inline assembly, statement expressions) are widely
    and intentionally used and would be quite hard to replace.

    However people have built the kernel with non gcc compilers,
    it just needed extensive modifications to either the compiler
    or the kernel.

    -Andi
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Adam Litke: "[PATCH 0/3] Demand faulting for hugetlb"

    Relevant Pages

    • Re: ALSA vs. OSS
      ... Loading the kernel version of the modules always fails with: ... perhaps from the compiler, which I compiled myself: ... gcc 2.95.3) and binutils 2.14. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 2/2] lzma support: lzma compressed kernel image
      ... >>if lzma fails. ... > compiler when somebody tries to compile the kernel without a compiler. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 0/29v2] InfiniBand core update
      ... responsible for setting up and managing connections between endpoints. ... kernel CM is CM functionality in the kernel. ... userspace applications to utilize this functionality. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Use of C99 int types
      ... > Uhh, no. stdint.h is part of glibc, not the kernel. ... by the compiler and associated libs, ... ISO in order to avoid conflicts between user-code and the standard ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] Re: Kernels > 2.6.1-mm3 do not boot. - SOLVED
      ... > (they used an older version of Hammer branch). ... > compiler issue or something that can be fixed in the kernel. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)