CT_LIBC_GLIBC_MIN_KERNEL(_VERSION)?

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Sun Mar 27 21:34:00 GMT 2011


Esben, All,

On Sunday 27 March 2011 23:14:31 Esben Haabendal wrote:
> > 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.
> 
> Ah, makes sense :-)
> 
> So I should just make sure to set CT_LIBC_GLIBC_MIN_KERNEL_VERSION in
> .config.

I do not know what you want to do, but if you want to force the minimum
kernel version, yes. And be sure to also force LIBC_GLIBC_KERNEL_VERSION_NONE
and disable the two others.

> >
> >> 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/;')"

What did you run to get this output?

> >> 
> >> Doesn't look right...
> >
> > What version is that?
> 
> changeset:   2359:4823c9504de0
> tag:         tip
> user:        "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
> date:        Thu Mar 24 21:04:58 2011 +0100
> summary:     kernel/linux: update version
> 

Currently, the kernel version code is in:
  /scripts/build/libc/glibc-eglibc.sh-common#299
(and not @285 as I said earlier)

Browseable at:
  http://ymorin.is-a-geek.org/hg/crosstool-ng/file/2359/scripts/build/libc/glibc-eglibc.sh-common#l299

> Or perhaps I am just a misguided git user that does not grok hg at all...

The main difference I can think of between git and Hg would be that 'git
pull' also updates the local checkout, while 'hg pull' is just pulling new
history to the local clone, but does not update (by default) the local
checkout. You have to do it explictly with 'hg update'.

Maybe it is as simple as you forgeting to run 'hg update'?

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