[OE-core] gcc 4.7 + mips64 architecture support

Martin Jansa martin.jansa at gmail.com
Mon Apr 30 10:43:45 UTC 2012


On Sun, Apr 29, 2012 at 11:12:30AM +0200, Martin Jansa wrote:
> On Wed, Apr 25, 2012 at 04:31:53PM -0700, Khem Raj wrote:
> > Hello
> > 
> > Now that release is almost out of door. I would like some eyes on the
> > gcc-4.7 work
> > and mips64 architecture support that I have done meanwhile
> > 
> > I have made sure that gcc-4.6 still keeps working and I have patches
> > for gcc-4.5 too
> > for meta-oe too. I have repeatedly built core-image-sato and
> > core-image-minimal for uclibc/eglibc
> > but more coverage would be nicer.
> > 
> > The patches are posted here
> > 
> > http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/misc
> > 
> > I would appreciate any feedback or testing on this
> 
> I got some errors while building gcc* recipes (overwriting header 
> files in work-shared or something like that) but that's not new, gcc-4.6
> was failing the same - restarting build few times and it will succeed
> once.
> 
> My minimal shr-lite-image compiles now fine and works on om-gta02
> (armv4t) sofar without segfaults.. so looks good.
> 
> For normal image and feeds I've few more recipes which are failing with gcc-4.7:
> 
> meta-openembedded/meta-efl/recipes-efl/webkit/webkit-efl_svn.bb
>   | Unknown parameter a interfaceName for tags/attrs
>   | make[2]: *** [DerivedSources/WebCore/HTMLNames.cpp] Error 255
>   http://norman-schleicher.de/jenkins/job/shr-core-branches-om-gta02-shr-image/ws/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/webkit-efl-1.7.3+svnr105069-r1/
>   I'm upgrading this one instead of fixing it, because we had some
>   issues in runtime with current version, but new version needs newer
>   libsoup-2.4->glib-2.0->gobject-introspection->etc and fails with
>   different compilation issues.. so maybe if you know how to easily fix
>   it in current, we can, otherwise I'll continue to work on upgrade
> 
>   BTW: similar fix as you did for webkit-gtk is in upstream r109509

fixed, patch for meta-efl sent to oe-devel
> 
> meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb
>   ../../../src/frontend/common/TemplateBuilder.hh:54:42: error: redeclaration of 'SmartPtr<typename ElementBuilder::type> elem'
>   ../../../src/frontend/common/TemplateBuilder.hh:50:49: error: 'SmartPtr<typename ElementBuilder::type> elem' previously declared here
>   http://norman-schleicher.de/jenkins/job/shr-core-branches-om-gta02-shr-image/ws/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gtkmathview-0.8.0-r1/

fixed, patch for meta-efl sent to oe-devel

> meta-smartphone/meta-shr/recipes-shr/3rdparty/numptyphysics_svn.bb
>   fixed in shr branch
> 
> meta-mozilla/recipes-mozilla/firefox/firefox_10.0.2.bb
>   | /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/firefox-10.0.2-r1/mozilla-release/ipc/chromium/src/base/file_util.cc:228:35: error: 'ftruncate' was not declared in this scope
>   probably easy to fix, adding Otavio to CC (maybe he has upgrade or fix
>   ready)
> 
> Cheers,

I've found one more, which seems to happen only on x86(-64)
/OE/shr-core/meta-openembedded/meta-oe/recipes-multimedia/libav/libav_0.7.4.bb
/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c: Assembler messages:
/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for `cmp'
/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for `cmp'
/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for `cmp'
/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:1298: Error: operand type mismatch for `cmp'
/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/libav/libav-0.7.4-r4.0/git/libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120430/96dec804/attachment-0002.sig>


More information about the Openembedded-core mailing list