[yocto] New error
Khem Raj
raj.khem at gmail.com
Tue Nov 15 22:47:52 PST 2016
Can you test out this patch for OE-Core
https://github.com/kraj/openembedded-core/commit/b2d345d0217db0c2dda3b9b40824829116599568
On 11/15/16 4:41 AM, Gary Thomas wrote:
> I just ran a new build for one of my PowerPC targets and I'm getting errors
> like these:
>
> ERROR: openssh-7.3p1-r0 do_package: runstrip:
> ''powerpc-amltd-linux-gnuspe-strip' --remove-section=.comment
> --remove-section=.note
> '/build/diskstation_2016-11-15/tmp/work/p1022ds-amltd-linux-gnuspe/openssh/7.3p1-r0/package/usr/bin/scp.openssh''
> strip command failed with 1 (b'powerpc-amltd-linux-gnuspe-strip:
> /build/diskstation_2016-11-15/tmp/work/p1022ds-amltd-linux-gnuspe/openssh/7.3p1-r0/package/usr/bin/strW48QK:
> Not enough room for program headers, try linking with
> -N\npowerpc-amltd-linux-gnuspe-strip:/build/diskstation_2016-11-15/tmp/work/p1022ds-amltd-linux-gnuspe/openssh/7.3p1-r0/package/usr/bin/strW48QK[.interp]:
> Bad value\n')
> ERROR: coreutils-8.25-r0 do_package: runstrip:
> ''powerpc-amltd-linux-gnuspe-strip' --remove-section=.comment
> --remove-section=.note --strip-unneeded
> '/build/diskstation_2016-11-15/tmp/work/ppce500v2-amltd-linux-gnuspe/coreutils/8.25-r0/package/usr/lib/coreutils/libstdbuf.so''
> strip command failed with 1 (b'powerpc-amltd-linux-gnuspe-strip:
> /build/diskstation_2016-11-15/tmp/work/ppce500v2-amltd-linux-gnuspe/coreutils/8.25-r0/package/usr/lib/coreutils/std1tFcO:
> Not enough room for program headers, try linking with
> -N\npowerpc-amltd-linux-gnuspe-strip:/build/diskstation_2016-11-15/tmp/work/ppce500v2-amltd-linux-gnuspe/coreutils/8.25-r0/package/usr/lib/coreutils/std1tFcO[.note.gnu.build-id]:
> Bad value\n')
> ERROR: eudev-3.2-r0 do_package: runstrip: ''powerpc-amltd-linux-gnuspe-strip'
> --remove-section=.comment --remove-section=.note --strip-unneeded
> '/build/diskstation_2016-11-15/tmp/work/ppce500v2-amltd-linux-gnuspe/eudev/3.2-r0/package/lib/libudev.so.1.6.3''
> strip command failed with 1 (b'powerpc-amltd-linux-gnuspe-strip:
> /build/diskstation_2016-11-15/tmp/work/ppce500v2-amltd-linux-gnuspe/eudev/3.2-r0/package/lib/stxt1rac:
> Not enough room for program headers, try linking with
> -N\npowerpc-amltd-linux-gnuspe-strip:/build/diskstation_2016-11-15/tmp/work/ppce500v2-amltd-linux-gnuspe/eudev/3.2-r0/package/lib/stxt1rac[.note.gnu.build-id]:
> Bad value\n')
>
> Actually, I got 438 of them :-(
>
> Build Configuration:
> BB_VERSION = "1.32.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "universal"
> TARGET_SYS = "powerpc-amltd-linux-gnuspe"
> MACHINE = "p1022ds"
> DISTRO = "amltd"
> DISTRO_VERSION = "2.2+snapshot-20161115"
> TUNE_FEATURES = "m32 spe ppce500v2"
> TARGET_FPU = "ppc-efd"
> meta = "master:43e652f3d1fee5ce7fad67e6400315eab1b34270"
> meta-amltd = "master:697b2bc1467a311233f1da362aa4c8a2cccf52bf"
> meta-diskstation = "master:0839596be89af4da67fb7c5ab41337f1a382e5b5"
> meta-freescale = "master:979d079732949c49f7a859e93278287eb95fa056"
>
>
> Questions:
> * What's the best way to fix them? I assume it's just some
> compiler/binutils option I need to adjust. I tried comparing
> this build against the stock qemuppc, but it got no such errors
> and I don't see the difference (except for the CPU tuning of
> e500v2 vs 7400).
> * If these are labeled 'ERROR', why do the packages continue
> to be built? Indeed, I ended up with a complete build image
> (which I've not been able to test yet so I don't know if these
> errors actually break things)
>
> Thanks for any pointers
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161115/77ff18ed/attachment.pgp>
More information about the yocto
mailing list