Messages in this thread | | | Date | Wed, 15 Feb 2006 14:19:04 +0100 (CET) | From | Roman Zippel <> | Subject | Re: 2.6.16-rc3-mm1: i386 compilation broken |
| |
Hi,
On Tue, 14 Feb 2006, Andi Kleen wrote:
> Ok then the -ffreestanding was apparently still needed on other architectures too. > I guess that part of the patch can be just dropped.
The main problem is still the sprintf optimization, so --fno-builtin-sprintf should fix it too. That leaves only the single strchr, which is caused by an strpbrk optimization in zoran_procfs.c, where we could use --fno-builtin-strpbrk or simply directly replace that strpbrk with strchr.
If we really want to keep -ffreestanding, we have to rework how string.h is organized to allow enabling builtin functions, but still provide fall back functions. For example we had to add a lot of "#define foo __builtin_foo" to linux/string.h and "#undef foo" to lib/string.c.
bye, Roman - 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/
| |