All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] poky-tiny: Enable x86-64 to build eglibc correctly
Date: Thu, 06 Sep 2012 10:47:09 -0700	[thread overview]
Message-ID: <5048E19D.5030305@linux.intel.com> (raw)
In-Reply-To: <CAMKF1sr=pHa21ihb5y6m9tkLYV4zG2__hWkBBZML=S9eRZhZfw@mail.gmail.com>



On 08/30/2012 02:49 PM, Khem Raj wrote:
> On Thu, Aug 30, 2012 at 12:48 PM, Saul Wold <sgw@linux.intel.com> wrote:
>> The libc-libm-big option allows eglibc to correctly configure
>> itself to include the correct math functions for 64bit operations
>>
>> [YOCTO #2943]
>>
>> Signed-off-by: Saul Wold <sgw@linux.intel.com>
>> ---
>>  meta-yocto/conf/distro/poky-tiny.conf |    1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/meta-yocto/conf/distro/poky-tiny.conf b/meta-yocto/conf/distro/poky-tiny.conf
>> index 8ae1d85..bfb4432 100644
>> --- a/meta-yocto/conf/distro/poky-tiny.conf
>> +++ b/meta-yocto/conf/distro/poky-tiny.conf
>> @@ -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"
> 
> 
> there is a bug in eglibc if it cant build without libc-libm-big
> it should have not caused any undefined symbol failures because
> all it should have done is not use double precision so your computations
> will be less accurate.

Agreed.

~200K is significant when we are talking about < 4MB images. However, so
long as we track the eglibc bug, I am fine with including this
workaround to get things going.

I would ask that a comment be added which calls this out as a workaround
for the eglibc bug (a bug number would be great).

Thanks,

Darren

> 
>> --
>> 1.7.9.5
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> 

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel



  parent reply	other threads:[~2012-09-06 17:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30 19:48 [PATCH] poky-tiny: Enable x86-64 to build eglibc correctly Saul Wold
2012-08-30 20:04 ` Chris Larson
2012-08-30 20:13   ` Phil Blundell
2012-08-30 21:40     ` Khem Raj
2012-08-30 21:49 ` Khem Raj
2012-08-31 16:31   ` Saul Wold
2012-08-31 16:47     ` Khem Raj
2012-09-06 17:47   ` Darren Hart [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-09-08  0:12 Saul Wold
2012-09-10 18:41 ` Darren Hart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5048E19D.5030305@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.