[klibc] [PATCH] fix build on native i386

Sam Ravnborg sam at ravnborg.org
Tue Jul 6 15:01:46 PDT 2010

When trying to build klibc on a native i386 box it
failed to include asm/posix_types.h

This was tracked down to a wrong include path.
For x86_64 it was correct.
Fix it for i386.

This should fix the build problem reported Phil Howard.

Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Cc: Phil Howard <kunnskaperen at gmail.com>

Hi Max - a proper patch submission.
Feel free to use this or whatever.


diff --git a/usr/klibc/arch/i386/MCONFIG b/usr/klibc/arch/i386/MCONFIG
index ef112a4..f4cb914 100644
--- a/usr/klibc/arch/i386/MCONFIG
+++ b/usr/klibc/arch/i386/MCONFIG
@@ -31,3 +31,7 @@ KLIBCBITSIZE  = 32
 # calls, and work on the memory models for this architecture
 # 96 MB - normal binaries start at 128 MB
 KLIBCSHAREDFLAGS	= -Ttext 0x06000200
+# Asm includes for i386 are in the merged x86 tree

More information about the klibc mailing list