* [PATCH 1/7] elfutils: fix builds with gcc 4.6
2011-04-01 13:51 [PATCH 0/7] Fedora 15 and GCC 4.6 compatability patches Joshua Lock
@ 2011-04-01 13:51 ` Joshua Lock
2011-04-05 1:58 ` Khem Raj
2011-04-01 13:51 ` [PATCH 2/7] python-native: add missing SRC_URI hashes Joshua Lock
` (6 subsequent siblings)
7 siblings, 1 reply; 14+ messages in thread
From: Joshua Lock @ 2011-04-01 13:51 UTC (permalink / raw)
To: openembedded-core
From: Joshua Lock <josh@linux.intel.com>
gcc 4.6 (as used in Fedora 15) adds some extra warnings which are
included with Werror. The new unused-but-set variable warning causes
an error in libasm of elfutils. Work around this by removing
unused-but-set from Werror.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
meta/recipes-devtools/elfutils/elfutils_0.148.bb | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
index b2f700e..c395be8 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
@@ -40,6 +40,10 @@ SRC_URI += "\
inherit autotools
+# GCC 4.6.0 raises an unused-but-set warning in libasm, for now remove
+# this warning from Werror
+CFLAGS_virtclass-native += "-Wno-error=unused-but-set-variable"
+
EXTRA_OECONF = "--program-prefix=eu-"
do_configure_prepend() {
--
1.7.4.1
^ permalink raw reply related [flat|nested] 14+ messages in thread* Re: [PATCH 1/7] elfutils: fix builds with gcc 4.6
2011-04-01 13:51 ` [PATCH 1/7] elfutils: fix builds with gcc 4.6 Joshua Lock
@ 2011-04-05 1:58 ` Khem Raj
2011-04-05 2:38 ` Khem Raj
2011-04-05 16:46 ` Joshua Lock
0 siblings, 2 replies; 14+ messages in thread
From: Khem Raj @ 2011-04-05 1:58 UTC (permalink / raw)
To: openembedded-core
On 4/1/2011 6:51 AM, Joshua Lock wrote:
> From: Joshua Lock<josh@linux.intel.com>
>
> gcc 4.6 (as used in Fedora 15) adds some extra warnings which are
> included with Werror. The new unused-but-set variable warning causes
> an error in libasm of elfutils. Work around this by removing
> unused-but-set from Werror.
>
> Signed-off-by: Joshua Lock<josh@linux.intel.com>
> ---
> meta/recipes-devtools/elfutils/elfutils_0.148.bb | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
> index b2f700e..c395be8 100644
> --- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb
> +++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
> @@ -40,6 +40,10 @@ SRC_URI += "\
>
> inherit autotools
>
> +# GCC 4.6.0 raises an unused-but-set warning in libasm, for now remove
> +# this warning from Werror
> +CFLAGS_virtclass-native += "-Wno-error=unused-but-set-variable"
> +
unused-but-set-variable is a new option in gcc 4.6 which means this will
cause problems with older gcc's as they wont recognize this option and
not all distros have gcc 4.6
as base compiler. Have you tried compiling this patchset on a build
machine which has older gcc ? say 4.5
> EXTRA_OECONF = "--program-prefix=eu-"
>
> do_configure_prepend() {
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: [PATCH 1/7] elfutils: fix builds with gcc 4.6
2011-04-05 1:58 ` Khem Raj
@ 2011-04-05 2:38 ` Khem Raj
2011-04-05 16:46 ` Joshua Lock
1 sibling, 0 replies; 14+ messages in thread
From: Khem Raj @ 2011-04-05 2:38 UTC (permalink / raw)
To: openembedded-core
On 4/4/2011 6:58 PM, Khem Raj wrote:
> On 4/1/2011 6:51 AM, Joshua Lock wrote:
>> From: Joshua Lock<josh@linux.intel.com>
>>
>> gcc 4.6 (as used in Fedora 15) adds some extra warnings which are
>> included with Werror. The new unused-but-set variable warning causes
>> an error in libasm of elfutils. Work around this by removing
>> unused-but-set from Werror.
>>
>> Signed-off-by: Joshua Lock<josh@linux.intel.com>
>> ---
>> meta/recipes-devtools/elfutils/elfutils_0.148.bb | 4 ++++
>> 1 files changed, 4 insertions(+), 0 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb
>> b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
>> index b2f700e..c395be8 100644
>> --- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb
>> +++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
>> @@ -40,6 +40,10 @@ SRC_URI += "\
>>
>> inherit autotools
>>
>> +# GCC 4.6.0 raises an unused-but-set warning in libasm, for now remove
>> +# this warning from Werror
>> +CFLAGS_virtclass-native += "-Wno-error=unused-but-set-variable"
>> +
>
> unused-but-set-variable is a new option in gcc 4.6 which means this will
> cause problems with older gcc's as they wont recognize this option and
> not all distros have gcc 4.6
> as base compiler. Have you tried compiling this patchset on a build
> machine which has older gcc ? say 4.5
>
may be this patch would help to get rid of using this option
https://fedorahosted.org/pipermail/elfutils-devel/attachments/20110401/d91b26be/attachment.bin
>> EXTRA_OECONF = "--program-prefix=eu-"
>>
>> do_configure_prepend() {
>
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: [PATCH 1/7] elfutils: fix builds with gcc 4.6
2011-04-05 1:58 ` Khem Raj
2011-04-05 2:38 ` Khem Raj
@ 2011-04-05 16:46 ` Joshua Lock
2011-04-05 17:03 ` Khem Raj
1 sibling, 1 reply; 14+ messages in thread
From: Joshua Lock @ 2011-04-05 16:46 UTC (permalink / raw)
To: openembedded-core
On Mon, 2011-04-04 at 18:58 -0700, Khem Raj wrote:
> On 4/1/2011 6:51 AM, Joshua Lock wrote:
> > From: Joshua Lock<josh@linux.intel.com>
> >
> > gcc 4.6 (as used in Fedora 15) adds some extra warnings which are
> > included with Werror. The new unused-but-set variable warning causes
> > an error in libasm of elfutils. Work around this by removing
> > unused-but-set from Werror.
> >
> > Signed-off-by: Joshua Lock<josh@linux.intel.com>
> > ---
> > meta/recipes-devtools/elfutils/elfutils_0.148.bb | 4 ++++
> > 1 files changed, 4 insertions(+), 0 deletions(-)
> >
> > diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
> > index b2f700e..c395be8 100644
> > --- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb
> > +++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
> > @@ -40,6 +40,10 @@ SRC_URI += "\
> >
> > inherit autotools
> >
> > +# GCC 4.6.0 raises an unused-but-set warning in libasm, for now remove
> > +# this warning from Werror
> > +CFLAGS_virtclass-native += "-Wno-error=unused-but-set-variable"
> > +
>
> unused-but-set-variable is a new option in gcc 4.6 which means this will
> cause problems with older gcc's as they wont recognize this option and
> not all distros have gcc 4.6
> as base compiler. Have you tried compiling this patchset on a build
> machine which has older gcc ? say 4.5
I had not but thanks for pointing this out. I'll work up a new patch and
make sure to test it on a machine with an older GCC.
Cheers,
Joshua
--
Joshua Lock
Yocto Build System Monkey
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: [PATCH 1/7] elfutils: fix builds with gcc 4.6
2011-04-05 16:46 ` Joshua Lock
@ 2011-04-05 17:03 ` Khem Raj
2011-04-06 11:05 ` Joshua Lock
0 siblings, 1 reply; 14+ messages in thread
From: Khem Raj @ 2011-04-05 17:03 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Tue, Apr 5, 2011 at 9:46 AM, Joshua Lock <josh@linux.intel.com> wrote:
> On Mon, 2011-04-04 at 18:58 -0700, Khem Raj wrote:
>> On 4/1/2011 6:51 AM, Joshua Lock wrote:
>> > From: Joshua Lock<josh@linux.intel.com>
>> >
>> > gcc 4.6 (as used in Fedora 15) adds some extra warnings which are
>> > included with Werror. The new unused-but-set variable warning causes
>> > an error in libasm of elfutils. Work around this by removing
>> > unused-but-set from Werror.
>> >
>> > Signed-off-by: Joshua Lock<josh@linux.intel.com>
>> > ---
>> > meta/recipes-devtools/elfutils/elfutils_0.148.bb | 4 ++++
>> > 1 files changed, 4 insertions(+), 0 deletions(-)
>> >
>> > diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
>> > index b2f700e..c395be8 100644
>> > --- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb
>> > +++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
>> > @@ -40,6 +40,10 @@ SRC_URI += "\
>> >
>> > inherit autotools
>> >
>> > +# GCC 4.6.0 raises an unused-but-set warning in libasm, for now remove
>> > +# this warning from Werror
>> > +CFLAGS_virtclass-native += "-Wno-error=unused-but-set-variable"
>> > +
>>
>> unused-but-set-variable is a new option in gcc 4.6 which means this will
>> cause problems with older gcc's as they wont recognize this option and
>> not all distros have gcc 4.6
>> as base compiler. Have you tried compiling this patchset on a build
>> machine which has older gcc ? say 4.5
>
> I had not but thanks for pointing this out. I'll work up a new patch and
> make sure to test it on a machine with an older GCC.
>
IMO either disabling Werror completely or fixing the problem are only
two alternatives
> Cheers,
> Joshua
> --
> Joshua Lock
> Yocto Build System Monkey
> Intel Open Source Technology Centre
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 1/7] elfutils: fix builds with gcc 4.6
2011-04-05 17:03 ` Khem Raj
@ 2011-04-06 11:05 ` Joshua Lock
0 siblings, 0 replies; 14+ messages in thread
From: Joshua Lock @ 2011-04-06 11:05 UTC (permalink / raw)
To: Khem Raj; +Cc: Patches and discussions about the oe-core layer
On Tue, 2011-04-05 at 10:03 -0700, Khem Raj wrote:
> On Tue, Apr 5, 2011 at 9:46 AM, Joshua Lock <josh@linux.intel.com> wrote:
> > On Mon, 2011-04-04 at 18:58 -0700, Khem Raj wrote:
> >> On 4/1/2011 6:51 AM, Joshua Lock wrote:
> >> > From: Joshua Lock<josh@linux.intel.com>
> >> >
> >> > gcc 4.6 (as used in Fedora 15) adds some extra warnings which are
> >> > included with Werror. The new unused-but-set variable warning causes
> >> > an error in libasm of elfutils. Work around this by removing
> >> > unused-but-set from Werror.
> >> >
> >> > Signed-off-by: Joshua Lock<josh@linux.intel.com>
> >> > ---
> >> > meta/recipes-devtools/elfutils/elfutils_0.148.bb | 4 ++++
> >> > 1 files changed, 4 insertions(+), 0 deletions(-)
> >> >
> >> > diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
> >> > index b2f700e..c395be8 100644
> >> > --- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb
> >> > +++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb
> >> > @@ -40,6 +40,10 @@ SRC_URI += "\
> >> >
> >> > inherit autotools
> >> >
> >> > +# GCC 4.6.0 raises an unused-but-set warning in libasm, for now remove
> >> > +# this warning from Werror
> >> > +CFLAGS_virtclass-native += "-Wno-error=unused-but-set-variable"
> >> > +
> >>
> >> unused-but-set-variable is a new option in gcc 4.6 which means this will
> >> cause problems with older gcc's as they wont recognize this option and
> >> not all distros have gcc 4.6
> >> as base compiler. Have you tried compiling this patchset on a build
> >> machine which has older gcc ? say 4.5
> >
> > I had not but thanks for pointing this out. I'll work up a new patch and
> > make sure to test it on a machine with an older GCC.
> >
>
> IMO either disabling Werror completely or fixing the problem are only
> two alternatives
Agreed. I've gone the route of fixing the problem and have pulled in a
series of patches from upstream. I haven't yet had the chance to test on
GCC other than 4.6 but will send a pull request shortly.
Regards,
Joshua
--
Joshua Lock
Yocto Build System Monkey
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 2/7] python-native: add missing SRC_URI hashes
2011-04-01 13:51 [PATCH 0/7] Fedora 15 and GCC 4.6 compatability patches Joshua Lock
2011-04-01 13:51 ` [PATCH 1/7] elfutils: fix builds with gcc 4.6 Joshua Lock
@ 2011-04-01 13:51 ` Joshua Lock
2011-04-01 13:52 ` [PATCH 3/7] libx11: " Joshua Lock
` (5 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: Joshua Lock @ 2011-04-01 13:51 UTC (permalink / raw)
To: openembedded-core
From: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
.../recipes-devtools/python/python-native_2.6.6.bb | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-devtools/python/python-native_2.6.6.bb b/meta/recipes-devtools/python/python-native_2.6.6.bb
index 2ad10c9..11956a4 100644
--- a/meta/recipes-devtools/python/python-native_2.6.6.bb
+++ b/meta/recipes-devtools/python/python-native_2.6.6.bb
@@ -14,6 +14,9 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
file://nohostlibs.patch"
S = "${WORKDIR}/Python-${PV}"
+SRC_URI[md5sum] = "cf4e6881bb84a7ce6089e4a307f71f14"
+SRC_URI[sha256sum] = "134c5e0736bae2e5570d0b915693374f11108ded63c35a23a35d282737d2ce83"
+
inherit native
EXTRA_OEMAKE = '\
--
1.7.4.1
^ permalink raw reply related [flat|nested] 14+ messages in thread* [PATCH 3/7] libx11: add missing SRC_URI hashes
2011-04-01 13:51 [PATCH 0/7] Fedora 15 and GCC 4.6 compatability patches Joshua Lock
2011-04-01 13:51 ` [PATCH 1/7] elfutils: fix builds with gcc 4.6 Joshua Lock
2011-04-01 13:51 ` [PATCH 2/7] python-native: add missing SRC_URI hashes Joshua Lock
@ 2011-04-01 13:52 ` Joshua Lock
2011-04-01 13:52 ` [PATCH 4/7] xorg-[lib-common|proto-common]: disable use of fop document generation Joshua Lock
` (4 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: Joshua Lock @ 2011-04-01 13:52 UTC (permalink / raw)
To: openembedded-core
From: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb b/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb
index aaeb38e..c572d5e 100644
--- a/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb
@@ -10,6 +10,9 @@ SRC_URI += "file://x11_disable_makekeys.patch \
file://nodolt.patch \
file://include_fix.patch"
+SRC_URI[md5sum] = "f65c9c7ecbfb64c19dbd7927160d63fd"
+SRC_URI[sha256sum] = "88d7238ce5f7cd123450567de7a3b56a43556e4ccc45df38b8324147c889a844"
+
DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
libxdmcp xf86bigfontproto kbproto inputproto xproto-native gettext"
--
1.7.4.1
^ permalink raw reply related [flat|nested] 14+ messages in thread* [PATCH 4/7] xorg-[lib-common|proto-common]: disable use of fop document generation
2011-04-01 13:51 [PATCH 0/7] Fedora 15 and GCC 4.6 compatability patches Joshua Lock
` (2 preceding siblings ...)
2011-04-01 13:52 ` [PATCH 3/7] libx11: " Joshua Lock
@ 2011-04-01 13:52 ` Joshua Lock
2011-04-01 13:52 ` [PATCH 5/7] libx11: disable building of specs Joshua Lock
` (3 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: Joshua Lock @ 2011-04-01 13:52 UTC (permalink / raw)
To: openembedded-core
From: Joshua Lock <josh@linux.intel.com>
On Fedora 15 I see a huge Java backtrace when document generation runs for
some xorg libs. As fop is automatically detected, with the possibility of
detecting fop on the host whilst doing target builds, the safest bet is to
explicitly disable fop for document generation.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | 2 +-
.../xorg-proto/xorg-proto-common.inc | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
index 4ed8c86..d843d65 100644
--- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
+++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
@@ -13,4 +13,4 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
inherit autotools pkgconfig
-EXTRA_OECONF = "--enable-malloc0returnsnull"
+EXTRA_OECONF = "--enable-malloc0returnsnull --with-fop=no"
diff --git a/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc b/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
index 92aa1fe..ab1af28 100644
--- a/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
+++ b/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
@@ -14,6 +14,7 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
DEPENDS = "util-macros"
inherit autotools pkgconfig
+EXTRA_OECONF = "--with-fop=no"
# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
RDEPENDS_${PN}-dev = ""
--
1.7.4.1
^ permalink raw reply related [flat|nested] 14+ messages in thread* [PATCH 5/7] libx11: disable building of specs
2011-04-01 13:51 [PATCH 0/7] Fedora 15 and GCC 4.6 compatability patches Joshua Lock
` (3 preceding siblings ...)
2011-04-01 13:52 ` [PATCH 4/7] xorg-[lib-common|proto-common]: disable use of fop document generation Joshua Lock
@ 2011-04-01 13:52 ` Joshua Lock
2011-04-01 13:52 ` [PATCH 6/7] openjade: fix build with GCC 4.6 Joshua Lock
` (2 subsequent siblings)
7 siblings, 0 replies; 14+ messages in thread
From: Joshua Lock @ 2011-04-01 13:52 UTC (permalink / raw)
To: openembedded-core
From: Joshua Lock <josh@linux.intel.com>
Generating Postscript specs fails on Fedora 15, I don't *think* we need them
so disable them.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
meta/recipes-graphics/xorg-lib/libx11.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc
index 267a03a..030b0db 100644
--- a/meta/recipes-graphics/xorg-lib/libx11.inc
+++ b/meta/recipes-graphics/xorg-lib/libx11.inc
@@ -11,7 +11,7 @@ PROVIDES = "virtual/libx11"
XORG_PN = "libX11"
LEAD_SONAME = "libX11.so"
-EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h"
+EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --disable-specs"
FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${libdir}/X11/Xcms.txt"
FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
--
1.7.4.1
^ permalink raw reply related [flat|nested] 14+ messages in thread* [PATCH 6/7] openjade: fix build with GCC 4.6
2011-04-01 13:51 [PATCH 0/7] Fedora 15 and GCC 4.6 compatability patches Joshua Lock
` (4 preceding siblings ...)
2011-04-01 13:52 ` [PATCH 5/7] libx11: disable building of specs Joshua Lock
@ 2011-04-01 13:52 ` Joshua Lock
2011-04-01 13:52 ` [PATCH 7/7] xserver-xf86: explicitly disable fop document generation Joshua Lock
2011-04-04 12:56 ` [PATCH 0/7] Fedora 15 and GCC 4.6 compatability patches Richard Purdie
7 siblings, 0 replies; 14+ messages in thread
From: Joshua Lock @ 2011-04-01 13:52 UTC (permalink / raw)
To: openembedded-core
From: Joshua Lock <josh@linux.intel.com>
In GCC 4.6 the compiler no longer allows objects of const-qualified type to
be default initialized unless the type has a user-declared default
constructor.
Patch from Gentoo bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=358021
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
.../user-declared-default-constructor.patch | 88 ++++++++++++++++++++
.../openjade/openjade-native_1.3.2.bb | 5 +-
2 files changed, 91 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/user-declared-default-constructor.patch
diff --git a/meta/recipes-devtools/openjade/openjade-1.3.2/user-declared-default-constructor.patch b/meta/recipes-devtools/openjade/openjade-1.3.2/user-declared-default-constructor.patch
new file mode 100644
index 0000000..2f2adfe
--- /dev/null
+++ b/meta/recipes-devtools/openjade/openjade-1.3.2/user-declared-default-constructor.patch
@@ -0,0 +1,88 @@
+In GCC 4.6 the compiler no longer allows objects of const-qualified type to
+be default initialized unless the type has a user-declared default
+constructor.
+
+Patch from Gentoo bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=358021
+
+Gentoo Bugzilla description follows:
+"If a class or struct has no user-defined default constructor, C++ doesn't
+allow you to default construct a const instance of it.
+
+https://bugs.gentoo.org/358021
+http://clang.llvm.org/compatibility.html#default_init_const
+http://gcc.gnu.org/PR44499"
+
+--- a/jade/TeXFOTBuilder.cxx
++++ b/jade/TeXFOTBuilder.cxx
+@@ -88,6 +88,8 @@ public:
+ value.convertString(nic_.placement);
+ }
+ ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
++ public:
++ PageFloatFlowObj() {}
+ private:
+ PageFloatNIC nic_;
+ StringC name_;
+@@ -101,6 +103,8 @@ public:
+ fotb.endPageFootnote();
+ }
+ ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
++ public:
++ PageFootnoteFlowObj() {}
+ private:
+ };
+ //////////////////////////////////////////////////////////////////////
+--- a/jade/TransformFOTBuilder.cxx
++++ b/jade/TransformFOTBuilder.cxx
+@@ -41,6 +41,7 @@ public:
+ };
+ class EntityRefFlowObj : public TransformExtensionFlowObj {
+ public:
++ EntityRefFlowObj() {}
+ void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
+ fotb.entityRef(name_);
+ }
+@@ -56,6 +57,7 @@ public:
+ };
+ class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
+ public:
++ ProcessingInstructionFlowObj() {}
+ void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
+ fotb.processingInstruction(data_);
+ }
+@@ -98,6 +100,8 @@ public:
+ }
+ }
+ ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
++ public:
++ EmptyElementFlowObj() {}
+ private:
+ ElementNIC nic_;
+ };
+@@ -133,6 +137,8 @@ public:
+ }
+ }
+ ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
++ public:
++ ElementFlowObj() {}
+ private:
+ ElementNIC nic_;
+ };
+@@ -150,6 +156,8 @@ public:
+ value.convertString(systemId_);
+ }
+ ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
++ public:
++ EntityFlowObj() {}
+ private:
+ StringC systemId_;
+ };
+@@ -174,6 +182,8 @@ public:
+ }
+ }
+ ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
++ public:
++ DocumentTypeFlowObj() {}
+ private:
+ DocumentTypeNIC nic_;
+ };
diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
index 0de8b96..5c1037a 100644
--- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
+++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
@@ -7,13 +7,14 @@ SECTION = "base"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045"
-PR = "r1"
+PR = "r2"
DEPENDS = "opensp-native sgml-common-native"
RDEPENDS_${PN} = "sgml-common"
SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/openjade-${PV}.tar.gz \
- file://makefile.patch"
+ file://makefile.patch \
+ file://user-declared-default-constructor.patch"
SRC_URI[md5sum] = "7df692e3186109cc00db6825b777201e"
SRC_URI[sha256sum] = "1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1"
--
1.7.4.1
^ permalink raw reply related [flat|nested] 14+ messages in thread* [PATCH 7/7] xserver-xf86: explicitly disable fop document generation
2011-04-01 13:51 [PATCH 0/7] Fedora 15 and GCC 4.6 compatability patches Joshua Lock
` (5 preceding siblings ...)
2011-04-01 13:52 ` [PATCH 6/7] openjade: fix build with GCC 4.6 Joshua Lock
@ 2011-04-01 13:52 ` Joshua Lock
2011-04-04 12:56 ` [PATCH 0/7] Fedora 15 and GCC 4.6 compatability patches Richard Purdie
7 siblings, 0 replies; 14+ messages in thread
From: Joshua Lock @ 2011-04-01 13:52 UTC (permalink / raw)
To: openembedded-core
From: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
.../xorg-xserver/xserver-xf86-common.inc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc b/meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc
index f9ea0e4..b1a0f08 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc
@@ -34,3 +34,4 @@ FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug \
SRC_URI += "file://macro_tweak.patch"
+EXTRA_OECONF = "--with-fop=no"
--
1.7.4.1
^ permalink raw reply related [flat|nested] 14+ messages in thread* Re: [PATCH 0/7] Fedora 15 and GCC 4.6 compatability patches
2011-04-01 13:51 [PATCH 0/7] Fedora 15 and GCC 4.6 compatability patches Joshua Lock
` (6 preceding siblings ...)
2011-04-01 13:52 ` [PATCH 7/7] xserver-xf86: explicitly disable fop document generation Joshua Lock
@ 2011-04-04 12:56 ` Richard Purdie
7 siblings, 0 replies; 14+ messages in thread
From: Richard Purdie @ 2011-04-04 12:56 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Fri, 2011-04-01 at 14:51 +0100, Joshua Lock wrote:
> From: Joshua Lock <josh@linux.intel.com>
>
> Folks,
>
> Attached is a series of patches to ensure we can run oe-core builds on the
> soon to be released Fedora 15.
>
> I don't think any of these should be too controversial and with the series
> applied I am able to build both minimal and sato images on my Fedora 15 box.
>
> Pull URL: git://git.openembedded.org/openembedded-core-contrib
> Branch: josh/fedora15
> Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=josh/fedora15
>
> Thanks,
> Joshua Lock <josh@linux.intel.com>
> ---
>
>
> Joshua Lock (7):
> elfutils: fix builds with gcc 4.6
> python-native: add missing SRC_URI hashes
> libx11: add missing SRC_URI hashes
> xorg-[lib-common|proto-common]: disable use of fop document
> generation
> libx11: disable building of specs
> openjade: fix build with GCC 4.6
> xserver-xf86: explicitly disable fop document generation
Merged to master, thanks!
Richard
^ permalink raw reply [flat|nested] 14+ messages in thread