Bug 13538

Summary: glibc_2.28 fails do_compile on ubuntu16.04, Error on shlib.lds
Product: [Build System, Metadata & Runtime] BitBake Reporter: m.sperandio
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: Medium CC: akuster, poky.bs.watcher, poky.watcher, randy.macleod
Version: unspecified   
Target Milestone: 2.6.4   
Hardware: Other   
OS: arm   
URL: https://sourceware.org/bugzilla/show_bug.cgi?id=25004
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
log of the error
none
log build none

Description m.sperandio 2019-09-18 14:22:12 UTC
Created attachment 4563 [details]
log of the error

glibc fails to compile on ubuntu 16.04 gcc 5.4.0, below the log file:


test -s /home/mes/B2Qt/build-apalis-imx6/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/glibc/2.28-r0/build-arm-poky-linux-gnueabi/shlib.ldsT
make[2]: *** [../Makerules:628: /home/mes/B2Qt/build-apalis-imx6/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/glibc/2.28-r0/build-arm-poky-linux-gnueabi/shlib.lds] Error 1
make[2]: *** Waiting for unfinished jobs....
make subdir=signal -C ../signal ..=../ objdir=/home/mes/B2Qt/build-apalis-imx6/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/glibc/2.28-r0/build-arm-poky-linux-gnueabi -f Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-sigaction.os rtld-sigrestorer.os rtld-raise.os'
make[4]: Leaving directory '/home/mes/B2Qt/build-apalis-imx6/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/glibc/2.28-r0/git/dirent'

Any suggestion?

Kind regards,

Matteo Sperandio
Comment 1 Randy MacLeod 2019-09-19 14:49:41 UTC
We are having trouble understanding how this can happen since we build all recent releases using 16.04.

What yocto/oe-core release are you using?
Can you try a stand-alone build of qemuarm for that release perhaps using poky only?
Comment 2 m.sperandio 2019-09-19 14:58:28 UTC
(In reply to comment #1)
> We are having trouble understanding how this can happen since we build all
> recent releases using 16.04.
> 
> What yocto/oe-core release are you using?
> Can you try a stand-alone build of qemuarm for that release perhaps using
> poky only?

The DISTRO_VERSION on poky.conf is 2.6.1

I try the build asap.
Comment 3 m.sperandio 2019-09-20 06:24:11 UTC
Created attachment 4564 [details]
log build

log of the build with error on ncurses.
Comment 4 Armin Kuster 2019-10-03 05:40:59 UTC
I could not reproduce this using MACHINE=qemuarm with 2.6.2 checked out on 16.04 laptop 2 core.

gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.11)

Default layers for a poky install.
Comment 5 Armin Kuster 2019-10-03 06:06:15 UTC
I just finish building with DEFAULTTUNE=cortexa9thf-neon

still no error.

I can not reproduce this with the standard Poky s/w.
Comment 6 Richard Purdie 2019-10-17 15:16:30 UTC
If you're using 2.6.1 I'd suggest using the latest 2.6.X. Marking as unable to reproduce.