On 07/06/2013 09:53 PM, Bruce Dubbs wrote:
> Armin K. wrote:
>> We probably missed this one:
>>
>> https://git.kernel.org/cgit/linux/hotplug/udev.git/plain/README
>>
>> Requirements:
>> - Version 2.6.34 of the Linux kernel with sysfs, procfs, signalfd,
>> inotify, unix domain sockets, networking and hotplug enabled
>
> These all seem reasonable.
>
>> I suggest we build everything for 2.6.32 kernel from now on (glibc's
>> --enable-kernel switch). Why 2.6.32? Well, It appears no distro yet
>> builds with anything higher than that.
>
> Setting --enable-kernel='' in glibc only specifies what compatibility to
> include in the glibc libraries. I have no problems with adjusting it,
> but think that 2.6.34 would be better. The only reason to not have
> --enable-kernel=current is to allow users to boot an LFS system with an
> older kernel. There appears to be a udev requirement for 2.6.34, so it
> would make sense to me that the --enable-kernel value should be the
> newer of the distros kernels and udev. Since udev needs 2.6.34, then
> the user shouldn't try to use the LFS system with a kernel older than that.
>
Sure, do what you think is okay. I was thinking about the
" --enable-kernel=2.6.25
This tells Glibc to compile the library with support for 2.6.25 and
later Linux kernels. Workarounds for older kernels are not enabled."
on the
http://www.linuxfromscratch.org/lfs/view/development/chapter05/glibc.html
I agree though that "Requirement" was wrong word to use in the title :)
> In the email title, you use the term 'Requirement'. I do not think that
> you mean the 'Host System Requirements' in the Preface because that is
> only what is needed to build LFS. When booting to a new system, we
> assume that the kernel specified, currently 3.10, is used. We don't
> mention the ideal of booting LFS with an old kernel, even though that
> should work.
>
>> On my current Archlinux system, I have this
>>
>> $ file /bin/bash
>> /bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
>> dynamically linked (uses shared libs), for GNU/Linux 2.6.32,
>> BuildID[sha1]=9255721db3fe81c875516a01dc0ec7bb4211a43d, stripped
>
> I'm not sure how this applies to the above. I have:
>
> $ file /bin/bash
> /bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
> dynamically linked (uses shared libs), for GNU/Linux 2.6.25, stripped
>
> I'm pretty sure the 2.6.25 value is taken from what was specified when
> building glibc.
>
> -- Bruce
>
>
Yes, it is taken from the --enable-kernel="" value.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page