Patchwork gcc: Upgrade to 4.8.1

login
register
mail settings
Submitter Khem Raj
Date June 11, 2013, 9:57 p.m.
Message ID <1370987869-19041-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/51565/
State Accepted
Commit a6daa838df06ea97a9fc29861dae95ee80a0d512
Headers show

Comments

Khem Raj - June 11, 2013, 9:57 p.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/gcc/gcc-4.8.inc |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Saul Wold - June 13, 2013, 5:12 p.m.
On 06/11/2013 02:57 PM, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>   meta/recipes-devtools/gcc/gcc-4.8.inc |    8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-4.8.inc b/meta/recipes-devtools/gcc/gcc-4.8.inc
> index 80bd02c..6664f1c 100644
> --- a/meta/recipes-devtools/gcc/gcc-4.8.inc
> +++ b/meta/recipes-devtools/gcc/gcc-4.8.inc
> @@ -6,7 +6,7 @@ require gcc-common.inc
>   # on branch then PV should be incremented to 4.7.2+svnr${SRCPV}
>   # to reflect that change
>
> -PV = "4.8.0"
> +PV = "4.8.1"
>

Khem, Otavio:

Not sure if it was this change or 4.8 in general, but there are a number 
of failures in the FSL-ARM and FSL-PPC builds:

PPC Issues (gettext / mfpr):
http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-ppc/builds/141/steps/Building%20Images/logs/stdio
http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-ppc-lsb/builds/139/steps/Building%20Images/logs/stdio

ARM Issues (both in perf):
http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-arm/builds/140/steps/Building%20Images/logs/stdio

Can one or both of you look into this.

Thanks
	Sau!


>   # 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
> @@ -14,7 +14,7 @@ PV = "4.8.0"
>   # 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.8.0"
> +BINV = "4.8.1"
>
>   FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.8' ], d)}"
>
> @@ -68,8 +68,8 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
>   	   file://gcc-4.8-PR56797.patch \
>   	   file://gcc-4.8-build-args.patch \
>   	  "
> -SRC_URI[md5sum] = "e6040024eb9e761c3bea348d1fa5abb0"
> -SRC_URI[sha256sum] = "b037fe5132b71ecad2ea7141ec92292b5d32427bf90fd90cde432b1d5abacc2c"
> +SRC_URI[md5sum] = "3b2386c114cd74185aa3754b58a79304"
> +SRC_URI[sha256sum] = "545b44be3ad9f2c4e90e6880f5c9d4f0a8f0e5f67e1ffb0d45da9fa01bb05813"
>
>   S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
>   B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
>
Khem Raj - June 13, 2013, 7:43 p.m.
On Jun 13, 2013, at 10:12 AM, Saul Wold <sgw@linux.intel.com> wrote:

> On 06/11/2013 02:57 PM, Khem Raj wrote:
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  meta/recipes-devtools/gcc/gcc-4.8.inc |    8 ++++----
>>  1 file changed, 4 insertions(+), 4 deletions(-)
>> 
>> diff --git a/meta/recipes-devtools/gcc/gcc-4.8.inc b/meta/recipes-devtools/gcc/gcc-4.8.inc
>> index 80bd02c..6664f1c 100644
>> --- a/meta/recipes-devtools/gcc/gcc-4.8.inc
>> +++ b/meta/recipes-devtools/gcc/gcc-4.8.inc
>> @@ -6,7 +6,7 @@ require gcc-common.inc
>>  # on branch then PV should be incremented to 4.7.2+svnr${SRCPV}
>>  # to reflect that change
>> 
>> -PV = "4.8.0"
>> +PV = "4.8.1"
>> 
> 
> Khem, Otavio:
> 
> Not sure if it was this change or 4.8 in general, but there are a number of failures in the FSL-ARM and FSL-PPC builds:
> 
> PPC Issues (gettext / mfpr):
> http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-ppc/builds/141/steps/Building%20Images/logs/stdio
> http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-ppc-lsb/builds/139/steps/Building%20Images/logs/stdio
> 

both above seems same issue its a compiler ICE

> ARM Issues (both in perf):
> http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-arm/builds/140/steps/Building%20Images/logs/stdio
> 

its also a compiler ICE

> Can one or both of you look into this.
> 
> Thanks
> 	Sau!
> 
> 
>>  # 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
>> @@ -14,7 +14,7 @@ PV = "4.8.0"
>>  # 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.8.0"
>> +BINV = "4.8.1"
>> 
>>  FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.8' ], d)}"
>> 
>> @@ -68,8 +68,8 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
>>  	   file://gcc-4.8-PR56797.patch \
>>  	   file://gcc-4.8-build-args.patch \
>>  	  "
>> -SRC_URI[md5sum] = "e6040024eb9e761c3bea348d1fa5abb0"
>> -SRC_URI[sha256sum] = "b037fe5132b71ecad2ea7141ec92292b5d32427bf90fd90cde432b1d5abacc2c"
>> +SRC_URI[md5sum] = "3b2386c114cd74185aa3754b58a79304"
>> +SRC_URI[sha256sum] = "545b44be3ad9f2c4e90e6880f5c9d4f0a8f0e5f67e1ffb0d45da9fa01bb05813"
>> 
>>  S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
>>  B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
>>
Jonathan Liu - June 28, 2013, 11:47 p.m.
Hi Khem,

I get the following error building gcc package for atom-pc on x86_64 host:
libtool: link:  i586-poky-linux-g++  -m32 -march=core2 -msse3 
-mtune=generic -mfpmath=sse 
--sysroot=/home/build/git/poky/build/tmp/sysroots/poky -  m32 
-march=core2 -msse3 -mtune=generic -mfpmath=sse 
-isystem/home/build/git/poky/build/tmp/sysroots/poky/usr/include 
-I/home/build/git/poky/build/tmp/ 
work/core2-poky-linux/gcc/4.8.1-r0/gcc-4.8.1/build.i586-poky-linux.i586-poky-linux/gcc/include/ 
--sysroot=/home/build/git/poky/build/tmp/      sysroots/poky -shared 
-nostdlib /home/build/git/poky/build/tmp/sysroots/poky/usr/lib/crti.o 
/home/build/git/poky/build/tmp/sysroots/poky/usr/lib/i586-poky-linux/4.8.1/crtbeginS.o 
.libs/asan_allocator.o .libs/asan_allocator2.o .libs/asan_interceptors.o 
.libs/asan_mac.o .libs/asan_malloc_mac.  o .libs/asan_new_delete.o 
.libs/asan_posix.o .libs/asan_rtl.o .libs/asan_stats.o 
.libs/asan_thread_registry.o .libs/asan_fake_stack.o 
.libs/asan_globals.o . libs/asan_linux.o .libs/asan_malloc_linux.o 
.libs/asan_malloc_win.o .libs/asan_poisoning.o .libs/asan_report.o 
.libs/asan_stack.o .libs/asan_thread.o .libs/ asan_win.o  
-Wl,--whole-archive ../sanitizer_common/.libs/libsanitizer_common.a 
../interception/.libs/libinterception.a -Wl,--no-whole-archive 
-Wl,-rpath - 
Wl,/home/build/git/poky/build/tmp/work/core2-poky-linux/gcc/4.8.1-r0/gcc-4.8.1/build.i586-poky-linux.i586-poky-linux/i586-poky-linux/ 
libstdc++-v3/src/.libs -lpthread -ldl 
../../libstdc++-v3/src/.libs/libstdc++.so 
-L/home/build/git/poky/build/tmp/sysroots/x86_64-linux/usr/lib/core2- 
poky-linux/gcc/i586-poky-linux/4.8.1 
-L/home/build/git/poky/build/tmp/sysroots/poky/lib 
-L/home/build/git/poky/build/tmp/sysroots/poky/usr/lib/i586-poky-linux/4.8.1 
-L/home/build/git/poky/build/tmp/sysroots/poky/usr/lib 
/usr/lib/libstdc++.so -lm -lc -lgcc_s /home/build/git/poky/build/ 
tmp/sysroots/poky/usr/lib/i586-poky-linux/4.8.1/crtendS.o 
/home/build/git/poky/build/tmp/sysroots/poky/usr/lib/crtn.o  -m32 
-march=core2 -      msse3 -mtune=generic -mfpmath=sse -m32 -march=core2 
-msse3 -mtune=generic -mfpmath=sse -Wl,-O1 -Wl,--hash-style=gnu 
-Wl,--as-needed   -Wl,-soname -Wl, libasan.so.0 -o .libs/libasan.so.0.0.0
/usr/lib/libstdc++.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [libasan.la] Error 1
make[3]: Leaving directory 
`/home/build/git/poky/build/tmp/work/core2-poky-linux/gcc/4.8.1-r0/gcc-4.8.1/build.i586-poky-linux.i586-poky-linux/ 
i586-poky-linux/libsanitizer/asan'

Regards,
Jonathan
Khem Raj - June 29, 2013, 12:51 a.m.
On Friday, June 28, 2013, Jonathan Liu <net147@gmail.com> wrote:
> Hi Khem,
>
> I get the following error building gcc package for atom-pc on x86_64 host:

Open a bug in up bugzilla and add your build configuration info to it


> libtool: link:  i586-poky-linux-g++  -m32 -march=core2 -msse3
-mtune=generic -mfpmath=sse
--sysroot=/home/build/git/poky/build/tmp/sysroots/poky -  m32 -march=core2
-msse3 -mtune=generic -mfpmath=sse
-isystem/home/build/git/poky/build/tmp/sysroots/poky/usr/include
-I/home/build/git/poky/build/tmp/
work/core2-poky-linux/gcc/4.8.1-r0/gcc-4.8.1/build.i586-poky-linux.i586-poky-linux/gcc/include/
--sysroot=/home/build/git/poky/build/tmp/      sysroots/poky -shared
-nostdlib /home/build/git/poky/build/tmp/sysroots/poky/usr/lib/crti.o
/home/build/git/poky/build/tmp/sysroots/poky/usr/lib/i586-poky-linux/4.8.1/crtbeginS.o
.libs/asan_allocator.o .libs/asan_allocator2.o .libs/asan_interceptors.o
.libs/asan_mac.o .libs/asan_malloc_mac.  o .libs/asan_new_delete.o
.libs/asan_posix.o .libs/asan_rtl.o .libs/asan_stats.o
.libs/asan_thread_registry.o .libs/asan_fake_stack.o .libs/asan_globals.o .
libs/asan_linux.o .libs/asan_malloc_linux.o .libs/asan_malloc_win.o
.libs/asan_poisoning.o .libs/asan_report.o .libs/asan_stack.o
.libs/asan_thread.o .libs/ asan_win.o  -Wl,--whole-archive
../sanitizer_common/.libs/libsanitizer_common.a
../interception/.libs/libinterception.a -Wl,--no-whole-archive -Wl,-rpath -
Wl,/home/build/git/poky/build/tmp/work/core2-poky-linux/gcc/4.8.1-r0/gcc-4.8.1/build.i586-poky-linux.i586-poky-linux/i586-poky-linux/
libstdc++-v3/src/.libs -lpthread -ldl
../../libstdc++-v3/src/.libs/libstdc++.so
-L/home/build/git/poky/build/tmp/sysroots/x86_64-linux/usr/lib/core2-
poky-linux/gcc/i586-poky-linux/4.8.1
-L/home/build/git/poky/build/tmp/sysroots/poky/lib
-L/home/build/git/poky/build/tmp/sysroots/poky/usr/lib/i586-poky-linux/4.8.1
-L/home/build/git/poky/build/tmp/sysroots/poky/usr/lib
/usr/lib/libstdc++.so -lm -lc -lgcc_s /home/build/git/poky/build/
tmp/sysroots/poky/usr/lib/i586-poky-linux/4.8.1/crtendS.o
/home/build/git/poky/build/tmp/sysroots/poky/usr/lib/crtn.o  -m32
-march=core2 -      msse3 -mtune=generic -mfpmath=sse -m32 -march=core2
-msse3 -mtune=generic -mfpmath=sse -Wl,-O1 -Wl,--hash-style=gnu
-Wl,--as-needed   -Wl,-soname -Wl, libasan.so.0 -o .libs/libasan.so.0.0.0
> /usr/lib/libstdc++.so: could not read symbols: File in wrong format
> collect2: error: ld returned 1 exit status
> make[3]: *** [libasan.la] Error 1
> make[3]: Leaving directory
`/home/build/git/poky/build/tmp/work/core2-poky-linux/gcc/4.8.1-r0/gcc-4.8.1/build.i586-poky-linux.i586-poky-linux/
i586-poky-linux/libsanitizer/asan'
>
> Regards,
> Jonathan
>

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-4.8.inc b/meta/recipes-devtools/gcc/gcc-4.8.inc
index 80bd02c..6664f1c 100644
--- a/meta/recipes-devtools/gcc/gcc-4.8.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.8.inc
@@ -6,7 +6,7 @@  require gcc-common.inc
 # on branch then PV should be incremented to 4.7.2+svnr${SRCPV}
 # to reflect that change
 
-PV = "4.8.0"
+PV = "4.8.1"
 
 # 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
@@ -14,7 +14,7 @@  PV = "4.8.0"
 # 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.8.0"
+BINV = "4.8.1"
 
 FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.8' ], d)}"
 
@@ -68,8 +68,8 @@  SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
 	   file://gcc-4.8-PR56797.patch \
 	   file://gcc-4.8-build-args.patch \
 	  "
-SRC_URI[md5sum] = "e6040024eb9e761c3bea348d1fa5abb0"
-SRC_URI[sha256sum] = "b037fe5132b71ecad2ea7141ec92292b5d32427bf90fd90cde432b1d5abacc2c"
+SRC_URI[md5sum] = "3b2386c114cd74185aa3754b58a79304"
+SRC_URI[sha256sum] = "545b44be3ad9f2c4e90e6880f5c9d4f0a8f0e5f67e1ffb0d45da9fa01bb05813"
 
 S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
 B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"