Skip to contentSkip to conversation

Version 2.8 and timerfd_* syscalls

GLibc Jean-Michel Hautbois 2 participants 9 messages Jul 3, 2009

lore
Share & tools
lore
#0 lore raw

Hi there,

I am currently using openembedded and a DISTRO angstrom. I wish to use the timerfd_create() syscall and this is only usable with a GLibC >= 2.8, AFAIK.

When I modify my local.conf file, specifying:
PREFERRED_VERSION_glibc ?= "2.8"
PREFERRED_VERSION_glibc-initial ?= "2.8"

I have these messages:

NOTE: preferred version 2.8 of glibc not available (for item virtual/libc)
NOTE: preferred version 2.8 of glibc not available (for item libsegfault)
NOTE: preferred version 2.8 of glibc not available (for item glibc)
NOTE: preferred version 2.8 of glibc not available (for item virtual/i586-angstrom-linux-libc-for-gcc)
NOTE: preferred version 2.8 of glibc-initial not available (for item virtual/i586-angstrom-linux-libc-initial)

And it is downloading and generating a GLibC 2.7. And this GLib doesn't offer me what I am lloking for... :-).

How can I upgrade for using a 2.8 ?
Is there any way to be able to use these timerfd_* syscalls ?

Thanks in advance !

--
Best Regards.
JM

#1 lore raw
Quoted 3 lines · Jean-Michel Hautbois

When I modify my local.conf file, specifying:
PREFERRED_VERSION_glibc ?= "2.8"
PREFERRED_VERSION_glibc-initial ?= "2.8"

There doesn't appear to be any recipe for glibc 2.8 in the repository. Maybe you could try using 2.9 instead. If this isn't suitable then perhaps you would like to contribute a recipe for 2.8.

p.

#2 lore raw

2009/7/3 Phil Blundell <[email protected]>:

Quoted 9 lines · Jean-Michel Hautbois
Quoted 3 lines

When I modify my local.conf file, specifying:
PREFERRED_VERSION_glibc                 ?= "2.8"
PREFERRED_VERSION_glibc-initial         ?= "2.8"

There doesn't appear to be any recipe for glibc 2.8 in the repository. Maybe you could try using 2.9 instead.  If this isn't suitable then perhaps you would like to contribute a recipe for 2.8.

OK, I have the same message with 2.9.
I could try to contribute a recipe, but for that, I will need some help, because I don't know how to do this in a short time ?

How can I know which recipes are are in the repository ?

Thx and Regards.
JM

#3 lore raw
Quoted 1 line · Jean-Michel Hautbois

How can I know which recipes are are in the repository ?

Something like this:

pb@mill:~/oe/org.openembedded.dev$ ls recipes/glibc/glibc_*.bb
recipes/glibc/glibc_2.2.5.bb              recipes/glibc/glibc_2.3.6.bb
recipes/glibc/glibc_2.3.2.bb              recipes/glibc/glibc_2.4.bb
recipes/glibc/glibc_2.3.2+cvs20040726.bb  recipes/glibc/glibc_2.5.bb
recipes/glibc/glibc_2.3.3.bb              recipes/glibc/glibc_2.6.1.bb
recipes/glibc/glibc_2.3.3+cvs20041128.bb  recipes/glibc/glibc_2.7.bb
recipes/glibc/glibc_2.3.3+cvs20050221.bb  recipes/glibc/glibc_2.9.bb
recipes/glibc/glibc_2.3.3+cvs20050420.bb  recipes/glibc/glibc_cvs.bb
recipes/glibc/glibc_2.3.5+cvs20050627.bb
pb@mill:~/oe/org.openembedded.dev$ 

p.

#4 lore raw

2009/7/3 Phil Blundell <[email protected]>:

Quoted 5 lines · Jean-Michel Hautbois
Quoted 1 line

How can I know which recipes are are in the repository ?

Something like this:

Quoted 9 lines
pb@mill:~/oe/org.openembedded.dev$ ls recipes/glibc/glibc_*.bb
recipes/glibc/glibc_2.2.5.bb              recipes/glibc/glibc_2.3.6.bb
recipes/glibc/glibc_2.3.2.bb              recipes/glibc/glibc_2.4.bb
recipes/glibc/glibc_2.3.2+cvs20040726.bb  recipes/glibc/glibc_2.5.bb
recipes/glibc/glibc_2.3.3.bb              recipes/glibc/glibc_2.6.1.bb
recipes/glibc/glibc_2.3.3+cvs20041128.bb  recipes/glibc/glibc_2.7.bb
recipes/glibc/glibc_2.3.3+cvs20050221.bb  recipes/glibc/glibc_2.9.bb
recipes/glibc/glibc_2.3.3+cvs20050420.bb  recipes/glibc/glibc_cvs.bb
recipes/glibc/glibc_2.3.5+cvs20050627.bb

OK, thanks.
So, can you explain me why I don't have this one: recipes/glibc/glibc_2.9.bb ? When I am launching a git pull, It says I am up-to-date...

Thx and Regards,
JM

#5 lore raw
Quoted 2 lines · Jean-Michel Hautbois

So, can you explain me why I don't have this one: recipes/glibc/glibc_2.9.bb ? When I am launching a git pull, It says I am up-to-date...

What repository are you pulling from, and which branch are you using?

p.

#6 lore raw

2009/7/3 Phil Blundell <[email protected]>:

Quoted 6 lines · Jean-Michel Hautbois
Quoted 2 lines

So, can you explain me why I don't have this one: recipes/glibc/glibc_2.9.bb ? When I am launching a git pull, It says I am up-to-date...

What repository are you pulling from, and which branch are you using?

I am pulling from git://git.openembedded.net/openembedded
And my branche is stable/2009.

JM

#7 lore raw
Quoted 1 line · Jean-Michel Hautbois

And my branche is stable/2009.

I guess that's most likely the problem; I haven't checked, but it's quite possible that glibc 2.9 is only in the main .dev branch and not (yet) in stable. If that's the case, you can probably just copy the file over from a .dev checkout.

p.

#8 lore raw

2009/7/3 Phil Blundell <[email protected]>:

Quoted 7 lines · Jean-Michel Hautbois
Quoted 1 line

And my branche is stable/2009.

I guess that's most likely the problem; I haven't checked, but it's quite possible that glibc 2.9 is only in the main .dev branch and not (yet) in stable.  If that's the case, you can probably just copy the file over from a .dev checkout.

Well, it doesn't seem to be that simple.
I have these messages:

ERROR: see log in /opt/devel/work/angstrom-dev/work/i586-angstrom-linux/glibc-2.9-r1/temp/log.staging_helper.16134
NOTE: Task failed:
/opt/devel/work/angstrom-dev/work/i586-angstrom-linux/glibc-2.9-r1/temp/log.staging_helper.16134
ERROR: TaskFailed event exception, aborting
ERROR: Build of /opt/devel/oe/openembedded/recipes/glibc/glibc_2.9.bb
do_setscene failed
ERROR: function staging_helper failed
ERROR: see log in /opt/devel/work/angstrom-dev/work/i586-angstrom-linux/glibc-initial-2.9-r1/temp/log.staging_helper.16132
NOTE: Task failed:
/opt/devel/work/angstrom-dev/work/i586-angstrom-linux/glibc-initial-2.9-r1/temp/log.staging_helper.16132
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/opt/devel/oe/openembedded/recipes/glibc/glibc-initial_2.9.bb
do_setscene failed
ERROR: Task 560
(/opt/devel/oe/openembedded/recipes/glibc/glibc-initial_2.9.bb,
do_setscene) failed
NOTE: Waiting for 2 active tasks to finish
NOTE: 1: /opt/devel/oe/openembedded_sg1000/recipes/sg1000/sg1000-normal-rootfs_0.1.0.bb, do_setscene (16137)
NOTE: 2: /opt/devel/oe/openembedded/recipes/glibc/glibc_2.9.bb,
do_setscene (16134)
ERROR: Task 181
(/opt/devel/oe/openembedded/recipes/glibc/glibc_2.9.bb, do_setscene)
failed
NOTE: Waiting for 1 active tasks to finish
NOTE: 1: /opt/devel/oe/openembedded_sg1000/recipes/sg1000/sg1000-normal-rootfs_0.1.0.bb, do_setscene (16137)
NOTE: Tasks Summary: Attempted 537 tasks of which 537 didn't need to
be rerun and 2 failed.
ERROR: '/opt/devel/oe/openembedded/recipes/glibc/glibc-initial_2.9.bb' failed
ERROR: '/opt/devel/oe/openembedded/recipes/glibc/glibc_2.9.bb' failed

Thx and Regards,
JM