[OE-core] [PATCH 5/5] binutils: Use tip of 2.26 branch

Khem Raj raj.khem at gmail.com
Mon Feb 15 17:04:20 UTC 2016


On Mon, Feb 15, 2016 at 7:33 AM, Khem Raj <raj.khem at gmail.com> wrote:
> On Mon, Feb 15, 2016 at 6:30 AM, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
>> On Sun, 2016-02-14 at 20:52 +0000, Khem Raj wrote:
>>> Until 2.26.1 is released there are few fixes which are needed
>>> especially
>>> when using -fpie, here are changes that are part of this version bump
>>>
>>> H.J. Lu (7):
>>>       Add a testcase for PR ld/18591
>>>       Store estimated distances in compressed_size
>>>       Remove duplicated marker for 2.26 in gas/NEWS
>>>       Add -mrelax-relocations= to x86 assembler
>>>       Mask off the least significant bit in GOT offset
>>>       Enable -Bsymbolic and -Bsymbolic-functions to PIE
>>>       Fix a typo in objcopy manual
>>>
>>> John David Anglin (1):
>>>       Fix /usr/bin/ld: final link failed: File truncated error on
>>> hppa
>>
>> I think this is resulting in:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-arm-lsb/buil
>> ds/625/steps/BuildImages_1/logs/stdio
>>
>> and
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-fsl-arm-lsb/
>> builds/638/steps/BuildImages_1/logs/stdio
>>
>> where config.log in one case says:
>>
>> configure:4407: checking for C compiler default output file name
>> configure:4429: arm-poky-linux-gnueabi-gcc  -fstack-protector-strong -pie -fpie -D_FORTIFY_SOURCE=2 -O2 -pipe -g -feliminate-unused-debug-types --sysroot=/home/pokybuild/yoc
>> to-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/sysroots/beaglebone  -O2 -pipe -g -feliminate-unused-debug-types -fstack-protector-strong -pie -fpie -D_FORTIFY_S
>> OURCE=2  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now conftest.c  >&5
>> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/ld:
>> error: a.out uses VFP register arguments, /tmp/ccbzGaSi.o does not
>> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/ld: failed to merge target specific data of file /tmp/ccbzGaSi.o
>> collect2: error: ld returned 1 exit status
>
> yeah, it means we need to add in the variable which sets -mfloat-abi
> into CC as well since we are using callconvention-hard here. I will
> send a v2 soon.

I posted a V2 to fix this issue. However this patch is not the cause.
Its the security flags patch which is causing it. So v2 is posted for
that patch
see
http://lists.openembedded.org/pipermail/openembedded-core/2016-February/117564.html



More information about the Openembedded-core mailing list