bugfix for bug#754
cover bugfix for bug#754
From: Nitin A Kamble <[email protected]>
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: nitin/misc
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc
Thanks,
Nitin A Kamble <[email protected]>
---
Nitin A Kamble (1):
gcc: take out libiberty files from gcc packages
.../gcc/gcc-cross-initial_4.5.1.bb | 2 +- .../gcc/gcc-cross-intermediate.inc | 3 ++- .../gcc/gcc-cross-intermediate_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb | 2 +- .../gcc/gcc-crosssdk-initial_4.5.1.bb | 2 +- .../gcc/gcc-crosssdk-intermediate_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-package-cross.inc | 4 ++++ meta/recipes-devtools/gcc/gcc-package-target.inc | 4 ++++ meta/recipes-devtools/gcc/gcc_4.5.1.bb | 2 +- 10 files changed, 17 insertions(+), 8 deletions(-)
Signature · 1 line
1.7.2.2
PATCH 1/1 gcc: take out libiberty files from gcc packages
From: Nitin A Kamble <[email protected]>
this Fixes [BUGID #754]
--- .../gcc/gcc-cross-initial_4.5.1.bb | 2 +- .../gcc/gcc-cross-intermediate.inc | 3 ++- .../gcc/gcc-cross-intermediate_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb | 2 +- .../gcc/gcc-crosssdk-initial_4.5.1.bb | 2 +- .../gcc/gcc-crosssdk-intermediate_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-package-cross.inc | 4 ++++ meta/recipes-devtools/gcc/gcc-package-target.inc | 4 ++++ meta/recipes-devtools/gcc/gcc_4.5.1.bb | 2 +- 10 files changed, 17 insertions(+), 8 deletions(-)
meta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb +1 -1
@@ -1,5 +1,5 @@ require gcc-cross_${PV}.bb require gcc-cross-initial.inc -PR = "r2" +PR = "r3"
meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +2 -1
@@ -35,7 +35,8 @@ do_install () { rm -rf ${D}${datadir}/ # We use libiberty from binutils - rm -f ${D}${exec_prefix}/lib/lib/libiberty.a + find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f + find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are # found. These need to be relative paths so they work in different locations.
meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb +1 -1
@@ -1,4 +1,4 @@ require gcc-cross_${PV}.bb require gcc-cross-intermediate.inc -PR = "r3" +PR = "r4"
meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb +1 -1
@@ -1,4 +1,4 @@ -PR = "r2" +PR = "r3" require gcc-${PV}.inc require gcc-cross4.inc
meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb +1 -1
@@ -1,4 +1,4 @@ require gcc-cross-initial_${PV}.bb require gcc-crosssdk-initial.inc -PR = "r2" +PR = "r3"
meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb +1 -1
@@ -1,4 +1,4 @@ require gcc-cross-intermediate_${PV}.bb require gcc-crosssdk-intermediate.inc -PR = "r2" +PR = "r3"
meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb +1 -1
@@ -1,4 +1,4 @@ require gcc-cross_${PV}.bb require gcc-crosssdk.inc -PR = "r2" +PR = "r3"
meta/recipes-devtools/gcc/gcc-package-cross.inc +4 -0
@@ -27,6 +27,10 @@ do_install () { rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/$d done + # We use libiberty from binutils + find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f + find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f + # gcc-runtime installs libgcc into a special location in staging since it breaks doing a standalone build if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then dest=${D}/${includedir}/gcc-build-internal-${MULTIMACH_TARGET_SYS}
meta/recipes-devtools/gcc/gcc-package-target.inc +4 -0
@@ -86,6 +86,10 @@ do_install () { # We don't care about the gcc-<version> ones for this rm -f *gcc-?.?* + # We use libiberty from binutils + find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f + find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f + # Symlinks so we can use these trivially on the target ln -sf ${TARGET_SYS}-g77 g77 || true ln -sf ${TARGET_SYS}-gfortran gfortran || true
meta/recipes-devtools/gcc/gcc_4.5.1.bb +1 -1
@@ -1,4 +1,4 @@ -PR = "r2" +PR = "r3" require gcc-${PV}.inc require gcc-configure-target.inc require gcc-package-target.inc
Signature · 1 line
1.7.2.2
Re: [PATCH 1/1] gcc: take out libiberty files from gcc packages
Quoted 36 lines · Nitin A Kamble
From: Nitin A Kamble <[email protected]>
this Fixes [BUGID #754]
Signed-off-by Nitin A Kamble <[email protected]>---
.../gcc/gcc-cross-initial_4.5.1.bb | 2 +- .../gcc/gcc-cross-intermediate.inc | 3 ++- .../gcc/gcc-cross-intermediate_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb | 2 +- .../gcc/gcc-crosssdk-initial_4.5.1.bb | 2 +- .../gcc/gcc-crosssdk-intermediate_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-package-cross.inc | 4 ++++ meta/recipes-devtools/gcc/gcc-package-target.inc | 4 ++++ meta/recipes-devtools/gcc/gcc_4.5.1.bb | 2 +-10 files changed, 17 insertions(+), 8 deletions(-)meta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb +0
-0@@ -1,5 +1,5 @@require gcc-cross_${PV}.bb
require gcc-cross-initial.incmeta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb +1
-1-PR = "r2" +PR = "r3"meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +0
-0@@ -35,7 +35,8 @@ do_install () {rm -rf ${D}${datadir}/
Quoted 5 lines
# We use libiberty from binutils
- rm -f ${D}${exec_prefix}/lib/lib/libiberty.a
+ find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
+ find -namelibiberty.h${D}${exec_prefix}/lib | xargs rm -f
why find ? Dont you have paths known to these files. ?
Quoted 100 lines
# Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
# found. These need to be relative paths so they work in different locations.meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb +0
-0@@ -1,4 +1,4 @@require gcc-cross_${PV}.bb
require gcc-cross-intermediate.incmeta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb +1
-1-PR = "r3" +PR = "r4"meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb +1
-1@@ -1,4 +1,4 @@ -PR = "r2" +PR = "r3"require gcc-${PV}.inc
require gcc-cross4.incmeta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb +0
-0@@ -1,4 +1,4 @@require gcc-cross-initial_${PV}.bb
require gcc-crosssdk-initial.incmeta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb +1
-1-PR = "r2" +PR = "r3"meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb +0
-0@@ -1,4 +1,4 @@require gcc-cross-intermediate_${PV}.bb
require gcc-crosssdk-intermediate.incmeta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb +1
-1-PR = "r2" +PR = "r3"meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb +0
-0@@ -1,4 +1,4 @@require gcc-cross_${PV}.bb
require gcc-crosssdk.incmeta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb +1
-1-PR = "r2" +PR = "r3"meta/recipes-devtools/gcc/gcc-package-cross.inc +0
-0@@ -27,6 +27,10 @@ do_install () {rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/$d done
+ # We use libiberty from binutils
+ find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
+ find -namelibiberty.h${D}${exec_prefix}/lib | xargs rm -f +# gcc-runtime installs libgcc into a special location in staging since it breaks doing a standalone build if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then dest=${D}/${includedir}/gcc-build-internal-${MULTIMACH_TARGET_SYS}meta/recipes-devtools/gcc/gcc-package-target.inc +0
-0@@ -86,6 +86,10 @@ do_install () { # We don't care about the gcc-<version> ones for thisrm -f *gcc-?.?*
+ # We use libiberty from binutils
+ find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
+ find -namelibiberty.h${D}${exec_prefix}/lib | xargs rm -f +
# Symlinks so we can use these trivially on the target ln -sf ${TARGET_SYS}-g77 g77 || true
ln -sf ${TARGET_SYS}-gfortran gfortran || truemeta/recipes-devtools/gcc/gcc_4.5.1.bb +1
-1@@ -1,4 +1,4 @@ -PR = "r2" +PR = "r3"require gcc-${PV}.inc
require gcc-configure-target.inc
require gcc-package-target.inc
--
1.7.2.2_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Re: [PATCH 1/1] gcc: take out libiberty files from gcc packages
Quoted 50 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Tuesday, March 01, 2011 3:19 PM
To: Kamble, Nitin A
Cc: [email protected]
Subject: Re: [poky] [PATCH 1/1] gcc: take out libiberty files from gcc packagesQuoted 16 lines · Nitin A Kamble
From: Nitin A Kamble <[email protected]>
this Fixes [BUGID #754]
Signed-off-by Nitin A Kamble <[email protected]>---
.../gcc/gcc-cross-initial_4.5.1.bb | 2 +- .../gcc/gcc-cross-intermediate.inc | 3 ++- .../gcc/gcc-cross-intermediate_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb | 2 +- .../gcc/gcc-crosssdk-initial_4.5.1.bb | 2 +- .../gcc/gcc-crosssdk-intermediate_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-package-cross.inc | 4 ++++ meta/recipes-devtools/gcc/gcc-package-target.inc | 4 ++++ meta/recipes-devtools/gcc/gcc_4.5.1.bb | 2 +-Review
Quoted 3 lines
10 files changed, 17 insertions(+), 8 deletions(-)(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb
Review
Quoted 11 lines
index b2c257d..38e0964 100644
meta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb +0
-0@@ -1,5 +1,5 @@require gcc-cross_${PV}.bb
require gcc-cross-initial.incmeta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb +1
-1-PR = "r2" +PR = "r3"(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
Quoted 6 lines
index 2e5283d..92c3ce2 100644
meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +0
-0@@ -35,7 +35,8 @@ do_install () {rm -rf ${D}${datadir}/
Quoted 7 lines
Quoted 5 lines
# We use libiberty from binutils
- rm -f ${D}${exec_prefix}/lib/lib/libiberty.a
+ find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
+ find -namelibiberty.h${D}${exec_prefix}/lib | xargs rm -fwhy find ? Dont you have paths known to these files. ?
Khem,
This is because I noticed paths variations like lib/lib/libiberty.alib/lib64/libiberty.a on different machines/arches. And wanted to address them all in one shot.
Thanks,
Nitin
Quoted 117 lines
Quoted 3 lines
# Insert symlinks into libexec so when tools without a prefix
are searched for, the correct ones are
Quoted 1 line
# found. These need to be relative paths so they work indifferent locations.
Review
Quoted 1 line
(quoted diff) +0
-0intermediate_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-cross- intermediate_4.5.1.bb
Review
Quoted 10 lines
index e65d5df..9a30cb5 100644
meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb +0
-0@@ -1,4 +1,4 @@require gcc-cross_${PV}.bb
require gcc-cross-intermediate.incmeta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb +1
-1-PR = "r3" +PR = "r4"(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb
Review
Quoted 10 lines
index 399cdf9..78bb05a 100644
meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb +1
-1@@ -1,4 +1,4 @@ -PR = "r2" +PR = "r3"require gcc-${PV}.inc
require gcc-cross4.inc(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb
Review
Quoted 10 lines
index 240caf5..fec53b9 100644
meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb +0
-0@@ -1,4 +1,4 @@require gcc-cross-initial_${PV}.bb
require gcc-crosssdk-initial.incmeta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb +1
-1-PR = "r2" +PR = "r3"(quoted diff) +0
-0intermediate_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-crosssdk- intermediate_4.5.1.bb
Review
Quoted 10 lines
index a6653dd..161d870 100644
meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb +0
-0@@ -1,4 +1,4 @@require gcc-cross-intermediate_${PV}.bb
require gcc-crosssdk-intermediate.incmeta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb +1
-1-PR = "r2" +PR = "r3"(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb
Review
Quoted 10 lines
index 129e8d3..7069088 100644
meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb +0
-0@@ -1,4 +1,4 @@require gcc-cross_${PV}.bb
require gcc-crosssdk.incmeta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb +1
-1-PR = "r2" +PR = "r3"(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-package-cross.inc
Quoted 7 lines
index 4f902fa..04c8101 100644
meta/recipes-devtools/gcc/gcc-package-cross.inc +0
-0@@ -27,6 +27,10 @@ do_install () {rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/$d done
Quoted 5 lines
+ # We use libiberty from binutils
+ find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
+ find -namelibiberty.h${D}${exec_prefix}/lib | xargs rm -f +# gcc-runtime installs libgcc into a special location instaging since it breaks doing a standalone build
Quoted 1 line
if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ];
then
Quoted 1 line
dest=${D}/${includedir}/gcc-build-internal-
${MULTIMACH_TARGET_SYS}
Review
Quoted 1 line
(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-package-target.inc
meta/recipes-
Quoted 15 lines
index 3286da6..d61e96b 100644
meta/recipes-devtools/gcc/gcc-package-target.inc +0
-0@@ -86,6 +86,10 @@ do_install () { # We don't care about the gcc-<version> ones for thisrm -f *gcc-?.?*
+ # We use libiberty from binutils
+ find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
+ find -namelibiberty.h${D}${exec_prefix}/lib | xargs rm -f +
# Symlinks so we can use these trivially on the target ln -sf ${TARGET_SYS}-g77 g77 || true
ln -sf ${TARGET_SYS}-gfortran gfortran || truemeta/recipes- renamed from meta/recipes-devtools/gcc/gcc_4.5.1.bb +0
-0devtools/gcc/gcc_4.5.1.bb
Quoted 17 lines
index 919d4b0..25e455c 100644
meta/recipes-devtools/gcc/gcc_4.5.1.bb +1
-1@@ -1,4 +1,4 @@ -PR = "r2" +PR = "r3"require gcc-${PV}.inc
require gcc-configure-target.inc
require gcc-package-target.inc
--
1.7.2.2_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Re: [PATCH 1/1] gcc: take out libiberty files from gcc packages
Quoted 59 lines · Nitin A
Quoted 50 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Tuesday, March 01, 2011 3:19 PM
To: Kamble, Nitin A
Cc: [email protected]
Subject: Re: [poky] [PATCH 1/1] gcc: take out libiberty files from gcc packagesQuoted 16 lines · Nitin A Kamble
From: Nitin A Kamble <[email protected]>
this Fixes [BUGID #754]
Signed-off-by Nitin A Kamble <[email protected]>---
.../gcc/gcc-cross-initial_4.5.1.bb | 2 +- .../gcc/gcc-cross-intermediate.inc | 3 ++- .../gcc/gcc-cross-intermediate_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb | 2 +- .../gcc/gcc-crosssdk-initial_4.5.1.bb | 2 +- .../gcc/gcc-crosssdk-intermediate_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-package-cross.inc | 4 ++++ meta/recipes-devtools/gcc/gcc-package-target.inc | 4 ++++ meta/recipes-devtools/gcc/gcc_4.5.1.bb | 2 +-Review
Quoted 3 lines
10 files changed, 17 insertions(+), 8 deletions(-)(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb
Review
Quoted 11 lines
index b2c257d..38e0964 100644
meta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb +0
-0@@ -1,5 +1,5 @@require gcc-cross_${PV}.bb
require gcc-cross-initial.incmeta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb +1
-1-PR = "r2" +PR = "r3"(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
Quoted 6 lines
index 2e5283d..92c3ce2 100644
meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +0
-0@@ -35,7 +35,8 @@ do_install () {rm -rf ${D}${datadir}/
Quoted 7 lines
Quoted 5 lines
# We use libiberty from binutils
- rm -f ${D}${exec_prefix}/lib/lib/libiberty.a
+ find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
+ find -namelibiberty.h${D}${exec_prefix}/lib | xargs rm -fwhy find ? Dont you have paths known to these files. ?
Quoted 5 lines
Khem,
This is because I noticed paths variations likelib/lib/libiberty.alib/lib64/libiberty.aon different machines/arches. And wanted to address them all in one shot.
IMO being specific is always better and it will have some performance hit with find
Quoted 121 lines
Thanks,
NitinQuoted 117 lines
Quoted 3 lines
# Insert symlinks into libexec so when tools without a prefix
are searched for, the correct ones are
Quoted 1 line
# found. These need to be relative paths so they work indifferent locations.
Review
Quoted 1 line
(quoted diff) +0
-0intermediate_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-cross- intermediate_4.5.1.bb
Review
Quoted 10 lines
index e65d5df..9a30cb5 100644
meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb +0
-0@@ -1,4 +1,4 @@require gcc-cross_${PV}.bb
require gcc-cross-intermediate.incmeta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb +1
-1-PR = "r3" +PR = "r4"(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb
Review
Quoted 10 lines
index 399cdf9..78bb05a 100644
meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb +1
-1@@ -1,4 +1,4 @@ -PR = "r2" +PR = "r3"require gcc-${PV}.inc
require gcc-cross4.inc(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb
Review
Quoted 10 lines
index 240caf5..fec53b9 100644
meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb +0
-0@@ -1,4 +1,4 @@require gcc-cross-initial_${PV}.bb
require gcc-crosssdk-initial.incmeta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb +1
-1-PR = "r2" +PR = "r3"(quoted diff) +0
-0intermediate_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-crosssdk- intermediate_4.5.1.bb
Review
Quoted 10 lines
index a6653dd..161d870 100644
meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb +0
-0@@ -1,4 +1,4 @@require gcc-cross-intermediate_${PV}.bb
require gcc-crosssdk-intermediate.incmeta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb +1
-1-PR = "r2" +PR = "r3"(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb
Review
Quoted 10 lines
index 129e8d3..7069088 100644
meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb +0
-0@@ -1,4 +1,4 @@require gcc-cross_${PV}.bb
require gcc-crosssdk.incmeta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb +1
-1-PR = "r2" +PR = "r3"(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-package-cross.inc
Quoted 7 lines
index 4f902fa..04c8101 100644
meta/recipes-devtools/gcc/gcc-package-cross.inc +0
-0@@ -27,6 +27,10 @@ do_install () {rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/$d done
Quoted 5 lines
+ # We use libiberty from binutils
+ find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
+ find -namelibiberty.h${D}${exec_prefix}/lib | xargs rm -f +# gcc-runtime installs libgcc into a special location instaging since it breaks doing a standalone build
Quoted 1 line
if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ];
then
Quoted 1 line
dest=${D}/${includedir}/gcc-build-internal-
${MULTIMACH_TARGET_SYS}
Review
Quoted 1 line
(quoted diff) +0
-0b/meta/recipes-devtools/gcc/gcc-package-target.inc
meta/recipes-
Quoted 15 lines
index 3286da6..d61e96b 100644
meta/recipes-devtools/gcc/gcc-package-target.inc +0
-0@@ -86,6 +86,10 @@ do_install () { # We don't care about the gcc-<version> ones for thisrm -f *gcc-?.?*
+ # We use libiberty from binutils
+ find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
+ find -namelibiberty.h${D}${exec_prefix}/lib | xargs rm -f +
# Symlinks so we can use these trivially on the target ln -sf ${TARGET_SYS}-g77 g77 || true
ln -sf ${TARGET_SYS}-gfortran gfortran || truemeta/recipes- renamed from meta/recipes-devtools/gcc/gcc_4.5.1.bb +0
-0devtools/gcc/gcc_4.5.1.bb
Quoted 17 lines
index 919d4b0..25e455c 100644
meta/recipes-devtools/gcc/gcc_4.5.1.bb +1
-1@@ -1,4 +1,4 @@ -PR = "r2" +PR = "r3"require gcc-${PV}.inc
require gcc-configure-target.inc
require gcc-package-target.inc
--
1.7.2.2_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Saul Wold
AppliedQuoted 14 lines · Nitin A Kamble
From: Nitin A Kamble<[email protected]>
Pull URL:
git://git.pokylinux.org/poky-contrib.git
Branch: nitin/misc
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/miscThanks,
Nitin A Kamble<[email protected]>
---Nitin A Kamble (1):
gcc: take out libiberty files from gcc packages
Quoted 12 lines
.../gcc/gcc-cross-initial_4.5.1.bb | 2 +- .../gcc/gcc-cross-intermediate.inc | 3 ++- .../gcc/gcc-cross-intermediate_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb | 2 +- .../gcc/gcc-crosssdk-initial_4.5.1.bb | 2 +- .../gcc/gcc-crosssdk-intermediate_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb | 2 +- meta/recipes-devtools/gcc/gcc-package-cross.inc | 4 ++++ meta/recipes-devtools/gcc/gcc-package-target.inc | 4 ++++ meta/recipes-devtools/gcc/gcc_4.5.1.bb | 2 +- 10 files changed, 17 insertions(+), 8 deletions(-)
Merged into Bernard, OE-Core and Master
Thanks
Sau!