[oe] [PATCH] gcc: Remove package libstdc++-dev and libgcc-dev from gcc-cross

Stefan Herbrechtsmeier sherbrec at cit-ec.uni-bielefeld.de
Wed Aug 31 07:41:53 UTC 2011


Am 30.08.2011 22:34, schrieb Paul Menzel:
> Am Dienstag, den 30.08.2011, 16:29 +0200 schrieb Stefan Herbrechtsmeier:
>> Remove package libstdc++-dev and libgcc-dev from gcc-cross as they
>> already provided by gcc.
>>
>> Commit 8c42351519ece9ed60659a103e624d2e154b3641 add dev packages
>> (libstdc++-dev libgcc-dev) to gcc-cross (gcc-package-cross.inc)
>> which are already part of gcc. The libgcc-dev package both include
>> the libgcc_s.so file which triggers a 'file is already provided by
>> package' error on incremental builds. The libstdc++-dev package have
>> different content and is empty on some archs (armv5te, armv7e).
>> The empty package triggers a 'Cannot satisfy the following
>> dependencies for task-sdk-bare' error. If an empty libstdc++-dev
>> package is generated it triggers a '..../usr/include/c++ not exist'
>> error as this is part of the package from gcc but not gcc-cross.
>>
>> Signed-off-by: Stefan Herbrechtsmeier<sherbrec at cit-ec.uni-bielefeld.de>
>> ---
>>   recipes/gcc/gcc-4.3.3.inc         |    2 +-
>>   recipes/gcc/gcc-4.5.inc           |    2 +-
>>   recipes/gcc/gcc-package-cross.inc |    4 +---
>>   3 files changed, 3 insertions(+), 5 deletions(-)
> So does that patch revert commit 8c423515?
Not complete, it leaves the gcc change in gcc-package-target.inc 
untouched and
although keeps the move of the gdb python helpers in gcc-package-cross.inc
but don't ship them in any package. This keeps the intention of the commit
and only fix the fault of adding dev packages to gcc-cross.





More information about the Openembedded-devel mailing list