CT_LIBC_GLIBC_MIN_KERNEL(_VERSION)?
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Sun Mar 27 18:01:00 GMT 2011
Esben, All,
On Sunday 27 March 2011 19:38:40 Esben Haabendal wrote:
> Is CT_LIBC_GLIBC_MIN_KERNEL being replaced with
> CT_LIBC_GLIBC_MIN_KERNEL_VERSION?
Nope, not as far as I know... :-)
CT_LIBC_GLIBC_MIN_KERNEL_VERSION is the value the user enters in the
menuconfig, CT_LIBC_GLIBC_MIN_KERNEL is the value that scripts shall
test.
CT_LIBC_GLIBC_MIN_KERNEL gets its value either from the configured
kernel version in the kernel section, or from the user supplied version.
> This is status right now:
[--SNIP--]
> scripts/build/libc/eglibc.sh:2232: extra_config+=("--enable-kernel=$(echo ${CT_LIBC_GLIBC_MIN_KERNEL} |sed -r -e 's/^([^.]+\.[^.]+\.[^.]+)(|\.[^.]+)$/\1/;')")
> scripts/build/libc_eglibc.sh:810: extra_config="--enable-kernel=$(echo ${CT_LIBC_GLIBC_MIN_KERNEL} |sed -r -e 's/^([^.]+\.[^.]+\.[^.]+)(|\.[^.]+)$/\1/;')"
> scripts/build/libc/glibc-eglibc.sh-common:2353: min_kernel_config="$( echo "${CT_LIBC_GLIBC_MIN_KERNEL_VERSION}" \
> scripts/build/libc/glibc.sh:2272: min_kernel_config="--enable-kernel=$(echo ${CT_LIBC_GLIBC_MIN_KERNEL_VERSION} |sed -r -e 's/^([^.]+\.[^.]+\.[^.]+)(|\.[^.]+)$/\1/;')"
> scripts/build/libc_glibc.sh:810: extra_config="--enable-kernel=$(echo ${CT_LIBC_GLIBC_MIN_KERNEL} |sed -r -e 's/^([^.]+\.[^.]+\.[^.]+)(|\.[^.]+)$/\1/;')"
> scripts/build/libc_glibc.sh:810: *) extra_config="${extra_config} --enable-kernel=$(echo ${CT_LIBC_GLIBC_MIN_KERNEL} |sed -r -e 's/^([^.]+\.[^.]+\.[^.]+)(|\.[^.]+)$/\1/;')"
>
> Doesn't look right...
What version is that? In the latest release (1.10.0), glibc and eglibc code
paths have been merged, and there is a single code path that computes the
minimal kernel version. See:
scripts/build/libc/glibc-eglibc.sh-common@285
(although there appears to be an issue in tht code when the user choose to
let ./configure decide. I'll look at it.)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list