Skip to contentSkip to conversation

gcc-4.8: Fix meta-fsl-arm iperf build issue

PATCH In review Khem Raj 2 participants 3 messages Aug 1, 2013 – Aug 2, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gcc-4.8: Fix meta-fsl-arm iperf build issue

This should fix the problem seen where gcc ICE was happening when compiling iperf with older 2.6.x kernel

Test this patch by reverting below commit in meta-fsl-arm

commit daf582c93a7283fb0af3b25fe2ada48f4c9985c4

Author: Otavio Salvador <[email protected]>
Date:   Tue Jul 2 11:52:51 2013 -0300

perf: Disable FPU tune for i.MX5 SoCs to workaround GCC ICE

CC Otavio Salvador <[email protected]>
---
 meta/recipes-devtools/gcc/gcc-4.8.inc              |    1 +
 .../gcc/gcc-4.8/0042-pr57748.patch                 |   78 ++++++++++++++++++++
 2 files changed, 79 insertions(+)
 create mode 100644 meta/recipes-devtools/gcc/gcc-4.8/0042-pr57748.patch
meta/recipes-devtools/gcc/gcc-4.8.inc +1 -0
index 42355f2..9d92eda 100644
@@ -71,6 +71,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
 	   file://0039-gcc-4.8-PR57717.patch \
 	   file://0040-fix-g++-sysroot.patch \
 	   file://0041-libtool-avoid-libdir.patch \
+	   file://0042-pr57748.patch \
 	  "
 SRC_URI[md5sum] = "3b2386c114cd74185aa3754b58a79304"
 SRC_URI[sha256sum] = "545b44be3ad9f2c4e90e6880f5c9d4f0a8f0e5f67e1ffb0d45da9fa01bb05813"
meta/recipes-devtools/gcc/gcc-4.8/0042-pr57748.patch new file +78 -0

78 lines not on this page · raw message

Signature · 1 line
1.7.9.5
Tested-by Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Khem Raj

This should fix the problem seen where gcc ICE was happening when compiling iperf with older 2.6.x kernel

In fact it is 'perf', not iperf ;-)

Quoted 10 lines

Test this patch by reverting below commit in meta-fsl-arm

commit daf582c93a7283fb0af3b25fe2ada48f4c9985c4

Author: Otavio Salvador <[email protected]>
Date:   Tue Jul 2 11:52:51 2013 -0300

perf: Disable FPU tune for i.MX5 SoCs to workaround GCC ICE

CC Otavio Salvador <[email protected]>
Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
author
#2 lore raw
Quoted 7 lines · Otavio Salvador
Quoted 3 lines · On Thu, Aug 1, 2013 at 7:07 PM, Khem Raj <[email protected]<javascript:;>>…

This should fix the problem seen where gcc ICE was happening when compiling iperf with older 2.6.x kernel

In fact it is 'perf', not iperf ;-)

Blame vim

Quoted 20 lines
Quoted 11 lines

Test this patch by reverting below commit in meta-fsl-arm

commit daf582c93a7283fb0af3b25fe2ada48f4c9985c4

Author: Otavio Salvador <[email protected] <javascript:;>>
Date:   Tue Jul 2 11:52:51 2013 -0300

perf: Disable FPU tune for i.MX5 SoCs to workaround GCC ICE

Signed-off-by Khem Raj <[email protected] <javascript:;>>
CC Otavio Salvador <[email protected] <javascript:;>>
Tested-by Otavio Salvador <[email protected] <javascript:;>>
Acked-by Otavio Salvador <[email protected] <javascript:;>>

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750