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?
Thanks for the report. What we have is: 6.6: gcc-4.4.3 6.7: gcc-4.5.1 6.8: gcc-4.5.2 7.0: gcc-4.6.1 Fernando, I believe you have these systems running. Can you confirm that kmod-14 breaks with gcc-4.5.2 but is successful with gcc-4.6.1. > 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? The --enable-kernel setting just optimizes glibc to kernels at that setting. Since we are building a current kernel, for reboot, then the setting of 2.6.34 if OK, even though we might be using an earlier version while building glibc. > 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. We appreciate this. It just helps us get the details right. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page