Bug 7145

Summary: u-boot-qoriq fails to link with binutils 2.25
Product: [Build System, Metadata & Runtime] BSPs Reporter: Ross Burton <ross.burton>
Component: bsps-meta-fsl-ppcAssignee: Chunrong Guo <b40290>
Status: VERIFIED FIXED QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, b19537, zhenhua.luo
Version: 1.7   
Target Milestone: 1.9 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2015-01-15 14:30:07 UTC
With master (poky 2b925045877aeb44d9823a8c9515e8ab8fca1e52) + my MUT branch (with binutils 2.25 upgrade), u-boot-qorig fails to link:

| powerpc-poky-linux-gnuspe-ld.bfd: _GLOBAL_OFFSET_TABLE_ not defined in linker created .got

https://autobuilder.yoctoproject.org/main/builders/nightly-fsl-ppc-lsb/builds/160 has the full build logs.
Comment 1 Zhenhua Luo 2015-02-12 07:56:37 UTC
The patch is submitted. 

http://patches.openembedded.org/patch/88647/
Comment 2 Ross Burton 2015-03-20 10:33:00 UTC
Would be good if you've verify that this doesn't break binutils 2.24 so you can merge it soon so when 1.9 opens oe-core isn't blocking on this again.

However oe-core won't be getting 2.25 until 1.9 opens up, so changing the target to 1.9M1.
Comment 4 Chunrong Guo 2015-05-05 09:13:34 UTC
build successfully


Build Configuration:
BB_VERSION        = "1.27.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "powerpc-poky-linux-gnuspe"
MACHINE           = "p1022ds"
DISTRO            = "poky"
DISTRO_VERSION    = "1.8+snapshot-20150505"
TUNE_FEATURES     = "m32 spe ppce500v2"
TARGET_FPU        = "ppc-efd"
meta              
meta-yocto        = "master:781165b071babb888f46a4e1d15880df924c65f6"
meta-fsl-ppc      = "master:451be081fc08fc09179aafa4f3d8210243c00236"
meta-yocto-bsp    = "master:781165b071babb888f46a4e1d15880df924c65f6"
Comment 5 Alexandru Georgescu 2015-08-24 11:55:14 UTC
verified. The issue doesn't appear on AB anymore.