[oe] [PATCH] Fix staging of binutils static libraries

Khem Raj raj.khem at gmail.com
Tue Jun 23 06:08:21 UTC 2009


On Mon, Jun 22, 2009 at 8:55 PM, Tom Rini<trini at embeddedalley.com> wrote:
> On Fri, Jun 12, 2009 at 12:55:27PM -0700, Khem Raj wrote:
>> On Tuesday 05 May 2009 09:41:38 am Tom Rini wrote:
>> > binutils-cross: Stage libbfd/opcodes/iberty correctly, bump PR
>> >
>> > Changes the staging path for libbfd and libopcodes to ${CROSS_DIR}/lib.
>> > Disables staging native libiberty.a to ${STAGING_DIR_TARGET} as this doesn't
>> > make sense to do.  Cleans up empty directories.
>> >
>> > Signed-off-by: Nikita Shulga <nshulga at embeddedalley.com>
>> > Signed-off-by: Tom Rini <trini at embeddedalley.com>
> [snip]
>> seems ok. I hope you have tested it on 64 bit hosts as well.
>
> OK, found a problem.  gcc-configure-cross.inc's do_stage will go and
> delete the libiberty.a we put here, after overwriting it with
> libiberty.a from gcc.  There's a comment about wanting libiberty.a from
> binutils.  Anyone recall why?

IIRC both libraries were not same and some programs (e.g. ksymoops) used
binutils provided library. That may not be the case anymore now you
have to check
I think avoiding to package static library would be an option to consider.

>
> --
> Tom Rini
>




More information about the Openembedded-devel mailing list