Bug 2943

Summary: eglibc 2.16 compile fails with distro poky-tiny and x86_64 target
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Stefan Stanacar <sstncr>
Component: coreAssignee: Saul Wold <sgw>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: dvhart, meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: (Patch Review)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
log.do_compile poky-tiny x86_64 none

Description Stefan Stanacar 2012-08-14 13:08:22 UTC
bitbake eglibc fails at do_compile when using DISTRO ?= "poky-tiny" and  qemux86-64 target.

(opened a new bug for eglibc-2.16 as suggested in #2733)

[stefans@firebird ~]$ lsb_release -a; uname -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	Fedora
Description:	Fedora release 17 (Beefy Miracle)
Release:	17
Codename:	BeefyMiracle
Linux firebird 3.5.1-1.fc17.x86_64 #1 SMP Thu Aug 9 17:50:43 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "x86_64"
TARGET_OS         = "linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky-tiny"
DISTRO_VERSION    = "1.2+snapshot-20120814"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta              
meta-yocto        = "master:efcb0a81d8ab5d8e250c677cd6919b19172683d1"
Comment 1 Stefan Stanacar 2012-08-14 13:09:41 UTC
Created attachment 689 [details]
log.do_compile poky-tiny x86_64
Comment 2 Saul Wold 2012-08-29 00:50:01 UTC
The issue seems to be that the poky-tiny has a limited set of DISTRO_FEATURES_LIBC that does not include the libc-libm-big option, without this option the x86-64 build will include the dbl-wrap code instead of the dbl-64 as it likely should.

I think that having DISTRO_FEATURES_LIBC_TINY_x86-64_append = " libc-libm-big"
Comment 3 Darren Hart 2012-08-29 17:45:01 UTC
(In reply to comment #2)
> The issue seems to be that the poky-tiny has a limited set of
> DISTRO_FEATURES_LIBC that does not include the libc-libm-big option, without
> this option the x86-64 build will include the dbl-wrap code instead of the
> dbl-64 as it likely should.
> 
> I think that having DISTRO_FEATURES_LIBC_TINY_x86-64_append = "
> libc-libm-big"

Sounds reasonable. We can't really measure the delta as it doesn't build currently, but it would be nice to understand the added cost.
Comment 4 Saul Wold 2012-08-30 19:50:08 UTC
Not really, there might be other issues with poky-tiny and x86-64, but I guess someone will get to them at some point!
Comment 6 Stefan Stanacar 2012-09-25 11:21:02 UTC
Verified in 1.3_M5:52850f0fc6f801298413ee779834b346ef7f48d6