On 08/21/2013 03:20 PM, JC Chong wrote:
> Hello,
> 
> The HSR may need some updating.
> 
> Using an LFS 6.6 host with GCC 4.4.x, I wasn't able to build kmod 14, as
> I keep getting: undefined reference to `_Static_assert' errors. kmod 13
> builds just fine though. (LFS 6.6 successfully meets the newest HSR so far.)
> 
> According to kmod 14's shortlog, http://lwn.net/Articles/557457/
> 
> Use _Static_assert
> 
> has been introduced, and that I believe is a C11 construct, which definitely 
> isn't supported by GCC 4.4 or versions < 4.6. kmod 13 successfully builds as 
> I said.
> 
> My LFS 7.3 host which has GCC 4.7, successfully builds kmod 14 with no 
> issues. I searched around and it appears that the problem goes away with GCC 
> > 4.6.
> 
> The HSR lists GCC 4.1.2 as a minimum requirement. Should it be bumped up to 
> 4.6? Has anyone else tried building kmod 14 with GCC < 4.6?
> 
> Another thing, the HSR lists a minimum running 2.6.25 kernel, but building 
> glibc 2.18 needs --enable-kernel=2.6.34. A long time ago, during the LFS 5.1 
> days, I tried --enable-kernel=2.6.0 with a running 2.4.x kernel and I got all 
> sorts of errors midway. Maybe that has changed. Has anyone tried building 
> glibc 2.18 running a host kernel that's below 2.6.34. I had to upgrade my LFS 
> 6.6 host to a 2.6.34 kernel. Should the minimum running kernel requirement be 
> bumped up as well?
> 
> Sorry, just a newbie here. Not sure if this is where I'm supposed to be 
> posting this. I understand that LFS 6.6 itself had HSR issues as well 
> (http://www.linuxfromscratch.org/lfs/errata/6.6/) which caused me a lot of 
> grief back then, but that's another story.
> 
> Thank you.
> 
> 
> 

host system requirements are just minimum versions of packages needed
for building temporary toolchain. Everything else in the chaper6,
including kmod, is built using temporary toolchain (first few packages)
and the new toolchain which should be way newer than the actual hostreqs.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to