Hello, I was trying to rebuild klibc with clang, not use it as libc. It failed because clang can not find some header files when building. I tried to fix this by add something in makefile.
And because of libklibc is needed by Debian to boot, I need to rebuild it to produce a bootable Debian. Many thanks, Joseph 2015-05-28 17:38 GMT+08:00 Thorsten Glaser <t...@mirbsd.de>: > Joseph Lee dixit: > > >Using the rebuilding infrastructure, your package failed to build with > >clang instead of gcc. > > I think this is by design (upstream); klibc is sorta an embedded C > library and for example does not honour the standard ELF i386 psABI > for better performance and code size. > > bye, > //mirabilos > -- > <igli> exceptions: a truly awful implementation of quite a nice idea. > <igli> just about the worst way you could do something like that, afaic. > <igli> it's like anti-design. <mirabilos> that too… may I quote you on > that? > <igli> sure, tho i doubt anyone will listen ;) >