From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by mail.openembedded.org (Postfix) with ESMTP id 7719F7C410 for ; Wed, 27 Mar 2019 20:39:07 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id t17so3525945wrw.13 for ; Wed, 27 Mar 2019 13:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=5annHahYxiEksLjmaYiNvC06EgOreM2uL2pp696Bk/A=; b=HBbBjcmLrohPkAPZ1gGmaT5L2FHgxOvD6APEUIEXmwG81IOsAiBAoLQOOZOxapVbvG 1RsXyOGz+D+HfDn8p9zg7X8I9s1KKoWFuTRS00kCJUyGyRL5iaUkeXN8ofNlF1+2FpbI 9hWCAL827uWUKftlo2u9dDjQTvHb1gS5uoalgjWu5xY/uKt03XSm7pOYtF1rbjPavoEW 2cB+vFRD50TpWC0tcFesIZZxM0yDE3Y9i6fZhSfmesBF1IoSgycRj+UNkXrBWP/3TcQh uUoyvOL2I8HgHElDGaA9asgJ/Oyyg7lHeplid2zzTkelEFunAtMQEX2eAPBBkuMQFEdO QzsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5annHahYxiEksLjmaYiNvC06EgOreM2uL2pp696Bk/A=; b=Ki9xSuU+MEBYRTTs1joBGv5wAg+iXM3MNM8OWBP/j9FyaAiHA1kGNgeOLXXgA6HTLq Tvc0r1vSQNZfQcwAz6jQpxMgq0onAH25fOIlDGGIUYjpVcewySTb7lWRkJeaFxz5MEGR wlHZdXhD+6f6yJidpc/nICn9Pdl+BbXIiVk5y54MDeIP4g+LGMR5h1npQZSRJykYjqKx LWpWvWIWzUuJhoChKRXihvLLT7HReatVDrwhvICZ+dbLD/NRMWvl5EacxQI20HY6po3/ x9KTdIuM+GPudC5hRxVIUVH56rIhlfzaAuTQt9ZQHMjG23LB1XMSCXYIRlXtQ/81dTKk 52MA== X-Gm-Message-State: APjAAAWGIpOZRmTCAxLyCy9Sj2TmGkEhn0y/afnooC/yK7A74dYkoBiK 1nUpRXOSuI+VE0hkPZEQUhg= X-Google-Smtp-Source: APXvYqwWwjEYaShA2l1qhMszFm4YI4GB+2m652pRRAeFfschDMPNnGAuGJPJiniOhGkXSHvBa4M5mQ== X-Received: by 2002:a05:6000:12c8:: with SMTP id l8mr23561615wrx.80.1553719148101; Wed, 27 Mar 2019 13:39:08 -0700 (PDT) Received: from localhost (ip-217-030-068-212.aim-net.cz. [217.30.68.212]) by smtp.gmail.com with ESMTPSA id x192sm697404wmf.48.2019.03.27.13.39.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Mar 2019 13:39:07 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa Date: Wed, 27 Mar 2019 21:39:07 +0100 To: Khem Raj Message-ID: <20190327203907.GF1598@jama> References: <20190327161754.GD1598@jama> <20190327163507.GE1598@jama> MIME-Version: 1.0 In-Reply-To: <20190327163507.GE1598@jama> User-Agent: Mutt/1.11.4 (2019-03-13) Cc: openembeded-devel Subject: Re: State of OE World, 2019-03-16 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2019 20:39:07 -0000 X-Groupsio-MsgNum: 76870 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VuQYccsttdhdIfIP" Content-Disposition: inline --VuQYccsttdhdIfIP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 27, 2019 at 05:35:07PM +0100, Martin Jansa wrote: > On Wed, Mar 27, 2019 at 05:17:54PM +0100, Martin Jansa wrote: > > On Sun, Mar 17, 2019 at 08:26:37AM -0700, Khem Raj wrote: > > > http://www.openembedded.org/wiki/Bitbake_World_Status > > >=20 > > > =3D=3D Failed tasks 2019-03-16 =3D=3D > > >=20 > > > INFO: jenkins-job.sh-1.8.45 Complete log available at > > > http://logs.nslu2-linux.org/buildlogs/oe/world/warrior/log.report.201= 90317_082308.log > > >=20 > > > * sources/openembedded-core/meta/recipes-gnome/gobject-introspect= ion/gobject-introspection_1.58.3.bb:do_compile > >=20 > > I was hit by this one as well on some arm targets. > >=20 > > http://logs.nslu2-linux.org/buildlogs/oe/world/warrior/log.world.qemuar= m.20190321_215508.log/bitbake.log > >=20 > > shows that it's actually from qemu-arm segfault inside g-ir-scanner-qem= uwrapper > >=20 > > | qemu: uncaught target signal 11 (Segmentation fault) - core dumped > > | /home/jenkins/oe/world/yoe/build/tmpfs/work/armv7vet2hf-neon-yoe-linu= x-gnueabi/gobject-introspection/1.58.3-r0/build/g-ir-scanner-qemuwrapper: l= ine 6: 1959 Segmentation fault (core dumped) PSEUDO_UNLOAD=3D1 qemu-a= rm -r 3.2.0 -L /home/jenkins/oe/world/yoe/build/tmpfs/work/armv7vet2hf-neon= -yoe-linux-gnueabi/gobject-introspection/1.58.3-r0/recipe-sysroot -E LD_LIB= RARY_PATH=3D$GIR_EXTRA_LIBS_PATH:.libs:/home/jenkins/oe/world/yoe/build/tmp= fs/work/armv7vet2hf-neon-yoe-linux-gnueabi/gobject-introspection/1.58.3-r0/= recipe-sysroot//usr/lib:/home/jenkins/oe/world/yoe/build/tmpfs/work/armv7ve= t2hf-neon-yoe-linux-gnueabi/gobject-introspection/1.58.3-r0/recipe-sysroot/= /lib "$@" > >=20 > > The interesting part is that this happens only when glibc is built with= gold enabled. > >=20 > > I've put a bit more details in temporary work-around here: > > https://github.com/shr-distribution/meta-smartphone/commit/8f06eb355ead= 85464b1a1bbaa82584504df15743 > >=20 > > I'm comparing qemuarm glibc build with bfd and gold to see if there is = some > > significant difference which might cause this and I plan to flash some = small > > image on my targets to see if libc is broken in runtime as well or only= when > > running inside qemu-arm. > >=20 > > Is anyone else seeing this as well? >=20 > Checking older world status on the wiki shows that this issue was > introduced somewhere around christmas >=20 > This is last world build before the issue: > http://logs.nslu2-linux.org/buildlogs/oe/world/warrior/log.report.2018121= 9_112425.log > ... > =3D=3D Tested changes (not included in master yet) - openembedded-core = =3D=3D > latest upstream commit:=20 > 14c291e1fb gcc-runtime: Add missing libc dependency > not included in master yet:=20 > 7e2ab991fa python/python3: use cc_basename to replace CC for checking com= piler > ced915026d python-native: fix one do_populate_sysroot warning > aee47f3e82 netbase: add entry to /etc/hosts according to /etc/hostname > a09e2db43a sstate: add support for caching shared workdir tasks > c104a34166 grub2: Fix passing null to printf formats > 6f364ff8c4 gnupg: Upgrade to 2.2.12 release > 0224fec86b glibc: Upgrade towards 2.29 release > 2486349782 gcc-9.0: Add recipes for upcoming gcc 9.0 release in mid-2019 > b3ab29bdbb gcc-runtime: Drop building libmpx >=20 > and this is the first which reported qemu-arm segfault: > =3D=3D Tested changes (not included in master yet) - openembedded-core = =3D=3D > latest upstream commit:=20 > 95659bed3f populate_sdk_ext.bbclass: Include site.conf in parsing for con= tents for local.conf > not included in master yet:=20 > 0c9db0ae7d python/python3: use cc_basename to replace CC for checking com= piler > bb3eb6bc41 python-native: fix one do_populate_sysroot warning > 08a205f872 netbase: add entry to /etc/hosts according to /etc/hostname > b81c8650d0 sstate: add support for caching shared workdir tasks > 702be42dc9 glibc: Remove site_config and glibc-initial > fc230822d8 gcc: Drop gcc-cross-initial and use gcc-cross instead > 8652df3a0d gcc: Drop the -initial versions of the compiler > 0c2f6dfa2f recipes: Drop virtual/libc-for-gcc > c64531600d newlib: Move away from gcc-initial dependency > 0d5fb4428f libssp: Remove dependency on gcc-initial > 7dd8829d3e musl: Move away from gcc-initial dependency > 9abdb4d6ca tcmode-default: Drop pinnings for gcc-initial based recipes > e02724e8f8 base.bbclass, classextend.py: Drop catering to gcc-initial > 7756cb7d17 oeqa/concurrencytest: fix for locating meta-selftest > f4c68c39e7 crosssdk/cross-canadian: Set LIBCOVERRIDE correctly > 6fc9bb5698 glibc: Enable --with-default-link > d4cb282bc6 gcc-9.0: Add recipes for upcoming gcc 9.0 release in mid-2019 > 6efe313b46 glibc: Upgrade towards 2.29 release > dac5dc5067 grub2: Fix passing null to printf formats > bb36d9dc8c gnupg: Upgrade to 2.2.12 release > 81059437a5 gnupg: Do not apply -Woverride-init guard for gcc >=3D 9 > 6fa05e5ace nfs-utils: Disable format-overflow as Werror > 8fab7b23ef musl: Update to latest master > a5641cac42 libxcrypt: Upgrade to 4.4.2 > c90ec03d07 gdb: Backport a fix to build with gcc9 > 1adae92573 valgrind: Fix x86_64 build failure with gcc9 > 38e9e09104 ffmpeg: Backport patch to fix build with gcc9 > 4e1fa57743 binutils: Upgrade to latest on 2.31 release branch > 5cce276d4a binutils: Upgrade to upcoming 2.32 release >=20 > and the changes introduced in oe-core between these are: > docker-shr @ ~/openembedded-core $ git log --oneline 14c291e1fb..95659bed= 3f > 95659bed3f populate_sdk_ext.bbclass: Include site.conf in parsing for con= tents for local.conf > 085530e8ff i2c-tools: upgrade 4.0 -> 4.1 > 673c2dcf10 common-licenses: update Libpng license text > 099aecfaa3 libpng: upgrade 1.6.35 -> 1.6.36 > 6574bb7523 harfbuzz: upgrade 2.1.3 -> 2.2.0 > 8286e9d79d sqlite3: upgrade 3.25.3 -> 3.26.0 > a33170ff9a libatomic-ops: upgrade 7.6.6 -> 7.6.8 > 6a10ff0bcd gsettings-desktop-schemas: upgrade 3.28.0 -> 3.28.1 > dd2c4d9d85 eudev: upgrade 3.2.5 -> 3.2.7 > 0860216a81 icecc: patchelf is needed by icecc-create-env > d2fcaeb153 icecc: Don't generate recipe-sysroot symlinks at recipe-parsin= g time > 4455c46bf7 icecc: Syntax error meant that we weren't waiting for tarball = generation > fa6bae80bc icecc: Trivial simplification > 6d6788a3ea icecc: readlink -f on the recipe-sysroot gcc/g++ > 1ee90ec89a libxcrypt: Fix nativesdk build with gcc9 > 547174fc83 gcc-runtime: Drop building libmpx >=20 > It's possible that it's not caused by one of these oe-core changes, but o= ne of the pending > yoe changes (like those 2 binutils upgrades) which were merged to oe-core= in some form a bit > later. >=20 > I'll verify if the issue is reproducible with oe-core 95659bed3f and cont= inue the bisect from there. git bisect narrowed it down to these oe-core commits: da527d73f5 oeqa/utils/qemurunner: Print output when failed to login 7bbc453ac2 (refs/bisect/bad) glibc: Enable --with-default-link 5d0307fbef (HEAD) base.bbclass, classextend.py: Drop catering to gcc-initial 5b2fd1c724 tcmode-default: Drop pinnings for gcc-initial based recipes fa47e2e654 musl: Move away from gcc-initial dependency 9dc6fcd492 libssp: Remove dependency on gcc-initial 44539118ce newlib: Move away from gcc-initial dependency 122217b421 recipes: Drop virtual/libc-for-gcc d84971928b gcc: Drop the -initial versions of the compiler 62b7308b8c gcc: Drop gcc-cross-initial and use gcc-cross instead c5df105e75 glibc: Remove site_config and glibc-initial 94bece16c2 crosssdk/cross-canadian: Set LIBCOVERRIDE correctly 56d2493a9a oeqa/concurrencytest: fix for locating meta-selftest 95659bed3f (glibc-95659bed3f, refs/bisect/good-95659bed3f6f3216b346f70cfc9f= fae9788c0fc1) populate_sdk_ext.bbclass: Include site.conf in parsing for co= ntents for local.conf 085530e8ff i2c-tools: upgrade 4.0 -> 4.1 my guess was the very last commit "glibc: Enable --with-default-link", but unfortunately without this fix I cannot build glibc with gold enabled. Will compare the glibc build to see is there is something obviously wrong in the output. --=20 Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com --VuQYccsttdhdIfIP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQRU+ejDffEzV2Je2oc3VSO3ZXaAHAUCXJvfawAKCRA3VSO3ZXaA HIC8AKC8AOrcb3fhSH9EQUdtaW+A4ffn/ACgn7wzpIqHFOKJ/hPHurweLO6NC/k= =n80X -----END PGP SIGNATURE----- --VuQYccsttdhdIfIP--