Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.zytor.com/pipermail/klibc/attachments/20050902/d8550194/attachment.bin
Martin Schlemmer wrote:> Hi, > > We have a bug about klibc and compiling it for local machine if the > kernel sources is configured for UM linux. It basically fails to > compile, as the wrong asm headers is used. > > I am not sure what the official standing is about that? Something like > below is a sort of crappy workaround, but you might rather say it is > expected, and the user should fix his sources. >My attitude on that is "don't do that, then", but that might not be feasible for integration, and I should figure out a better way to deal with it. -hpa
On Fri, Sep 02, 2005 at 04:00:31PM +0200, Martin Schlemmer wrote:> + @if [ "`readlink "$(KRNLSRC)/include/asm"`" = "asm-um" ] ; then \ > + ln -snf ../linux/include/asm-$(ARCH) $(SRCROOT)/include/asm; \ > + elif [ "`readlink "$(KRNLSRC)/include2/asm"`" = "asm-um" ] ; then \ > + ln -snf ../linux/include2/asm-$(ARCH) $(SRCROOT)/include/asm; \ > + fiSurely we should consider SUBARCH != ARCH so we can also do thr right thing with Xen?