All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] GCC 4.9 upgrade
@ 2015-07-09 17:51 Khem Raj
  2015-07-09 17:52 ` [PATCH 1/3] gcc-4.9: Upgrade to 4.9.3 Khem Raj
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Khem Raj @ 2015-07-09 17:51 UTC (permalink / raw)
  To: openembedded-core

Upgrade gcc4 to 4.9.3
Backport patches to gcc5 to fix warning related diagnostics bugs
runqemu patch required to run weston images otherwise mouse does
not work

Khem Raj (3):
  gcc-4.9: Upgrade to 4.9.3
  gcc-5: Backport patches for -Wno-narrowing behaviour fixes
  runqemu-internal: Replace wacom-tablet with tablet for usbdevice

 meta/recipes-devtools/gcc/gcc-4.9.inc              | 11 ++-
 ...BS_DIR-replacement-instead-of-hardcoding.patch} |  0
 ...racking.c-backport-from-gcc-trunk-r212178.patch | 39 ----------
 meta/recipes-devtools/gcc/gcc-5.1.inc              |  8 +-
 .../gcc/gcc-5.1/backport/0001-PR65801.patch        | 89 ++++++++++++++++++++++
 .../gcc/gcc-5.1/backport/0002-PR65858.patch        | 63 +++++++++++++++
 .../gcc/gcc-5.1/backport/0003-PR66007.patch        | 73 ++++++++++++++++++
 scripts/runqemu-internal                           |  4 +-
 8 files changed, 239 insertions(+), 48 deletions(-)
 rename meta/recipes-devtools/gcc/gcc-4.9/{0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch => 0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch} (100%)
 delete mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-5.1/backport/0001-PR65801.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-5.1/backport/0002-PR65858.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-5.1/backport/0003-PR66007.patch

-- 
2.1.4



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/3] gcc-4.9: Upgrade to 4.9.3
  2015-07-09 17:51 [PATCH 0/3] GCC 4.9 upgrade Khem Raj
@ 2015-07-09 17:52 ` Khem Raj
  2015-07-13  8:12   ` Robert Yang
  2015-07-09 17:52 ` [PATCH 2/3] gcc-5: Backport patches for -Wno-narrowing behaviour fixes Khem Raj
  2015-07-09 17:52 ` [PATCH 3/3] runqemu-internal: Replace wacom-tablet with tablet for usbdevice Khem Raj
  2 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2015-07-09 17:52 UTC (permalink / raw)
  To: openembedded-core

Drop upsteamed patch for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66483 which is already in
4.9.3

rename 0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
to 0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch to
keep the sequence

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/gcc/gcc-4.9.inc              | 11 +++---
 ...BS_DIR-replacement-instead-of-hardcoding.patch} |  0
 ...racking.c-backport-from-gcc-trunk-r212178.patch | 39 ----------------------
 3 files changed, 5 insertions(+), 45 deletions(-)
 rename meta/recipes-devtools/gcc/gcc-4.9/{0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch => 0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch} (100%)
 delete mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch

diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc
index 9ed3e09..d61eca7 100644
--- a/meta/recipes-devtools/gcc/gcc-4.9.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.9.inc
@@ -2,11 +2,11 @@ require gcc-common.inc
 
 # Third digit in PV should be incremented after a minor release
 
-PV = "4.9.2"
+PV = "4.9.3"
 
 # BINV should be incremented to a revision after a minor gcc release
 
-BINV = "4.9.2"
+BINV = "4.9.3"
 
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-4.9:"
 
@@ -77,11 +77,10 @@ SRC_URI = "\
     file://0059-gcc-PR-rtl-optimization-63348.patch \
     file://0060-Only-allow-e500-double-in-SPE_SIMD_REGNO_P-registers.patch \
     file://0061-target-gcc-includedir.patch \
-    file://0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch \
-    file://0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
+    file://0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
 "
-SRC_URI[md5sum] = "4df8ee253b7f3863ad0b86359cd39c43"
-SRC_URI[sha256sum] = "2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd"
+SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327"
+SRC_URI[sha256sum] = "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e"
 
 S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
 B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch b/meta/recipes-devtools/gcc/gcc-4.9/0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
similarity index 100%
rename from meta/recipes-devtools/gcc/gcc-4.9/0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
rename to meta/recipes-devtools/gcc/gcc-4.9/0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch b/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
deleted file mode 100644
index c0ea62f..0000000
--- a/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From b30ffb8097749fdb55704aa7d8307ca1a58255d6 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Stefan=20M=C3=BCller-Klieser?= <s.mueller-klieser@phytec.de>
-Date: Tue, 7 Apr 2015 16:15:11 +0200
-Subject: [PATCH] gcc/var-tracking.c: backport from gcc trunk r212178
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-resolves a bug seen on cortexa8 building qt5 libraries.
-
-2014-06-30  Joseph Myers  <joseph@codesourcery.com>
-
-    * var-tracking.c (add_stores): Return instead of asserting if old
-    and new values for conditional store are the same.
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212178 138bc75d-0d04-0410-961f-82ee72b054a4
-
-Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
----
- gcc/var-tracking.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
-index 65d8285..7c38910 100644
---- a/gcc/var-tracking.c
-+++ b/gcc/var-tracking.c
-@@ -5997,7 +5997,8 @@ add_stores (rtx loc, const_rtx expr, void *cuip)
-     {
-       cselib_val *oval = cselib_lookup (oloc, GET_MODE (oloc), 0, VOIDmode);
- 
--      gcc_assert (oval != v);
-+      if (oval == v)
-+        return;
-       gcc_assert (REG_P (oloc) || MEM_P (oloc));
- 
-       if (oval && !cselib_preserved_value_p (oval))
--- 
-1.9.1
-
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/3] gcc-5: Backport patches for -Wno-narrowing behaviour fixes
  2015-07-09 17:51 [PATCH 0/3] GCC 4.9 upgrade Khem Raj
  2015-07-09 17:52 ` [PATCH 1/3] gcc-4.9: Upgrade to 4.9.3 Khem Raj
@ 2015-07-09 17:52 ` Khem Raj
  2015-07-09 17:52 ` [PATCH 3/3] runqemu-internal: Replace wacom-tablet with tablet for usbdevice Khem Raj
  2 siblings, 0 replies; 9+ messages in thread
From: Khem Raj @ 2015-07-09 17:52 UTC (permalink / raw)
  To: openembedded-core

Chromium/CEF reveals these warnings which are then treated as errors
which has been fixed on gcc_5 branch upsteam. We backport the relevant
commits

Change-Id: I088a1480d49cdb439c72f0e159bee6de8ba94258
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/gcc/gcc-5.1.inc              |  8 +-
 .../gcc/gcc-5.1/backport/0001-PR65801.patch        | 89 ++++++++++++++++++++++
 .../gcc/gcc-5.1/backport/0002-PR65858.patch        | 63 +++++++++++++++
 .../gcc/gcc-5.1/backport/0003-PR66007.patch        | 73 ++++++++++++++++++
 4 files changed, 232 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/gcc/gcc-5.1/backport/0001-PR65801.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-5.1/backport/0002-PR65858.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-5.1/backport/0003-PR66007.patch

diff --git a/meta/recipes-devtools/gcc/gcc-5.1.inc b/meta/recipes-devtools/gcc/gcc-5.1.inc
index 1d64f9e..255e957 100644
--- a/meta/recipes-devtools/gcc/gcc-5.1.inc
+++ b/meta/recipes-devtools/gcc/gcc-5.1.inc
@@ -10,7 +10,7 @@ PV = "5.1.0"
 
 BINV = "5.1.0"
 
-FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-5.1:"
+FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-5.1:${FILE_DIRNAME}/gcc-5.1/backport:"
 
 DEPENDS =+ "mpfr gmp libmpc zlib"
 NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
@@ -32,6 +32,7 @@ SRC_URI[sha256sum] = "b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89
 
 SRC_URI = "\
            ${BASEURI} \
+           ${BACKPORTS} \
            file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
            file://0002-uclibc-conf.patch \
            file://0003-gcc-uclibc-locale-ctype_touplow_t.patch \
@@ -72,6 +73,11 @@ SRC_URI = "\
            file://0038-fix-g++-sysroot.patch \
           "
 
+BACKPORTS = "\
+           file://0001-PR65801.patch \
+           file://0002-PR65858.patch \
+           file://0003-PR66007.patch \
+          "
 #S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${SNAP}"
 S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
 B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/backport/0001-PR65801.patch b/meta/recipes-devtools/gcc/gcc-5.1/backport/0001-PR65801.patch
new file mode 100644
index 0000000..9474287
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-5.1/backport/0001-PR65801.patch
@@ -0,0 +1,89 @@
+From 346ee8b5c2bf3bf0f0e681b2df5755f299aa1a68 Mon Sep 17 00:00:00 2001
+From: paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Thu, 30 Apr 2015 16:31:36 +0000
+Subject: [PATCH] /cp 2015-04-30  Paolo Carlini  <paolo.carlini@oracle.com>
+
+	PR c++/65801
+	* typeck2.c (check_narrowing): In C++11 mode too, -Wno-narrowing
+	suppresses the diagnostic.
+
+2015-04-30  Paolo Carlini  <paolo.carlini@oracle.com>
+
+	PR c++/65801
+	* doc/invoke.texi ([-Wnarrowing]): Update.
+
+/testsuite
+2015-04-30  Paolo Carlini  <paolo.carlini@oracle.com>
+
+	PR c++/65801
+	* g++.dg/cpp0x/Wnarrowing2.C: New.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@222636 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+Upstream-Status: Backport
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+ gcc/ChangeLog                            |  5 +++++
+ gcc/cp/ChangeLog                         |  6 ++++++
+ gcc/cp/typeck2.c                         | 10 +++++++---
+ gcc/doc/invoke.texi                      |  8 ++++----
+ gcc/testsuite/ChangeLog                  |  5 +++++
+ gcc/testsuite/g++.dg/cpp0x/Wnarrowing2.C |  5 +++++
+ 6 files changed, 32 insertions(+), 7 deletions(-)
+ create mode 100644 gcc/testsuite/g++.dg/cpp0x/Wnarrowing2.C
+
+diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
+index 80a6939..884957b 100644
+--- a/gcc/cp/typeck2.c
++++ b/gcc/cp/typeck2.c
+@@ -957,9 +957,13 @@ check_narrowing (tree type, tree init, tsubst_flags_t complain)
+ 	    }
+ 	}
+       else if (complain & tf_error)
+-	error_at (EXPR_LOC_OR_LOC (init, input_location),
+-		  "narrowing conversion of %qE from %qT to %qT inside { }",
+-		  init, ftype, type);
++	{
++	  global_dc->pedantic_errors = 1;
++	  pedwarn (EXPR_LOC_OR_LOC (init, input_location), OPT_Wnarrowing,
++		   "narrowing conversion of %qE from %qT to %qT inside { }",
++		   init, ftype, type);
++	  global_dc->pedantic_errors = flag_pedantic_errors;
++	}
+     }
+ 
+   return cxx_dialect == cxx98 || ok; 
+diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
+index 520c2c5..4ef8f7f 100644
+--- a/gcc/doc/invoke.texi
++++ b/gcc/doc/invoke.texi
+@@ -2703,10 +2703,10 @@ int i = @{ 2.2 @}; // error: narrowing from double to int
+ 
+ This flag is included in @option{-Wall} and @option{-Wc++11-compat}.
+ 
+-With @option{-std=c++11}, @option{-Wno-narrowing} suppresses for
+-non-constants the diagnostic required by the standard.  Note that this
+-does not affect the meaning of well-formed code; narrowing conversions
+-are still considered ill-formed in SFINAE context.
++With @option{-std=c++11}, @option{-Wno-narrowing} suppresses the diagnostic
++required by the standard.  Note that this does not affect the meaning
++of well-formed code; narrowing conversions are still considered
++ill-formed in SFINAE context.
+ 
+ @item -Wnoexcept @r{(C++ and Objective-C++ only)}
+ @opindex Wnoexcept
+diff --git a/gcc/testsuite/g++.dg/cpp0x/Wnarrowing2.C b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing2.C
+new file mode 100644
+index 0000000..fc806f9
+--- /dev/null
++++ b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing2.C
+@@ -0,0 +1,5 @@
++// PR c++/65801
++// { dg-do compile { target c++11 } }
++// { dg-options "-Wno-narrowing" }
++
++static struct zai { unsigned int x; } x = {-1};
+-- 
+2.1.4
+
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/backport/0002-PR65858.patch b/meta/recipes-devtools/gcc/gcc-5.1/backport/0002-PR65858.patch
new file mode 100644
index 0000000..e7a4fd7
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-5.1/backport/0002-PR65858.patch
@@ -0,0 +1,63 @@
+From 82e461dc9d53927de7dae667880b63c2d497172d Mon Sep 17 00:00:00 2001
+From: paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Fri, 1 May 2015 18:47:55 +0000
+Subject: [PATCH] /cp 2015-05-01  Paolo Carlini  <paolo.carlini@oracle.com> 
+     Prathamesh Kulharni  <prathamesh.kulkarni@linaro.org>
+
+	PR c++/65858
+	* typeck2.c (check_narrowing): Set ok = true when pedwarn returns
+	false.
+
+/testsuite
+2015-05-01  Paolo Carlini  <paolo.carlini@oracle.com>
+	    Prathamesh Kulharni  <prathamesh.kulkarni@linaro.org>
+
+	PR c++/65858
+	* g++.dg/cpp0x/Wnarrowing3.C: New.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@222700 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+Upstream-Status: Backport
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+ gcc/cp/ChangeLog                         | 7 +++++++
+ gcc/cp/typeck2.c                         | 7 ++++---
+ gcc/testsuite/ChangeLog                  | 6 ++++++
+ gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C | 6 ++++++
+ 4 files changed, 23 insertions(+), 3 deletions(-)
+ create mode 100644 gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C
+
+diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
+index 884957b..9a491aa 100644
+--- a/gcc/cp/typeck2.c
++++ b/gcc/cp/typeck2.c
+@@ -959,9 +959,10 @@ check_narrowing (tree type, tree init, tsubst_flags_t complain)
+       else if (complain & tf_error)
+ 	{
+ 	  global_dc->pedantic_errors = 1;
+-	  pedwarn (EXPR_LOC_OR_LOC (init, input_location), OPT_Wnarrowing,
+-		   "narrowing conversion of %qE from %qT to %qT inside { }",
+-		   init, ftype, type);
++	  if (!pedwarn (EXPR_LOC_OR_LOC (init, input_location), OPT_Wnarrowing,
++			"narrowing conversion of %qE from %qT to %qT "
++			"inside { }", init, ftype, type))
++	    ok = true;
+ 	  global_dc->pedantic_errors = flag_pedantic_errors;
+ 	}
+     }
+diff --git a/gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C
+new file mode 100644
+index 0000000..d2dd383
+--- /dev/null
++++ b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing3.C
+@@ -0,0 +1,6 @@
++// PR c++/65858
++// { dg-do compile { target c++11 } }
++// { dg-require-effective-target lto }
++// { dg-options "-flto -Wno-narrowing" }
++
++int x { 0.5 };
+-- 
+2.1.4
+
diff --git a/meta/recipes-devtools/gcc/gcc-5.1/backport/0003-PR66007.patch b/meta/recipes-devtools/gcc/gcc-5.1/backport/0003-PR66007.patch
new file mode 100644
index 0000000..7c1a19c
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-5.1/backport/0003-PR66007.patch
@@ -0,0 +1,73 @@
+From 3b1253116b7cb98da33c997bffa5fa2616aee40a Mon Sep 17 00:00:00 2001
+From: paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Mon, 4 May 2015 20:59:03 +0000
+Subject: [PATCH] /cp 2015-05-04  Paolo Carlini  <paolo.carlini@oracle.com> 
+     Jakub Jelinek  <jakub@redhat.com>
+
+	PR c++/66007
+	* typeck2.c (check_narrowing): Check by-hand that the pedwarn didn't
+	result in an actual error.
+
+/testsuite
+2015-05-04  Paolo Carlini  <paolo.carlini@oracle.com>
+	    Jakub Jelinek  <jakub@redhat.com>
+
+	PR c++/66007
+	* g++.dg/cpp0x/Wnarrowing4.C: New.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@222779 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+Upstream-Status: Backport
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+ gcc/cp/ChangeLog                         |  7 +++++++
+ gcc/cp/typeck2.c                         |  8 +++++---
+ gcc/testsuite/ChangeLog                  |  6 ++++++
+ gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C | 14 ++++++++++++++
+ 4 files changed, 32 insertions(+), 3 deletions(-)
+ create mode 100644 gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C
+
+diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
+index 9a491aa..c0df823 100644
+--- a/gcc/cp/typeck2.c
++++ b/gcc/cp/typeck2.c
+@@ -958,10 +958,12 @@ check_narrowing (tree type, tree init, tsubst_flags_t complain)
+ 	}
+       else if (complain & tf_error)
+ 	{
++	  int savederrorcount = errorcount;
+ 	  global_dc->pedantic_errors = 1;
+-	  if (!pedwarn (EXPR_LOC_OR_LOC (init, input_location), OPT_Wnarrowing,
+-			"narrowing conversion of %qE from %qT to %qT "
+-			"inside { }", init, ftype, type))
++	  pedwarn (EXPR_LOC_OR_LOC (init, input_location), OPT_Wnarrowing,
++		   "narrowing conversion of %qE from %qT to %qT "
++		   "inside { }", init, ftype, type);
++	  if (errorcount == savederrorcount)
+ 	    ok = true;
+ 	  global_dc->pedantic_errors = flag_pedantic_errors;
+ 	}
+diff --git a/gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C
+new file mode 100644
+index 0000000..7defce3
+--- /dev/null
++++ b/gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C
+@@ -0,0 +1,14 @@
++// PR c++/66007
++// { dg-do run { target c++11 } }
++// { dg-options "-Wno-error=narrowing" }
++
++extern "C" void abort();
++
++int main()
++{
++  unsigned foo[] = { 1, -1, 3 };
++  if (foo[0] != 1 || foo[1] != __INT_MAX__ * 2U + 1 || foo[2] != 3)
++    abort();
++}
++
++// { dg-prune-output "narrowing conversion" }
+-- 
+2.1.4
+
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 3/3] runqemu-internal: Replace wacom-tablet with tablet for usbdevice
  2015-07-09 17:51 [PATCH 0/3] GCC 4.9 upgrade Khem Raj
  2015-07-09 17:52 ` [PATCH 1/3] gcc-4.9: Upgrade to 4.9.3 Khem Raj
  2015-07-09 17:52 ` [PATCH 2/3] gcc-5: Backport patches for -Wno-narrowing behaviour fixes Khem Raj
@ 2015-07-09 17:52 ` Khem Raj
  2015-08-05 11:50   ` Jussi Kukkonen
  2 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2015-07-09 17:52 UTC (permalink / raw)
  To: openembedded-core

When booting weston-core-image with latest wayland/weston/libinput
mouse/touchpad would not work on qemux86, this fixes the issue

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 scripts/runqemu-internal | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 6878251..67aef8d 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -119,7 +119,7 @@ ORIG_STTY=$(stty -g)
 if [ "$SLIRP_ENABLED" = "yes" ]; then
     KERNEL_NETWORK_CMD="ip=dhcp"
     QEMU_TAP_CMD=""
-    QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice wacom-tablet"
+    QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice tablet"
     if [ "$KVM_ACTIVE" = "yes" ]; then
         QEMU_NETWORK_CMD=""
         DROOT="/dev/vda"
@@ -274,7 +274,7 @@ else
         fi
 
         KERNCMDLINE="mem=$QEMU_MEMORY"
-        QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice wacom-tablet"
+        QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice tablet"
 
         NFS_INSTANCE=`echo $TAP | sed 's/tap//'`
         export NFS_INSTANCE
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/3] gcc-4.9: Upgrade to 4.9.3
  2015-07-09 17:52 ` [PATCH 1/3] gcc-4.9: Upgrade to 4.9.3 Khem Raj
@ 2015-07-13  8:12   ` Robert Yang
  2015-07-15  4:07     ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Yang @ 2015-07-13  8:12 UTC (permalink / raw)
  To: Khem Raj, openembedded-core


Hi Khem,

This upgrade breaks linux-yocto 3.14 build on qemumips or qemumips64:

In local.conf:
MACHINE = "qemumips"
PREFERRED_VERSION_linux-yocto_qemumips = "3.14%"

$ bitbake linux-yocto -ccompile

Then errors:
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S: Assembler 
messages:
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:68: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f0,272+0($4)'
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:69: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f2,272+16($4)'
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:70: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f4,272+32($4)'
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:71: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f6,272+48($4)'
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:72: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f8,272+64($4)'
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:73: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f10,272+80($4)'
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:74: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f12,272+96($4)'
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:75: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f14,272+112($4)'
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:76: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f16,272+128($4)'
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:77: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f18,272+144($4)'
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:78: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f20,272+160($4)'
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:79: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f22,272+176($4)'
tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:80: Error: 
opcode not supported on this processor: mips3 (mips3) `sdc1 $f24,272+192($4)'

// Robert

On 07/10/2015 01:52 AM, Khem Raj wrote:
> Drop upsteamed patch for
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66483 which is already in
> 4.9.3
>
> rename 0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
> to 0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch to
> keep the sequence
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>   meta/recipes-devtools/gcc/gcc-4.9.inc              | 11 +++---
>   ...BS_DIR-replacement-instead-of-hardcoding.patch} |  0
>   ...racking.c-backport-from-gcc-trunk-r212178.patch | 39 ----------------------
>   3 files changed, 5 insertions(+), 45 deletions(-)
>   rename meta/recipes-devtools/gcc/gcc-4.9/{0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch => 0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch} (100%)
>   delete mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
>
> diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc
> index 9ed3e09..d61eca7 100644
> --- a/meta/recipes-devtools/gcc/gcc-4.9.inc
> +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc
> @@ -2,11 +2,11 @@ require gcc-common.inc
>
>   # Third digit in PV should be incremented after a minor release
>
> -PV = "4.9.2"
> +PV = "4.9.3"
>
>   # BINV should be incremented to a revision after a minor gcc release
>
> -BINV = "4.9.2"
> +BINV = "4.9.3"
>
>   FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-4.9:"
>
> @@ -77,11 +77,10 @@ SRC_URI = "\
>       file://0059-gcc-PR-rtl-optimization-63348.patch \
>       file://0060-Only-allow-e500-double-in-SPE_SIMD_REGNO_P-registers.patch \
>       file://0061-target-gcc-includedir.patch \
> -    file://0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch \
> -    file://0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
> +    file://0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
>   "
> -SRC_URI[md5sum] = "4df8ee253b7f3863ad0b86359cd39c43"
> -SRC_URI[sha256sum] = "2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd"
> +SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327"
> +SRC_URI[sha256sum] = "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e"
>
>   S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
>   B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
> diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch b/meta/recipes-devtools/gcc/gcc-4.9/0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
> similarity index 100%
> rename from meta/recipes-devtools/gcc/gcc-4.9/0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
> rename to meta/recipes-devtools/gcc/gcc-4.9/0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
> diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch b/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
> deleted file mode 100644
> index c0ea62f..0000000
> --- a/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
> +++ /dev/null
> @@ -1,39 +0,0 @@
> -From b30ffb8097749fdb55704aa7d8307ca1a58255d6 Mon Sep 17 00:00:00 2001
> -From: =?UTF-8?q?Stefan=20M=C3=BCller-Klieser?= <s.mueller-klieser@phytec.de>
> -Date: Tue, 7 Apr 2015 16:15:11 +0200
> -Subject: [PATCH] gcc/var-tracking.c: backport from gcc trunk r212178
> -MIME-Version: 1.0
> -Content-Type: text/plain; charset=UTF-8
> -Content-Transfer-Encoding: 8bit
> -
> -resolves a bug seen on cortexa8 building qt5 libraries.
> -
> -2014-06-30  Joseph Myers  <joseph@codesourcery.com>
> -
> -    * var-tracking.c (add_stores): Return instead of asserting if old
> -    and new values for conditional store are the same.
> -
> -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212178 138bc75d-0d04-0410-961f-82ee72b054a4
> -
> -Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
> ----
> - gcc/var-tracking.c | 3 ++-
> - 1 file changed, 2 insertions(+), 1 deletion(-)
> -
> -diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
> -index 65d8285..7c38910 100644
> ---- a/gcc/var-tracking.c
> -+++ b/gcc/var-tracking.c
> -@@ -5997,7 +5997,8 @@ add_stores (rtx loc, const_rtx expr, void *cuip)
> -     {
> -       cselib_val *oval = cselib_lookup (oloc, GET_MODE (oloc), 0, VOIDmode);
> -
> --      gcc_assert (oval != v);
> -+      if (oval == v)
> -+        return;
> -       gcc_assert (REG_P (oloc) || MEM_P (oloc));
> -
> -       if (oval && !cselib_preserved_value_p (oval))
> ---
> -1.9.1
> -
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/3] gcc-4.9: Upgrade to 4.9.3
  2015-07-13  8:12   ` Robert Yang
@ 2015-07-15  4:07     ` Khem Raj
  2015-07-15  6:00       ` Robert Yang
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2015-07-15  4:07 UTC (permalink / raw)
  To: Robert Yang; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 7524 bytes --]


> On Jul 13, 2015, at 1:12 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
> 
> 
> Hi Khem,
> 
> This upgrade breaks linux-yocto 3.14 build on qemumips or qemumips64:
> 
> In local.conf:
> MACHINE = "qemumips"
> PREFERRED_VERSION_linux-yocto_qemumips = "3.14%"
> 
> $ bitbake linux-yocto -ccompile
> 
> Then errors:
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S: Assembler messages:
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:68: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f0,272+0($4)'
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:69: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f2,272+16($4)'
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:70: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f4,272+32($4)'
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:71: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f6,272+48($4)'
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:72: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f8,272+64($4)'
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:73: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f10,272+80($4)'
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:74: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f12,272+96($4)'
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:75: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f14,272+112($4)'
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:76: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f16,272+128($4)'
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:77: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f18,272+144($4)'
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:78: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f20,272+160($4)'
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:79: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f22,272+176($4)'
> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:80: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f24,272+192($4)’

Its not related to gcc per-se but exposed by gcc 4.9.3
You need a back port.

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=842dfc11ea9a21f9825167c8a4f2834b205b0a79


> 
> // Robert
> 
> On 07/10/2015 01:52 AM, Khem Raj wrote:
>> Drop upsteamed patch for
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66483 which is already in
>> 4.9.3
>> 
>> rename 0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>> to 0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch to
>> keep the sequence
>> 
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  meta/recipes-devtools/gcc/gcc-4.9.inc              | 11 +++---
>>  ...BS_DIR-replacement-instead-of-hardcoding.patch} |  0
>>  ...racking.c-backport-from-gcc-trunk-r212178.patch | 39 ----------------------
>>  3 files changed, 5 insertions(+), 45 deletions(-)
>>  rename meta/recipes-devtools/gcc/gcc-4.9/{0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch => 0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch} (100%)
>>  delete mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
>> 
>> diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc
>> index 9ed3e09..d61eca7 100644
>> --- a/meta/recipes-devtools/gcc/gcc-4.9.inc
>> +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc
>> @@ -2,11 +2,11 @@ require gcc-common.inc
>> 
>>  # Third digit in PV should be incremented after a minor release
>> 
>> -PV = "4.9.2"
>> +PV = "4.9.3"
>> 
>>  # BINV should be incremented to a revision after a minor gcc release
>> 
>> -BINV = "4.9.2"
>> +BINV = "4.9.3"
>> 
>>  FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-4.9:"
>> 
>> @@ -77,11 +77,10 @@ SRC_URI = "\
>>      file://0059-gcc-PR-rtl-optimization-63348.patch \
>>      file://0060-Only-allow-e500-double-in-SPE_SIMD_REGNO_P-registers.patch \
>>      file://0061-target-gcc-includedir.patch \
>> -    file://0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch \
>> -    file://0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
>> +    file://0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
>>  "
>> -SRC_URI[md5sum] = "4df8ee253b7f3863ad0b86359cd39c43"
>> -SRC_URI[sha256sum] = "2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd"
>> +SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327"
>> +SRC_URI[sha256sum] = "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e"
>> 
>>  S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
>>  B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
>> diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch b/meta/recipes-devtools/gcc/gcc-4.9/0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>> similarity index 100%
>> rename from meta/recipes-devtools/gcc/gcc-4.9/0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>> rename to meta/recipes-devtools/gcc/gcc-4.9/0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>> diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch b/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
>> deleted file mode 100644
>> index c0ea62f..0000000
>> --- a/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
>> +++ /dev/null
>> @@ -1,39 +0,0 @@
>> -From b30ffb8097749fdb55704aa7d8307ca1a58255d6 Mon Sep 17 00:00:00 2001
>> -From: =?UTF-8?q?Stefan=20M=C3=BCller-Klieser?= <s.mueller-klieser@phytec.de>
>> -Date: Tue, 7 Apr 2015 16:15:11 +0200
>> -Subject: [PATCH] gcc/var-tracking.c: backport from gcc trunk r212178
>> -MIME-Version: 1.0
>> -Content-Type: text/plain; charset=UTF-8
>> -Content-Transfer-Encoding: 8bit
>> -
>> -resolves a bug seen on cortexa8 building qt5 libraries.
>> -
>> -2014-06-30  Joseph Myers  <joseph@codesourcery.com>
>> -
>> -    * var-tracking.c (add_stores): Return instead of asserting if old
>> -    and new values for conditional store are the same.
>> -
>> -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212178 138bc75d-0d04-0410-961f-82ee72b054a4
>> -
>> -Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
>> ----
>> - gcc/var-tracking.c | 3 ++-
>> - 1 file changed, 2 insertions(+), 1 deletion(-)
>> -
>> -diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
>> -index 65d8285..7c38910 100644
>> ---- a/gcc/var-tracking.c
>> -+++ b/gcc/var-tracking.c
>> -@@ -5997,7 +5997,8 @@ add_stores (rtx loc, const_rtx expr, void *cuip)
>> -     {
>> -       cselib_val *oval = cselib_lookup (oloc, GET_MODE (oloc), 0, VOIDmode);
>> -
>> --      gcc_assert (oval != v);
>> -+      if (oval == v)
>> -+        return;
>> -       gcc_assert (REG_P (oloc) || MEM_P (oloc));
>> -
>> -       if (oval && !cselib_preserved_value_p (oval))
>> ---
>> -1.9.1
>> -
>> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/3] gcc-4.9: Upgrade to 4.9.3
  2015-07-15  4:07     ` Khem Raj
@ 2015-07-15  6:00       ` Robert Yang
  2015-07-15 12:48         ` Bruce Ashfield
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Yang @ 2015-07-15  6:00 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core



On 07/15/2015 12:07 PM, Khem Raj wrote:
>
>> On Jul 13, 2015, at 1:12 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
>>
>>
>> Hi Khem,
>>
>> This upgrade breaks linux-yocto 3.14 build on qemumips or qemumips64:
>>
>> In local.conf:
>> MACHINE = "qemumips"
>> PREFERRED_VERSION_linux-yocto_qemumips = "3.14%"
>>
>> $ bitbake linux-yocto -ccompile
>>
>> Then errors:
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S: Assembler messages:
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:68: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f0,272+0($4)'
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:69: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f2,272+16($4)'
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:70: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f4,272+32($4)'
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:71: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f6,272+48($4)'
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:72: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f8,272+64($4)'
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:73: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f10,272+80($4)'
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:74: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f12,272+96($4)'
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:75: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f14,272+112($4)'
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:76: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f16,272+128($4)'
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:77: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f18,272+144($4)'
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:78: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f20,272+160($4)'
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:79: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f22,272+176($4)'
>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:80: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f24,272+192($4)’
>
> Its not related to gcc per-se but exposed by gcc 4.9.3
> You need a back port.

Thanks.

// Robert

>
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=842dfc11ea9a21f9825167c8a4f2834b205b0a79
>
>
>>
>> // Robert
>>
>> On 07/10/2015 01:52 AM, Khem Raj wrote:
>>> Drop upsteamed patch for
>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66483 which is already in
>>> 4.9.3
>>>
>>> rename 0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>>> to 0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch to
>>> keep the sequence
>>>
>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>> ---
>>>   meta/recipes-devtools/gcc/gcc-4.9.inc              | 11 +++---
>>>   ...BS_DIR-replacement-instead-of-hardcoding.patch} |  0
>>>   ...racking.c-backport-from-gcc-trunk-r212178.patch | 39 ----------------------
>>>   3 files changed, 5 insertions(+), 45 deletions(-)
>>>   rename meta/recipes-devtools/gcc/gcc-4.9/{0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch => 0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch} (100%)
>>>   delete mode 100644 meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
>>>
>>> diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc
>>> index 9ed3e09..d61eca7 100644
>>> --- a/meta/recipes-devtools/gcc/gcc-4.9.inc
>>> +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc
>>> @@ -2,11 +2,11 @@ require gcc-common.inc
>>>
>>>   # Third digit in PV should be incremented after a minor release
>>>
>>> -PV = "4.9.2"
>>> +PV = "4.9.3"
>>>
>>>   # BINV should be incremented to a revision after a minor gcc release
>>>
>>> -BINV = "4.9.2"
>>> +BINV = "4.9.3"
>>>
>>>   FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-4.9:"
>>>
>>> @@ -77,11 +77,10 @@ SRC_URI = "\
>>>       file://0059-gcc-PR-rtl-optimization-63348.patch \
>>>       file://0060-Only-allow-e500-double-in-SPE_SIMD_REGNO_P-registers.patch \
>>>       file://0061-target-gcc-includedir.patch \
>>> -    file://0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch \
>>> -    file://0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
>>> +    file://0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
>>>   "
>>> -SRC_URI[md5sum] = "4df8ee253b7f3863ad0b86359cd39c43"
>>> -SRC_URI[sha256sum] = "2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd"
>>> +SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327"
>>> +SRC_URI[sha256sum] = "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e"
>>>
>>>   S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
>>>   B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
>>> diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch b/meta/recipes-devtools/gcc/gcc-4.9/0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>>> similarity index 100%
>>> rename from meta/recipes-devtools/gcc/gcc-4.9/0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>>> rename to meta/recipes-devtools/gcc/gcc-4.9/0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>>> diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch b/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
>>> deleted file mode 100644
>>> index c0ea62f..0000000
>>> --- a/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
>>> +++ /dev/null
>>> @@ -1,39 +0,0 @@
>>> -From b30ffb8097749fdb55704aa7d8307ca1a58255d6 Mon Sep 17 00:00:00 2001
>>> -From: =?UTF-8?q?Stefan=20M=C3=BCller-Klieser?= <s.mueller-klieser@phytec.de>
>>> -Date: Tue, 7 Apr 2015 16:15:11 +0200
>>> -Subject: [PATCH] gcc/var-tracking.c: backport from gcc trunk r212178
>>> -MIME-Version: 1.0
>>> -Content-Type: text/plain; charset=UTF-8
>>> -Content-Transfer-Encoding: 8bit
>>> -
>>> -resolves a bug seen on cortexa8 building qt5 libraries.
>>> -
>>> -2014-06-30  Joseph Myers  <joseph@codesourcery.com>
>>> -
>>> -    * var-tracking.c (add_stores): Return instead of asserting if old
>>> -    and new values for conditional store are the same.
>>> -
>>> -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212178 138bc75d-0d04-0410-961f-82ee72b054a4
>>> -
>>> -Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
>>> ----
>>> - gcc/var-tracking.c | 3 ++-
>>> - 1 file changed, 2 insertions(+), 1 deletion(-)
>>> -
>>> -diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
>>> -index 65d8285..7c38910 100644
>>> ---- a/gcc/var-tracking.c
>>> -+++ b/gcc/var-tracking.c
>>> -@@ -5997,7 +5997,8 @@ add_stores (rtx loc, const_rtx expr, void *cuip)
>>> -     {
>>> -       cselib_val *oval = cselib_lookup (oloc, GET_MODE (oloc), 0, VOIDmode);
>>> -
>>> --      gcc_assert (oval != v);
>>> -+      if (oval == v)
>>> -+        return;
>>> -       gcc_assert (REG_P (oloc) || MEM_P (oloc));
>>> -
>>> -       if (oval && !cselib_preserved_value_p (oval))
>>> ---
>>> -1.9.1
>>> -
>>>
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/3] gcc-4.9: Upgrade to 4.9.3
  2015-07-15  6:00       ` Robert Yang
@ 2015-07-15 12:48         ` Bruce Ashfield
  0 siblings, 0 replies; 9+ messages in thread
From: Bruce Ashfield @ 2015-07-15 12:48 UTC (permalink / raw)
  To: Robert Yang; +Cc: Patches and discussions about the oe-core layer

On Wed, Jul 15, 2015 at 2:00 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
>
>
> On 07/15/2015 12:07 PM, Khem Raj wrote:
>>
>>
>>> On Jul 13, 2015, at 1:12 AM, Robert Yang <liezhi.yang@windriver.com>
>>> wrote:
>>>
>>>
>>> Hi Khem,
>>>
>>> This upgrade breaks linux-yocto 3.14 build on qemumips or qemumips64:
>>>
>>> In local.conf:
>>> MACHINE = "qemumips"
>>> PREFERRED_VERSION_linux-yocto_qemumips = "3.14%"
>>>
>>> $ bitbake linux-yocto -ccompile
>>>
>>> Then errors:
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:
>>> Assembler messages:
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:68:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f0,272+0($4)'
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:69:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f2,272+16($4)'
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:70:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f4,272+32($4)'
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:71:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f6,272+48($4)'
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:72:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f8,272+64($4)'
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:73:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f10,272+80($4)'
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:74:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f12,272+96($4)'
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:75:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f14,272+112($4)'
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:76:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f16,272+128($4)'
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:77:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f18,272+144($4)'
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:78:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f20,272+160($4)'
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:79:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f22,272+176($4)'
>>> tmp/work-shared/qemumips/kernel-source/arch/mips/kernel/r4k_fpu.S:80:
>>> Error: opcode not supported on this processor: mips3 (mips3) `sdc1
>>> $f24,272+192($4)’
>>
>>
>> Its not related to gcc per-se but exposed by gcc 4.9.3
>> You need a back port.
>
>
> Thanks.
>

We have a bugzilla for this issue already, so if anyone else looks
into this, make
sure to coordinate with Yang Shi @ Wind River. I sent him that issue.

FWIW, that referenced commit does not port easily .. so this isn't
trivial to fix.

Cheers,

Bruce

> // Robert
>
>
>>
>>
>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=842dfc11ea9a21f9825167c8a4f2834b205b0a79
>>
>>
>>>
>>> // Robert
>>>
>>> On 07/10/2015 01:52 AM, Khem Raj wrote:
>>>>
>>>> Drop upsteamed patch for
>>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66483 which is already in
>>>> 4.9.3
>>>>
>>>> rename 0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>>>> to 0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch to
>>>> keep the sequence
>>>>
>>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>>> ---
>>>>   meta/recipes-devtools/gcc/gcc-4.9.inc              | 11 +++---
>>>>   ...BS_DIR-replacement-instead-of-hardcoding.patch} |  0
>>>>   ...racking.c-backport-from-gcc-trunk-r212178.patch | 39
>>>> ----------------------
>>>>   3 files changed, 5 insertions(+), 45 deletions(-)
>>>>   rename
>>>> meta/recipes-devtools/gcc/gcc-4.9/{0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>>>> => 0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch} (100%)
>>>>   delete mode 100644
>>>> meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
>>>>
>>>> diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc
>>>> b/meta/recipes-devtools/gcc/gcc-4.9.inc
>>>> index 9ed3e09..d61eca7 100644
>>>> --- a/meta/recipes-devtools/gcc/gcc-4.9.inc
>>>> +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc
>>>> @@ -2,11 +2,11 @@ require gcc-common.inc
>>>>
>>>>   # Third digit in PV should be incremented after a minor release
>>>>
>>>> -PV = "4.9.2"
>>>> +PV = "4.9.3"
>>>>
>>>>   # BINV should be incremented to a revision after a minor gcc release
>>>>
>>>> -BINV = "4.9.2"
>>>> +BINV = "4.9.3"
>>>>
>>>>   FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-4.9:"
>>>>
>>>> @@ -77,11 +77,10 @@ SRC_URI = "\
>>>>       file://0059-gcc-PR-rtl-optimization-63348.patch \
>>>>
>>>> file://0060-Only-allow-e500-double-in-SPE_SIMD_REGNO_P-registers.patch \
>>>>       file://0061-target-gcc-includedir.patch \
>>>> -
>>>> file://0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch \
>>>> -
>>>> file://0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
>>>> +
>>>> file://0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
>>>>   "
>>>> -SRC_URI[md5sum] = "4df8ee253b7f3863ad0b86359cd39c43"
>>>> -SRC_URI[sha256sum] =
>>>> "2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd"
>>>> +SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327"
>>>> +SRC_URI[sha256sum] =
>>>> "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e"
>>>>
>>>>   S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
>>>>   B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
>>>> diff --git
>>>> a/meta/recipes-devtools/gcc/gcc-4.9/0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>>>> b/meta/recipes-devtools/gcc/gcc-4.9/0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>>>> similarity index 100%
>>>> rename from
>>>> meta/recipes-devtools/gcc/gcc-4.9/0063-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>>>> rename to
>>>> meta/recipes-devtools/gcc/gcc-4.9/0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
>>>> diff --git
>>>> a/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
>>>> b/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
>>>> deleted file mode 100644
>>>> index c0ea62f..0000000
>>>> ---
>>>> a/meta/recipes-devtools/gcc/gcc-4.9/0062-gcc-var-tracking.c-backport-from-gcc-trunk-r212178.patch
>>>> +++ /dev/null
>>>> @@ -1,39 +0,0 @@
>>>> -From b30ffb8097749fdb55704aa7d8307ca1a58255d6 Mon Sep 17 00:00:00 2001
>>>> -From: =?UTF-8?q?Stefan=20M=C3=BCller-Klieser?=
>>>> <s.mueller-klieser@phytec.de>
>>>> -Date: Tue, 7 Apr 2015 16:15:11 +0200
>>>> -Subject: [PATCH] gcc/var-tracking.c: backport from gcc trunk r212178
>>>> -MIME-Version: 1.0
>>>> -Content-Type: text/plain; charset=UTF-8
>>>> -Content-Transfer-Encoding: 8bit
>>>> -
>>>> -resolves a bug seen on cortexa8 building qt5 libraries.
>>>> -
>>>> -2014-06-30  Joseph Myers  <joseph@codesourcery.com>
>>>> -
>>>> -    * var-tracking.c (add_stores): Return instead of asserting if old
>>>> -    and new values for conditional store are the same.
>>>> -
>>>> -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212178
>>>> 138bc75d-0d04-0410-961f-82ee72b054a4
>>>> -
>>>> -Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
>>>> ----
>>>> - gcc/var-tracking.c | 3 ++-
>>>> - 1 file changed, 2 insertions(+), 1 deletion(-)
>>>> -
>>>> -diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
>>>> -index 65d8285..7c38910 100644
>>>> ---- a/gcc/var-tracking.c
>>>> -+++ b/gcc/var-tracking.c
>>>> -@@ -5997,7 +5997,8 @@ add_stores (rtx loc, const_rtx expr, void *cuip)
>>>> -     {
>>>> -       cselib_val *oval = cselib_lookup (oloc, GET_MODE (oloc), 0,
>>>> VOIDmode);
>>>> -
>>>> --      gcc_assert (oval != v);
>>>> -+      if (oval == v)
>>>> -+        return;
>>>> -       gcc_assert (REG_P (oloc) || MEM_P (oloc));
>>>> -
>>>> -       if (oval && !cselib_preserved_value_p (oval))
>>>> ---
>>>> -1.9.1
>>>> -
>>>>
>>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 3/3] runqemu-internal: Replace wacom-tablet with tablet for usbdevice
  2015-07-09 17:52 ` [PATCH 3/3] runqemu-internal: Replace wacom-tablet with tablet for usbdevice Khem Raj
@ 2015-08-05 11:50   ` Jussi Kukkonen
  0 siblings, 0 replies; 9+ messages in thread
From: Jussi Kukkonen @ 2015-08-05 11:50 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 9 July 2015 at 20:52, Khem Raj <raj.khem@gmail.com> wrote:
> When booting weston-core-image with latest wayland/weston/libinput
> mouse/touchpad would not work on qemux86, this fixes the issue

The gcc upgrade from the same patchset has been in master for a while
but this one is not. I think it should be included: currently mouse
does not work in weston when started with "runqemu qemux86 kvm".

In other words, "ping",
  Jussi

> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  scripts/runqemu-internal | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
> index 6878251..67aef8d 100755
> --- a/scripts/runqemu-internal
> +++ b/scripts/runqemu-internal
> @@ -119,7 +119,7 @@ ORIG_STTY=$(stty -g)
>  if [ "$SLIRP_ENABLED" = "yes" ]; then
>      KERNEL_NETWORK_CMD="ip=dhcp"
>      QEMU_TAP_CMD=""
> -    QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice wacom-tablet"
> +    QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice tablet"
>      if [ "$KVM_ACTIVE" = "yes" ]; then
>          QEMU_NETWORK_CMD=""
>          DROOT="/dev/vda"
> @@ -274,7 +274,7 @@ else
>          fi
>
>          KERNCMDLINE="mem=$QEMU_MEMORY"
> -        QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice wacom-tablet"
> +        QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice tablet"
>
>          NFS_INSTANCE=`echo $TAP | sed 's/tap//'`
>          export NFS_INSTANCE
> --
> 2.1.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-08-05 11:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-09 17:51 [PATCH 0/3] GCC 4.9 upgrade Khem Raj
2015-07-09 17:52 ` [PATCH 1/3] gcc-4.9: Upgrade to 4.9.3 Khem Raj
2015-07-13  8:12   ` Robert Yang
2015-07-15  4:07     ` Khem Raj
2015-07-15  6:00       ` Robert Yang
2015-07-15 12:48         ` Bruce Ashfield
2015-07-09 17:52 ` [PATCH 2/3] gcc-5: Backport patches for -Wno-narrowing behaviour fixes Khem Raj
2015-07-09 17:52 ` [PATCH 3/3] runqemu-internal: Replace wacom-tablet with tablet for usbdevice Khem Raj
2015-08-05 11:50   ` Jussi Kukkonen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.