Skip to contentSkip to conversation

uclibc?

DISCUSSION Phil Blundell 2 participants 4 messages May 16, 2011 – May 20, 2011

lore
Share & tools
lore
#0 lore raw

I've just been trying to build a uclibc-based system from the current head of oe-core but this doesn't seem to be something that works entirely smoothly at the moment. Does anybody have a patchset to fix the uclibc recipes, or is anybody working on such a thing?

Issues I've encountered thus far are:

- fatal errors from insane.bbclass due to missing LIC_FILES_CHKSUM in uclibc recipes

- a bunch of slightly-bogus-looking bits in tclibc-uclibc.inc causing "-uclibc" to get appended to ${STAGING_DIR_HOST} (seemingly twice!), which was apparently breaking perl-native in some slightly obscure fashion.

- uclibc-initial looks for gcc-initial in the wrong place. I copied the ${STAGINGCC} bits from eglibc-initial to fix this.

- uclibc-initial installs itself into the wrong place. I copied the setting of do_populate_sysroot[sstate-outputdirs] from eglibc to fix this.

- uclibc compile now fails at:

| /home/pb/oe/build-meta-uclibc/tmp/sysroots/x86_64-linux/libexec/i586-linux-uclibc.gcc-cross-intermediate/gcc/i586-linux-uclibc/4.5.1/ld: cannot find -lgcc_s | collect2: ld returned 1 exit status

p.

#1 lore raw
Quoted 5 lines · Phil Blundell

I've just been trying to build a uclibc-based system from the current head of oe-core but this doesn't seem to be something that works entirely smoothly at the moment.  Does anybody have a patchset to fix the uclibc recipes, or is anybody working on such a thing?

I have not fixed uclibc in oe-core yet but if you use meta-openembedded layer along with oe-core
then the uclibc in that layer should work pretty well on top of oe-core. Eventually
it should move into oe-core one of these days.

Quoted 32 lines

Issues I've encountered thus far are:

- fatal errors from insane.bbclass due to missing LIC_FILES_CHKSUM in uclibc recipes

- a bunch of slightly-bogus-looking bits in tclibc-uclibc.inc causing "-uclibc" to get appended to ${STAGING_DIR_HOST} (seemingly twice!), which was apparently breaking perl-native in some slightly obscure fashion.

- uclibc-initial looks for gcc-initial in the wrong place.  I copied the ${STAGINGCC} bits from eglibc-initial to fix this.

- uclibc-initial installs itself into the wrong place.  I copied the setting of do_populate_sysroot[sstate-outputdirs] from eglibc to fix this.

- uclibc compile now fails at:

| /home/pb/oe/build-meta-uclibc/tmp/sysroots/x86_64-linux/libexec/i586-linux-uclibc.gcc-cross-intermediate/gcc/i586-linux-uclibc/4.5.1/ld: cannot find -lgcc_s | collect2: ld returned 1 exit status

p.

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 7 lines · Khem Raj
Quoted 5 lines · Phil Blundell

I've just been trying to build a uclibc-based system from the current head of oe-core but this doesn't seem to be something that works entirely smoothly at the moment. Does anybody have a patchset to fix the uclibc recipes, or is anybody working on such a thing?

Quoted 5 lines

I have not fixed uclibc in oe-core yet but if you use meta-openembedded layer along with oe-core
then the uclibc in that layer should work pretty well on top of oe-core. Eventually
it should move into oe-core one of these days.

I just tried that and now I get a failure in gcc-intermediate due to missing linux/limits.h. Not quite sure what's gone wrong there.

p.

#3 lore raw
Quoted 8 lines · Phil Blundell
Quoted 7 lines · Khem Raj
Quoted 5 lines · Phil Blundell

I've just been trying to build a uclibc-based system from the current head of oe-core but this doesn't seem to be something that works entirely smoothly at the moment. Does anybody have a patchset to fix the uclibc recipes, or is anybody working on such a thing?

Quoted 8 lines
Quoted 5 lines

I have not fixed uclibc in oe-core yet but if you use meta-openembedded layer along with oe-core
then the uclibc in that layer should work pretty well on top of oe-core. Eventually
it should move into oe-core one of these days.

I just tried that and now I get a failure in gcc-intermediate due to missing linux/limits.h. Not quite sure what's gone wrong there.

hmmm kernel-headers may be missing some bits.

Quoted 9 lines

p.

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Signature · 1 line
-Khem