Skip to contentSkip to conversation

Tom Rini : base.bbclass: check_gcc3 needs to check for gcc-3.4.6 first.

oe-commits In review Tom Rini 4 participants 8 messages May 3, 2009 – May 4, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Tom Rini

author
#1 lore raw
Quoted 5 lines · GIT User account
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 714bed6ab1174ec126ea7d8c8655d1cfd6900325
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=714bed6ab1174ec126ea7d8c8655d1cfd6900325
Quoted 7 lines
Author: Tom Rini <[email protected]>
Date:   Sun May  3 19:23:57 2009 -0400

base.bbclass: check_gcc3 needs to check for gcc-3.4.6 first. Comment on what this function is used for primarily. The default gcc3-native that we build is called 'gcc-3.4.6' so look for that one first.

I thought we had fixed this before, but apparently we had not. I'd like to propose two related changes, and then pull this all out for stable/2009. First, no distro has a preferred version for gcc3-native, so I would like to drop gcc-native_3.4.4 and just use 3.4.6. Second, I'd like to change the order to:
'gcc-3.4.6 gcc-3.4.7 gcc-3.4 gcc34' as I'm unconvinced that anything older than that will work for qemu-native (the only caller of check_gcc3) given that people have problems with too old of a version of gcc-3.4 being provided by their distro in the 'gcc 3.4.x toolchain' package.

Signature · 1 line
Tom Rini
#2 lore raw
Quoted 15 lines · Tom Rini
Quoted 5 lines · GIT User account

Module: openembedded.git
Branch: org.openembedded.dev
Commit: 714bed6ab1174ec126ea7d8c8655d1cfd6900325
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=714bed6ab1174ec126ea7d8c8655d1cfd6900325

Quoted 7 lines

Author: Tom Rini <[email protected]>
Date:   Sun May  3 19:23:57 2009 -0400

base.bbclass: check_gcc3 needs to check for gcc-3.4.6 first. Comment on what this function is used for primarily.  The default gcc3-native that we build is called 'gcc-3.4.6' so look for that one first.

Quoted 6 lines

I thought we had fixed this before, but apparently we had not.  I'd like to propose two related changes, and then pull this all out for stable/2009.  First, no distro has a preferred version for gcc3-native, so I would like to drop gcc-native_3.4.4 and just use 3.4.6.  Second, I'd like to change the order to:
'gcc-3.4.6 gcc-3.4.7 gcc-3.4 gcc34' as I'm unconvinced that anything

there was no 3.4.7. Does qemu work with any gcc 3.4.x ?

It would be good if its fixed.

author
#3 lore raw
Quoted 16 lines · Khem Raj
Quoted 15 lines · Tom Rini
Quoted 12 lines · GIT User account

Module: openembedded.git
Branch: org.openembedded.dev
Commit: 714bed6ab1174ec126ea7d8c8655d1cfd6900325
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=714bed6ab1174ec126ea7d8c8655d1cfd6900325

Author: Tom Rini <[email protected]>
Date:   Sun May  3 19:23:57 2009 -0400

base.bbclass: check_gcc3 needs to check for gcc-3.4.6 first. Comment on what this function is used for primarily.  The default gcc3-native that we build is called 'gcc-3.4.6' so look for that one first.

Quoted 9 lines
Quoted 6 lines

I thought we had fixed this before, but apparently we had not.  I'd like to propose two related changes, and then pull this all out for stable/2009.  First, no distro has a preferred version for gcc3-native, so I would like to drop gcc-native_3.4.4 and just use 3.4.6.  Second, I'd like to change the order to:
'gcc-3.4.6 gcc-3.4.7 gcc-3.4 gcc34' as I'm unconvinced that anything

there was no 3.4.7. Does qemu work with any gcc 3.4.x ?

There's no 'real' 3.4.7, but I did a quick google and saw there were somethings calling themselves that, apparently. And presumably they're "new" enough to work. qemu does not work with any 3.4.x, as the problem that was reported was due to too old of a 3.4.x being on the system.

Quoted 1 line

It would be good if its fixed.

And I really wish qemu would get fixed / rewritten to work with some sort of modern compiler, yeah :(

Signature · 1 line
Tom Rini
#4 lore raw

Hello!

Quoted 2 lines

And I really wish qemu would get fixed / rewritten to work with some sort of modern compiler, yeah :(

Qemu 0.10.0 and higher (current is 0.10.3) require no gcc3.x to build. Look
here: http://www.nongnu.org/qemu/changelog.html

Signature · 1 line
Yuri Bushmelev
#5 lore raw
Quoted 7 lines · On Monday 04 May 2009 09:54:04 Yuri Bushmelev wrote:

Hello!

Quoted 2 lines

And I really wish qemu would get fixed / rewritten to work with some sort of modern compiler, yeah :(

Qemu 0.10.0 and higher (current is 0.10.3) require no gcc3.x to build. Look
here: http://www.nongnu.org/qemu/changelog.html

Speaking of which, we've been using 0.10.2 for native (GCC3 in build? No, thanks!) and it worked fine for us. Though there are a lot of patches currently in OE for qemu, some are very target-specific, so I've not checked those.

From c8b8db8de2d1f7fc49c24bda0714a752c72e19f7 Mon Sep 17 00:00:00 2001
From: Roman I Khimov <[email protected]>
Date: Thu, 30 Apr 2009 23:58:13 +0400
Subject: [PATCH] qemu: add version 0.10.2, initial

Finally not requiring GCC3. Added with masked preference, need to carefully sort out and apply OE's patches.

---
 conf/checksums.ini                   |    4 ++++
 recipes/qemu/qemu-native.inc         |    5 +----
 recipes/qemu/qemu-native_0.10.2.bb   |    2 ++
 recipes/qemu/qemu-native_0.9.1.bb    |    3 +++
 recipes/qemu/qemu-native_20070613.bb |    3 ++-
 recipes/qemu/qemu-native_cvs.bb      |    3 +++
 recipes/qemu/qemu-native_svn.bb      |    3 +++
 recipes/qemu/qemu_0.10.2.bb          |   22 ++++++++++++++++++++++
 8 files changed, 40 insertions(+), 5 deletions(-)
 create mode 100644 recipes/qemu/qemu-native_0.10.2.bb
 create mode 100644 recipes/qemu/qemu_0.10.2.bb
conf/checksums.ini +4 -0
index 6f15ceb..0031ff8 100644
@@ -19902,6 +19902,10 @@ sha256=c85ba04c9459cbc283a6f04ced730b49dc9966cf749808e8f960305116d525e6
 md5=a31f12647c5bb5f93c81465b4e5ff25a
 sha256=5795b9d619142e2d01016130c7ac71298aa1cabda4806f11762bb8fd489293af
 
+[http://download.savannah.gnu.org/releases/qemu/qemu-0.10.2.tar.gz]
+md5=85a323cdf620687f39c5328f450a547d
+sha256=fb93a49b2999a4572337fc9012c1b64be1095477446edda1a885b20387ec9a69
+
 [http://fabrice.bellard.free.fr/qemu/qemu-0.9.1.tar.gz]
 md5=6591df8e9270eb358c881de4ebea1262
 sha256=4756d0b4a4dc7dd88354bc6b37d381e4462dd328d0feef94803e90c0455835a5
recipes/qemu/qemu-native.inc +1 -4
index 3e6433c..e4064a2 100644
@@ -1,6 +1,3 @@
 inherit native
 
-DEPENDS = "libsdl-native zlib-native gcc3-native"
-
-require qemu-gcc3-check.inc
-
+DEPENDS = "libsdl-native zlib-native"
recipes/qemu/qemu-native_0.10.2.bb new file +2 -0
new file mode 100644
index 0000000..16984a3
@@ -0,0 +1,2 @@
+require qemu_${PV}.bb
+require qemu-native.inc
recipes/qemu/qemu-native_0.9.1.bb +3 -0
index 16984a3..4c418f6 100644
@@ -1,2 +1,5 @@
 require qemu_${PV}.bb
 require qemu-native.inc
+require qemu-gcc3-check.inc
+
+DEPENDS += "gcc3-native"
recipes/qemu/qemu-native_20070613.bb +2 -1
index dc9852b..4c418f6 100644
@@ -1,4 +1,5 @@
 require qemu_${PV}.bb
 require qemu-native.inc
+require qemu-gcc3-check.inc
 
-
+DEPENDS += "gcc3-native"
recipes/qemu/qemu-native_cvs.bb +3 -0
index c9db5e3..51e6028 100644
@@ -1,2 +1,5 @@
 require qemu_cvs.bb
 require qemu-native.inc
+require qemu-gcc3-check.inc
+
+DEPENDS += "gcc3-native"
recipes/qemu/qemu-native_svn.bb +3 -0
index 1e3a4db..b530bbd 100644
@@ -1,2 +1,5 @@
 require qemu_svn.bb
 require qemu-native.inc
+require qemu-gcc3-check.inc
+
+DEPENDS += "gcc3-native"
recipes/qemu/qemu_0.10.2.bb new file +22 -0
new file mode 100644
index 0000000..d6ad1d7
@@ -0,0 +1,22 @@
+LICENSE = "GPL"
+DEPENDS = "zlib"
+
+# Need to port OE patches there
+DEFAULT_PREFERENCE = "-1"
+
+FILESPATH = "${FILE_DIRNAME}/qemu-${PV}"
+FILESDIR = "${WORKDIR}"
+
+SRC_URI = "\
+    http://download.savannah.gnu.org/releases/qemu/qemu-${PV}.tar.gz \
+    "
+
+S = "${WORKDIR}/qemu-${PV}"
+
+EXTRA_OECONF += "--disable-gfx-check"
+
+inherit autotools
+
+do_configure() {
+	${S}/configure --prefix=${prefix} ${EXTRA_OECONF}
+}
Signature · 1 line
1.6.2.4
author
#6 lore raw

Re: [oe-commits] Tom Rini : base.bbclass: check_gcc3 needs to?check for gcc-3.4.6 first.

Quoted 6 lines · Roman I Khimov
Quoted 5 lines · On Monday 04 May 2009 09:54:04 Yuri Bushmelev wrote:

Hello!

Quoted 2 lines

And I really wish qemu would get fixed / rewritten to work with some sort of modern compiler, yeah :(

Quoted 7 lines
Quoted 2 lines

Qemu 0.10.0 and higher (current is 0.10.3) require no gcc3.x to build. Look
here: http://www.nongnu.org/qemu/changelog.html

Speaking of which, we've been using 0.10.2 for native (GCC3 in build? No, thanks!) and it worked fine for us. Though there are a lot of patches currently in OE for qemu, some are very target-specific, so I've not checked those.

Great. Just one thing, can we grab 0.10.3 (or whatever the most current stable is)?

Signature · 1 line
Tom Rini
#7 lore raw

PATCH 1/1 qemu: add version 0.10.3, initial

Finally not requiring GCC3. Added with masked preference, need to carefully sort out and apply OE's patches.

---
 conf/checksums.ini                   |    4 ++++
 recipes/qemu/qemu-native.inc         |    5 +----
 recipes/qemu/qemu-native_0.10.3.bb   |    2 ++
 recipes/qemu/qemu-native_0.9.1.bb    |    3 +++
 recipes/qemu/qemu-native_20070613.bb |    3 ++-
 recipes/qemu/qemu-native_cvs.bb      |    3 +++
 recipes/qemu/qemu-native_svn.bb      |    3 +++
 recipes/qemu/qemu_0.10.3.bb          |   22 ++++++++++++++++++++++
 8 files changed, 40 insertions(+), 5 deletions(-)
 create mode 100644 recipes/qemu/qemu-native_0.10.3.bb
 create mode 100644 recipes/qemu/qemu_0.10.3.bb
conf/checksums.ini +4 -0
index 6f15ceb..bf7477a 100644
@@ -19902,6 +19902,10 @@ sha256=c85ba04c9459cbc283a6f04ced730b49dc9966cf749808e8f960305116d525e6
 md5=a31f12647c5bb5f93c81465b4e5ff25a
 sha256=5795b9d619142e2d01016130c7ac71298aa1cabda4806f11762bb8fd489293af
 
+[http://download.savannah.gnu.org/releases/qemu/qemu-0.10.3.tar.gz]
+md5=320d6c536c8a1288cdc6c809f487e6d7
+sha256=89540d7a8c880a6ae33f8a55d55d580f3f03c10b02e32b7323719b3354f7b077
+
 [http://fabrice.bellard.free.fr/qemu/qemu-0.9.1.tar.gz]
 md5=6591df8e9270eb358c881de4ebea1262
 sha256=4756d0b4a4dc7dd88354bc6b37d381e4462dd328d0feef94803e90c0455835a5
recipes/qemu/qemu-native.inc +1 -4
index 3e6433c..e4064a2 100644
@@ -1,6 +1,3 @@
 inherit native
 
-DEPENDS = "libsdl-native zlib-native gcc3-native"
-
-require qemu-gcc3-check.inc
-
+DEPENDS = "libsdl-native zlib-native"
recipes/qemu/qemu-native_0.10.3.bb new file +2 -0
new file mode 100644
index 0000000..16984a3
@@ -0,0 +1,2 @@
+require qemu_${PV}.bb
+require qemu-native.inc
recipes/qemu/qemu-native_0.9.1.bb +3 -0
index 16984a3..4c418f6 100644
@@ -1,2 +1,5 @@
 require qemu_${PV}.bb
 require qemu-native.inc
+require qemu-gcc3-check.inc
+
+DEPENDS += "gcc3-native"
recipes/qemu/qemu-native_20070613.bb +2 -1
index dc9852b..4c418f6 100644
@@ -1,4 +1,5 @@
 require qemu_${PV}.bb
 require qemu-native.inc
+require qemu-gcc3-check.inc
 
-
+DEPENDS += "gcc3-native"
recipes/qemu/qemu-native_cvs.bb +3 -0
index c9db5e3..51e6028 100644
@@ -1,2 +1,5 @@
 require qemu_cvs.bb
 require qemu-native.inc
+require qemu-gcc3-check.inc
+
+DEPENDS += "gcc3-native"
recipes/qemu/qemu-native_svn.bb +3 -0
index 1e3a4db..b530bbd 100644
@@ -1,2 +1,5 @@
 require qemu_svn.bb
 require qemu-native.inc
+require qemu-gcc3-check.inc
+
+DEPENDS += "gcc3-native"
recipes/qemu/qemu_0.10.3.bb new file +22 -0
new file mode 100644
index 0000000..d6ad1d7
@@ -0,0 +1,22 @@
+LICENSE = "GPL"
+DEPENDS = "zlib"
+
+# Need to port OE patches there
+DEFAULT_PREFERENCE = "-1"
+
+FILESPATH = "${FILE_DIRNAME}/qemu-${PV}"
+FILESDIR = "${WORKDIR}"
+
+SRC_URI = "\
+    http://download.savannah.gnu.org/releases/qemu/qemu-${PV}.tar.gz \
+    "
+
+S = "${WORKDIR}/qemu-${PV}"
+
+EXTRA_OECONF += "--disable-gfx-check"
+
+inherit autotools
+
+do_configure() {
+	${S}/configure --prefix=${prefix} ${EXTRA_OECONF}
+}
Signature · 1 line
1.6.2.4
author
#8 lore raw

Re: [PATCH] qemu: add version 0.10.3, initial

Quoted 2 lines · Roman I Khimov

Finally not requiring GCC3. Added with masked preference, need to carefully sort out and apply OE's patches.

Thanks, Acked-by: Tom Rini <[email protected]>

Quoted 126 lines
---
 conf/checksums.ini                   |    4 ++++
 recipes/qemu/qemu-native.inc         |    5 +----
 recipes/qemu/qemu-native_0.10.3.bb   |    2 ++
 recipes/qemu/qemu-native_0.9.1.bb    |    3 +++
 recipes/qemu/qemu-native_20070613.bb |    3 ++-
 recipes/qemu/qemu-native_cvs.bb      |    3 +++
 recipes/qemu/qemu-native_svn.bb      |    3 +++
 recipes/qemu/qemu_0.10.3.bb          |   22 ++++++++++++++++++++++
 8 files changed, 40 insertions(+), 5 deletions(-)
 create mode 100644 recipes/qemu/qemu-native_0.10.3.bb
 create mode 100644 recipes/qemu/qemu_0.10.3.bb
conf/checksums.ini +4 -0
index 6f15ceb..bf7477a 100644
@@ -19902,6 +19902,10 @@ sha256=c85ba04c9459cbc283a6f04ced730b49dc9966cf749808e8f960305116d525e6
 md5=a31f12647c5bb5f93c81465b4e5ff25a
 sha256=5795b9d619142e2d01016130c7ac71298aa1cabda4806f11762bb8fd489293af
 
+[http://download.savannah.gnu.org/releases/qemu/qemu-0.10.3.tar.gz]
+md5=320d6c536c8a1288cdc6c809f487e6d7
+sha256=89540d7a8c880a6ae33f8a55d55d580f3f03c10b02e32b7323719b3354f7b077
+
 [http://fabrice.bellard.free.fr/qemu/qemu-0.9.1.tar.gz]
 md5=6591df8e9270eb358c881de4ebea1262
 sha256=4756d0b4a4dc7dd88354bc6b37d381e4462dd328d0feef94803e90c0455835a5
recipes/qemu/qemu-native.inc +1 -4
index 3e6433c..e4064a2 100644
@@ -1,6 +1,3 @@
 inherit native
 
-DEPENDS = "libsdl-native zlib-native gcc3-native"
-
-require qemu-gcc3-check.inc
-
+DEPENDS = "libsdl-native zlib-native"
recipes/qemu/qemu-native_0.10.3.bb new file +2 -0
new file mode 100644
index 0000000..16984a3
@@ -0,0 +1,2 @@
+require qemu_${PV}.bb
+require qemu-native.inc
recipes/qemu/qemu-native_0.9.1.bb +3 -0
index 16984a3..4c418f6 100644
@@ -1,2 +1,5 @@
 require qemu_${PV}.bb
 require qemu-native.inc
+require qemu-gcc3-check.inc
+
+DEPENDS += "gcc3-native"
recipes/qemu/qemu-native_20070613.bb +2 -1
index dc9852b..4c418f6 100644
@@ -1,4 +1,5 @@
 require qemu_${PV}.bb
 require qemu-native.inc
+require qemu-gcc3-check.inc
 
-
+DEPENDS += "gcc3-native"
recipes/qemu/qemu-native_cvs.bb +3 -0
index c9db5e3..51e6028 100644
@@ -1,2 +1,5 @@
 require qemu_cvs.bb
 require qemu-native.inc
+require qemu-gcc3-check.inc
+
+DEPENDS += "gcc3-native"
recipes/qemu/qemu-native_svn.bb +3 -0
index 1e3a4db..b530bbd 100644
@@ -1,2 +1,5 @@
 require qemu_svn.bb
 require qemu-native.inc
+require qemu-gcc3-check.inc
+
+DEPENDS += "gcc3-native"
recipes/qemu/qemu_0.10.3.bb new file +22 -0
new file mode 100644
index 0000000..d6ad1d7
@@ -0,0 +1,22 @@
+LICENSE = "GPL"
+DEPENDS = "zlib"
+
+# Need to port OE patches there
+DEFAULT_PREFERENCE = "-1"
+
+FILESPATH = "${FILE_DIRNAME}/qemu-${PV}"
+FILESDIR = "${WORKDIR}"
+
+SRC_URI = "\
+    http://download.savannah.gnu.org/releases/qemu/qemu-${PV}.tar.gz \
+    "
+
+S = "${WORKDIR}/qemu-${PV}"
+
+EXTRA_OECONF += "--disable-gfx-check"
+
+inherit autotools
+
+do_configure() {
+	${S}/configure --prefix=${prefix} ${EXTRA_OECONF}
+}
Signature · 7 lines
1.6.2.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Tom Rini