[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130410.130623.1470172183056352815.davem@davemloft.net>
Date: Wed, 10 Apr 2013 13:06:23 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: geert@...ux-m68k.org
Cc: linux-m68k@...ts.linux-m68k.org, linux-arch@...r.kernel.org,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH/RFC] m68k: Add -ffreestanding to KBUILD_CFLAGS
From: Geert Uytterhoeven <geert@...ux-m68k.org>
Date: Wed, 10 Apr 2013 11:24:39 +0200
> Without -ffreestanding, gcc may replace calls to standard C library
> functions by calls to other standard C library functions and/or inline
> code. This may cause link errors if the replacement code calls a standard
> C library function that's implemented as a macro in the kernel.
I think you should instead implement the library functions that gcc might
emit during a build.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists