From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com ([134.134.136.20]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1T9gMw-0008IS-3u for openembedded-core@lists.openembedded.org; Thu, 06 Sep 2012 19:59:58 +0200 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 06 Sep 2012 10:47:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.80,380,1344236400"; d="scan'208";a="189734880" Received: from unknown (HELO envy.home) ([10.7.199.148]) by orsmga001.jf.intel.com with ESMTP; 06 Sep 2012 10:47:32 -0700 Message-ID: <5048E19D.5030305@linux.intel.com> Date: Thu, 06 Sep 2012 10:47:09 -0700 From: Darren Hart User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 MIME-Version: 1.0 To: Khem Raj References: <1346356090-13811-1-git-send-email-sgw@linux.intel.com> In-Reply-To: X-Enigmail-Version: 1.4.4 Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH] poky-tiny: Enable x86-64 to build eglibc correctly X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2012 17:59:58 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 08/30/2012 02:49 PM, Khem Raj wrote: > On Thu, Aug 30, 2012 at 12:48 PM, Saul Wold 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 >> --- >> 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