Cross-compilation broken (was: Re: Linux 2.6.11-rc1)

From: Geert Uytterhoeven (geert_at_linux-m68k.org)
Date: 01/16/05

  • Next message: Edjard Souza Mota: "Re: User space out of memory approach"
    Date:	Sun, 16 Jan 2005 10:22:43 +0100 (MET)
    To: Linus Torvalds <torvalds@osdl.org>, Sam Ravnborg <sam@ravnborg.org>, Andrew Morton <akpm@osdl.org>
    
    

    On Tue, 11 Jan 2005, Linus Torvalds wrote:
    > Sam Ravnborg:
    > o kbuild: Use -isystem `gcc --print-file-name=include`

    This change broke cross-compilation for me.

    It causes /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h to be picked up
    instead of /usr/local/lib/gcc-lib/m68k-linux/2.95.2/include/stdarg.h.

    Changing

    | NOSTDINC_FLAGS := -nostdinc -isystem $(shell $(CC) -print-file-name=include)

    to

    | NOSTDINC_FLAGS = -nostdinc -isystem $(shell $(CC) -print-file-name=include)

    fixed it. I guess it picked up the definition for $(CC) before it became
    $(CROSS_COMPILE)gcc.

    Gr{oetje,eeting}s,

                                                    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    							    -- Linus Torvalds
    -
    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: Edjard Souza Mota: "Re: User space out of memory approach"

    Relevant Pages

    • Re: Possible dcache BUG
      ... On Thursday 12 August 2004 21:31, Linus Torvalds wrote: ... >> applications running were X and my mailer, as can be seen in the ... Copyright 2004 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: BK kernel workflow
      ... On Mon, 25 Oct 2004, Linus Torvalds wrote: ... Your analogy is flawed, nobody cares what you are using privately, but ... to acknowledge that the bk license might be part of problem, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: silent semantic changes with reiser4
      ... On Thu, 26 Aug 2004, Linus Torvalds wrote: ... One line stood out as a potential problem: ... Does this create a new class of "symlink attack" style security ... 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/ ...
      (Linux-Kernel)
    • Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2
      ... Dear diary, on Wed, Apr 20, 2005 at 12:19:01AM CEST, I got a letter ... where Steven Cole told me that... ... > Linus Torvalds wrote: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: removable media revalidation - udev vs. devfs or static /dev
      ... On Wed, Jan 07, Linus Torvalds wrote: ... have it configured somehow. ... entries and let KDE put 15 icons on the desktop and give ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)