Skip to contentSkip to conversation

gcc-4.7: Update to tip of gcc-4_7-branch since 4.7.1 has been out

PATCH Applied Khem Raj 2 participants 4 messages Jun 19, 2012 – Jun 23, 2012

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gcc-4.7: Update to tip of gcc-4_7-branch since 4.7.1 has been out

---
 meta/recipes-devtools/gcc/gcc-4.7.inc |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
meta/recipes-devtools/gcc/gcc-4.7.inc +6 -6
index 34a73b1..25a1088 100644
@@ -3,12 +3,12 @@ require gcc-common.inc
 PR = "r2"
 
 # Third digit in PV should be incremented after a minor release
-# happens from this branch on gcc e.g. currently its 4.7.0
-# when 4.7.1 is releases and we bump SRCREV beyond the release
-# on branch then PV should be incremented to 4.7.1+svnr${SRCPV}
+# happens from this branch on gcc e.g. currently its 4.7.1
+# when 4.7.2 is releases and we bump SRCREV beyond the release
+# on branch then PV should be incremented to 4.7.2+svnr${SRCPV}
 # to reflect that change
 
-PV = "4.7.0+svnr${SRCPV}"
+PV = "4.7.1+svnr${SRCPV}"
 
 # BINV should be incremented after updating to a revision
 # after a minor gcc release (e.g. 4.7.1 or 4.7.2) has been made
@@ -16,9 +16,9 @@ PV = "4.7.0+svnr${SRCPV}"
 # 4.7.1 then the value below will have 2 which will mean 4.7.2
 # which will be next minor release and so on.
 
-BINV = "4.7.1"
+BINV = "4.7.2"
 
-SRCREV = "186651"
+SRCREV = "188658"
 BRANCH = "gcc-4_7-branch"
 FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}"
 
Signature · 1 line
1.7.5.4
Applied
#1 lore raw
Quoted 28 lines · Khem Raj
---
  meta/recipes-devtools/gcc/gcc-4.7.inc |   12 ++++++------
  1 files changed, 6 insertions(+), 6 deletions(-)
meta/recipes-devtools/gcc/gcc-4.7.inc +4 -4
index 34a73b1..25a1088 100644
@@ -3,12 +3,12 @@ require gcc-common.inc
  PR = "r2"
 
  # Third digit in PV should be incremented after a minor release
-# happens from this branch on gcc e.g. currently its 4.7.0
-# when 4.7.1 is releases and we bump SRCREV beyond the release
-# on branch then PV should be incremented to 4.7.1+svnr${SRCPV}
+# happens from this branch on gcc e.g. currently its 4.7.1
+# when 4.7.2 is releases and we bump SRCREV beyond the release
+# on branch then PV should be incremented to 4.7.2+svnr${SRCPV}
  # to reflect that change
 
-PV = "4.7.0+svnr${SRCPV}"
+PV = "4.7.1+svnr${SRCPV}"
 
  # BINV should be incremented after updating to a revision
  # after a minor gcc release (e.g. 4.7.1 or 4.7.2) has been made
@@ -16,9 +16,9 @@ PV = "4.7.0+svnr${SRCPV}"
  # 4.7.1 then the value below will have 2 which will mean 4.7.2

meta/recipes-devtools/gcc/gcc-4.7.inc PV = "4.7.0+svnr${SRCPV}" · line 24

Quoted 10 lines
meta/recipes-devtools/gcc/gcc-4.7.inc +2 -2
  # which will be next minor release and so on.
 
-BINV = "4.7.1"
+BINV = "4.7.2"
 
-SRCREV = "186651"
+SRCREV = "188658"
  BRANCH = "gcc-4_7-branch"
  FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}"
 

Merged into OE-Core

Thanks
Sau!

#2 lore raw
In reply to Khem Raj
Quoted 27 lines · Khem Raj
---
  meta/recipes-devtools/gcc/gcc-4.7.inc |   12 ++++++------
  1 files changed, 6 insertions(+), 6 deletions(-)
meta/recipes-devtools/gcc/gcc-4.7.inc +4 -4
index 34a73b1..25a1088 100644
@@ -3,12 +3,12 @@ require gcc-common.inc
  PR = "r2"
 
  # Third digit in PV should be incremented after a minor release
-# happens from this branch on gcc e.g. currently its 4.7.0
-# when 4.7.1 is releases and we bump SRCREV beyond the release
-# on branch then PV should be incremented to 4.7.1+svnr${SRCPV}
+# happens from this branch on gcc e.g. currently its 4.7.1
+# when 4.7.2 is releases and we bump SRCREV beyond the release
+# on branch then PV should be incremented to 4.7.2+svnr${SRCPV}
  # to reflect that change
 
-PV = "4.7.0+svnr${SRCPV}"
+PV = "4.7.1+svnr${SRCPV}"
 
  # BINV should be incremented after updating to a revision
  # after a minor gcc release (e.g. 4.7.1 or 4.7.2) has been made

meta/recipes-devtools/gcc/gcc-4.7.inc PV = "4.7.0+svnr${SRCPV}" · line 20

Quoted 6 lines
meta/recipes-devtools/gcc/gcc-4.7.inc +1 -1
@@ -16,9 +16,9 @@ PV = "4.7.0+svnr${SRCPV}"
  # 4.7.1 then the value below will have 2 which will mean 4.7.2
  # which will be next minor release and so on.
 
-BINV = "4.7.1"
+BINV = "4.7.2"
 

I merged this and had tested it on the Autobuilder, but I just tried another build locally and got a grouping of failures that may have used sstate because they failed do_compile:
/srv/ssd/sgw_ab/poky/meta/recipes-extended/newt/libnewt_0.52.14.bb,
do_compile
/srv/ssd/sgw_ab/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb,
do_compile
/srv/ssd/sgw_ab/poky/meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb,
do_compile

/srv/ssd/sgw_ab/poky/meta/recipes-extended/logrotate/logrotate_3.8.1.bb, do_compile
/srv/ssd/sgw_ab/poky/meta/recipes-kernel/kexec/kexec-tools_2.0.3.bb,
do_compile

/srv/ssd/sgw_ab/poky/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb, do_compile

/srv/ssd/sgw_ab/poky/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb, do_compile
/srv/ssd/sgw_ab/poky/meta/recipes-devtools/apt/apt_0.7.14.bb, do_compile

The failure was:
| make: *** No rule to make target /srv/ssd/sgw_ab/builds/repack/tmp/sysroots/x86_64-linux/usr/lib/i586-poky-linux/gcc/i586-poky-linux/4.7.1/include/stddef.h', needed by logrotate.o'. Stop.

Note the 4.7.1!

A clean solved the issue, so I am not sure where it's picking up the 4.7.1 from during the do_configure.

More investigation is required!

Sau!

Quoted 5 lines
meta/recipes-devtools/gcc/gcc-4.7.inc +1 -1
-SRCREV = "186651"
+SRCREV = "188658"
  BRANCH = "gcc-4_7-branch"
  FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}"
 
author
#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 28 lines · Saul Wold
Quoted 27 lines · Khem Raj

meta/recipes-devtools/gcc/gcc-4.7.inc | 12 ++++++------ 1 files
changed, 6 insertions(+), 6 deletions(-)

(quoted diff) +0 -0

b/meta/recipes-devtools/gcc/gcc-4.7.inc index 34a73b1..25a1088 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7.inc +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc @@ -3,12 +3,12 @@ require gcc-common.inc PR = "r2"

# Third digit in PV should be incremented after a minor release -# happens from this branch on gcc e.g. currently its 4.7.0 -# when 4.7.1 is releases and we bump SRCREV beyond the release -# on branch then PV should be incremented to 4.7.1+svnr${SRCPV} +# happens from this branch on gcc e.g. currently its 4.7.1 +# when 4.7.2 is releases and we bump SRCREV beyond the release +# on branch then PV should be incremented to 4.7.2+svnr${SRCPV} # to reflect that change

-PV = "4.7.0+svnr${SRCPV}" +PV = "4.7.1+svnr${SRCPV}"

# BINV should be incremented after updating to a revision # after a minor gcc release (e.g. 4.7.1 or 4.7.2) has been made @@ -16,9 +16,9 @@ PV = "4.7.0+svnr${SRCPV}" # 4.7.1 then the value below will have 2 which will mean 4.7.2 # which will be next minor release and so on.

Quoted 8 lines
Quoted 2 lines

-BINV = "4.7.1" +BINV = "4.7.2"

I merged this and had tested it on the Autobuilder, but I just tried another build locally and got a grouping of failures that may have used sstate because they failed do_compile:
/srv/ssd/sgw_ab/poky/meta/recipes-extended/newt/libnewt_0.52.14.bb,

do_compile

Quoted 5 lines

/srv/ssd/sgw_ab/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile /srv/ssd/sgw_ab/poky/meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb,

do_compile

Quoted 4 lines

/srv/ssd/sgw_ab/poky/meta/recipes-extended/logrotate/logrotate_3.8.1.bb,

do_compile

Quoted 3 lines

/srv/ssd/sgw_ab/poky/meta/recipes-kernel/kexec/kexec-tools_2.0.3.bb,

do_compile

Quoted 4 lines

/srv/ssd/sgw_ab/poky/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb,

do_compile

Quoted 4 lines

/srv/ssd/sgw_ab/poky/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb,

do_compile

Quoted 8 lines

/srv/ssd/sgw_ab/poky/meta/recipes-devtools/apt/apt_0.7.14.bb, do_compile

The failure was: | make: *** No rule to make target `/srv/ssd/sgw_ab/builds/repack/tmp/sysroots/x86_64-linux/usr/lib/i586-poky-linux/gcc/i586-poky-linux/4.7.1/include/stddef.h',

needed by `logrotate.o'. Stop.

Quoted 8 lines

Note the 4.7.1!

A clean solved the issue, so I am not sure where it's picking up the 4.7.1 from during the do_configure.

More investigation is required!

sstate for these packages should have been invalidated. I wonder if this header path is being added to makefile rules when they are generated first time but then it escapes the hash calculations when doing sstate checksumming

Quoted 9 lines

Sau!

Quoted 4 lines

-SRCREV = "186651" +SRCREV = "188658" BRANCH = "gcc-4_7-branch" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/lRJkACgkQuwUzVZGdMxTVpwCfRP+X+vR3KDpLA6LKra/70dhy ad8AoImd9xian0gRV74yPx17jlt8TiWF
=E/5h
-----END PGP SIGNATURE-----