Skip to contentSkip to conversation

poky-tiny: Enable x86-64 to build eglibc correctly

PATCH In review Saul Wold 2 participants 2 messages Sep 8, 2012 – Sep 10, 2012

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 poky-tiny: Enable x86-64 to build eglibc correctly

There is bug in the eglibc configure scripts that prevent a x86-64 from configuring correctly and finding the smaller library fucntions.

This has been reported to the eglibc community via the issues ML

Cc Darren Hart <[email protected]>

[YOCTO #2943]

---
 meta-yocto/conf/distro/poky-tiny.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta-yocto/conf/distro/poky-tiny.conf +1 -0
index f3cc874..3196fa0 100644
@@ -63,6 +63,7 @@ ASSUME_PROVIDED += "pkgconfig$"
 # Reconfigure eglibc for a smaller installation
 # Comment out any of the lines below to disable them in the build
 DISTRO_FEATURES_LIBC_TINY = "libc-libm libc-crypt"
+DISTRO_FEATURES_LIBC_TINY_append_x86-64 = " libc-libm-big"
 
 # Required for "who"
 DISTRO_FEATURES_LIBC_MINIMAL = "libc-utmp libc-getlogin"
Signature · 1 line
1.7.7.6
#1 lore raw
Quoted 20 lines · Saul Wold

There is bug in the eglibc configure scripts that prevent a x86-64 from configuring correctly and finding the smaller library fucntions.

This has been reported to the eglibc community via the issues ML

Cc Darren Hart <[email protected]>

[YOCTO #2943]

---
 meta-yocto/conf/distro/poky-tiny.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta-yocto/conf/distro/poky-tiny.conf +0 -0
index f3cc874..3196fa0 100644

meta-yocto/conf/distro/poky-tiny.conf ASSUME_PROVIDED += "pkgconfig$" · line 65

Quoted 3 lines
meta-yocto/conf/distro/poky-tiny.conf +0 -0
@@ -63,6 +63,7 @@ ASSUME_PROVIDED += "pkgconfig$"
 # Reconfigure eglibc for a smaller installation
 # Comment out any of the lines below to disable them in the build
 DISTRO_FEATURES_LIBC_TINY = "libc-libm libc-crypt"

This needs a comment as to why it's needed, preferably citing the eglibc bug if one has been opened.

Quoted 5 lines
meta-yocto/conf/distro/poky-tiny.conf +1 -0
+DISTRO_FEATURES_LIBC_TINY_append_x86-64 = " libc-libm-big"
 
 # Required for "who"
 DISTRO_FEATURES_LIBC_MINIMAL = "libc-utmp libc-getlogin"
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel