gcc update and bug fix
cover gcc update and bug fix
This patchset does two things for gcc
1. Updates to latest from FSF gcc-4_6-branch
2. Backport the fix for PR46934
The changes that come from FSF gcc are listed here
http://sakrah.homelinux.org/files/gcc-4.6-ChangeLog-r180099_r180099.txt
3. Bluez4 needed glib.h therefore depend on glib-2.0
The following changes since commit 8bc098475f58b60bfb24ec0fd338e49ac2387c50:
gcc-4.6: Backport PR46934 fix (2011-10-17 18:00:29 -0700)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/gcc-update
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-update
Khem Raj (3):
bluez4: Add glib-2.0 to DEPENDS
gcc-4.6: Upgrade SRCREV to latest FSF 4.6 branch gcc-4.6: Backport PR46934 fix
meta/recipes-connectivity/bluez/bluez4.inc | 2 +- meta/recipes-connectivity/bluez/bluez4_4.96.bb | 2 +- meta/recipes-devtools/gcc/gcc-4.6.inc | 5 +- meta/recipes-devtools/gcc/gcc-4.6/pr46934.patch | 392 +++++++++++++++++++++++ 4 files changed, 397 insertions(+), 4 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-4.6/pr46934.patch
Signature · 1 line
1.7.5.4
PATCH 1/3 bluez4: Add glib-2.0 to DEPENDS
Fixes
| attrib/utils.c:25:18: fatal error: glib.h: No such file or directory | compilation terminated. | make[1]: *** [attrib/utils.o] Error 1 | make[1]: *** Waiting for unfinished jobs.... | attrib/interactive.c:27:18: fatal error: glib.h: No such file or directory | compilation terminated. | make[1]: *** [attrib/interactive.o] Error 1 | make: *** [all] Error 2
--- meta/recipes-connectivity/bluez/bluez4.inc | 2 +- meta/recipes-connectivity/bluez/bluez4_4.96.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-connectivity/bluez/bluez4.inc +1 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \ file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e \ file://sbc/sbc.c;beginline=1;endline=25;md5=1a40781ed30d50d8639323a184aeb191" -DEPENDS = "udev alsa-lib libusb dbus-glib" +DEPENDS = "udev alsa-lib libusb dbus-glib glib-2.0" RDEPENDS_${PN}-dev = "bluez-hcidump" ASNEEDED = ""
meta/recipes-connectivity/bluez/bluez4_4.96.bb +1 -1
@@ -1,6 +1,6 @@ require bluez4.inc -PR = "r3" +PR = "r4" SRC_URI += "file://bluetooth.conf"
Signature · 1 line
1.7.5.4
PATCH 2/3 gcc-4.6: Upgrade SRCREV to latest FSF 4.6 branch
--- meta/recipes-devtools/gcc/gcc-4.6.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-devtools/gcc/gcc-4.6.inc +1 -1
@@ -18,7 +18,7 @@ PV = "4.6.1+svnr${SRCPV}" BINV = "4.6.2" -SRCREV = 178924 +SRCREV = 180099 BRANCH = "gcc-4_6-branch" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.6' ], d)}"
Signature · 1 line
1.7.5.4
PATCH 3/3 gcc-4.6: Backport PR46934 fix
In reply to Khem RajWe have been hitting this issue on ARM/thumb and
have a workaround in place to compile samba
http://git.openembedded.org/openembedded/commit/recipes/samba/samba_3.2.15.bb?id=4ba7aa07c0dcd28f94515ff9927e2a04403fcf15
This backport should fix the gcc bug
--- meta/recipes-devtools/gcc/gcc-4.6.inc | 3 +- meta/recipes-devtools/gcc/gcc-4.6/pr46934.patch | 392 +++++++++++++++++++++++ 2 files changed, 394 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-4.6/pr46934.patch
meta/recipes-devtools/gcc/gcc-4.6.inc +2 -1
@@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r14" +PR = "r15" # Third digit in PV should be incremented after a minor release # happens from this branch on gcc e.g. currently its 4.6.0
@@ -69,6 +69,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \ file://powerpc-e5500.patch \ file://fix-for-ice-50099.patch \ file://gcc-with-linker-hash-style.patch \ + file://pr46934.patch \ " SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch "
meta/recipes-devtools/gcc/gcc-4.6/pr46934.patch new file +392 -0
392 lines not on this page · raw message
Signature · 1 line
1.7.5.4
Re: [PATCH 3/3] gcc-4.6: Backport PR46934 fix
Quoted 6 lines · Khem Raj
We have been hitting this issue on ARM/thumb and
have a workaround in place to compile samba
http://git.openembedded.org/openembedded/commit/recipes/samba/samba_3.2.15.bb?id=4ba7aa07c0dcd28f94515ff9927e2a04403fcf15
This backport should fix the gcc bugSigned-off-by Khem Raj <[email protected]>
I can confirm that samba build with this works again (without forcing ARM mode), I'm going to run more build tests with it but for now:
(holds also for 2/3)
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCH 3/3] gcc-4.6: Backport PR46934 fix
In reply to Khem RajOp 18 okt. 2011, om 03:39 heeft Khem Raj het volgende geschreven:
Quoted 4 lines
We have been hitting this issue on ARM/thumb and
have a workaround in place to compile samba
http://git.openembedded.org/openembedded/commit/recipes/samba/samba_3.2.15.bb?id=4ba7aa07c0dcd28f94515ff9927e2a04403fcf15
This backport should fix the gcc bug
Can I have a rough ETA when this is going into master? There are meta-oe patches depending on this. No rush, this is just to order my patch queue more intelligently :)
regards,
Koen
Re: [PATCH 3/3] gcc-4.6: Backport PR46934 fix
Quoted 10 lines · Koen Kooi
Op 18 okt. 2011, om 03:39 heeft Khem Raj het volgende geschreven:
Quoted 4 lines
We have been hitting this issue on ARM/thumb and
have a workaround in place to compile samba
http://git.openembedded.org/openembedded/commit/recipes/samba/samba_3.2.15.bb?id=4ba7aa07c0dcd28f94515ff9927e2a04403fcf15
This backport should fix the gcc bugCan I have a rough ETA when this is going into master? There are meta-oe patches depending on this. No rush, this is just to order my patch queue more intelligently :)
Koen,
We are working on it, I am doing builds with these changes to day and will submit a consolidated pull for tonight and if all goes well RP will pull tomorrow.
Sau!
Quoted 8 lines
regards,
Koen
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [PATCH 3/3] gcc-4.6: Backport PR46934 fix
Op 18 okt. 2011, om 18:47 heeft Saul Wold het volgende geschreven:
Quoted 9 lines · Koen Kooi
Quoted 8 lines
Op 18 okt. 2011, om 03:39 heeft Khem Raj het volgende geschreven:
Quoted 4 lines
We have been hitting this issue on ARM/thumb and
have a workaround in place to compile samba
http://git.openembedded.org/openembedded/commit/recipes/samba/samba_3.2.15.bb?id=4ba7aa07c0dcd28f94515ff9927e2a04403fcf15
This backport should fix the gcc bug
Quoted 5 lines
Quoted 2 lines
Can I have a rough ETA when this is going into master? There are meta-oe patches depending on this. No rush, this is just to order my patch queue more intelligently :)
Koen,
We are working on it, I am doing builds with these changes to day and will submit a consolidated pull for tonight and if all goes well RP will pull tomorrow.
Thanks! I'll check again after tomorrow :)
Saul Wold
AppliedQuoted 22 lines · Khem Raj
This patchset does two things for gcc
1. Updates to latest from FSF gcc-4_6-branch
2. Backport the fix for PR46934The changes that come from FSF gcc are listed here
http://sakrah.homelinux.org/files/gcc-4.6-ChangeLog-r180099_r180099.txt3. Bluez4 needed
glib.htherefore depend on glib-2.0The following changes since commit
8bc098475f58b60bfb24ec0fd338e49ac2387c50:gcc-4.6: Backport PR46934 fix (2011-10-17 18:00:29 -0700)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/gcc-update
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/gcc-updateKhem Raj (3):
bluez4: Add glib-2.0 to DEPENDS
gcc-4.6: Upgrade SRCREV to latest FSF 4.6 branch gcc-4.6: Backport PR46934 fix
Quoted 7 lines
meta/recipes-connectivity/bluez/bluez4.inc | 2 +- meta/recipes-connectivity/bluez/bluez4_4.96.bb | 2 +- meta/recipes-devtools/gcc/gcc-4.6.inc | 5 +- meta/recipes-devtools/gcc/gcc-4.6/pr46934.patch | 392 +++++++++++++++++++++++ 4 files changed, 397 insertions(+), 4 deletions(-)create mode 100644
meta/recipes-devtools/gcc/gcc-4.6/pr46934.patch
Merged into OE-Core
Thanks
Sau!