[OE-core] binutils 2.23 call for testing the recipes

Martin Jansa martin.jansa at gmail.com
Sat Aug 11 08:04:16 UTC 2012


On Thu, Aug 09, 2012 at 04:57:32PM +0200, Martin Jansa wrote:
> On Thu, Aug 09, 2012 at 07:53:43AM -0700, Khem Raj wrote:
> > On Thu, Aug 9, 2012 at 6:10 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> > > On Wed, Aug 08, 2012 at 10:45:19AM -0700, Khem Raj wrote:
> > >> Hi
> > >>
> > >> Binutils 2.23 branch has started upstream. Given that toolchain
> > >> components require a lot of soak time, I have created the recipes
> > >> for binutils 2.23 and pushed it here
> > >>
> > >> http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/binutils-2.23
> > >>
> > >> If you are using angstrom set
> > >>
> > >> ANGSTROM_BINUTILS_VERSION = "2.23" in local.conf after pulling that branch
> > >> for OE-Core it will work as it is
> > >>
> > >> Let me know if you see any errors.
> > >
> > > I was trying to build armv4t image with gold enabled again to see if
> > > those issues with gold are resolved and building linux-3.2 and linux-2.6.39
> > > are failing with this:
> > >
> > > |   LD      arch/arm/boot/compressed/vmlinux
> > > | arm-oe-linux-gnueabi-ld: error: DIV usage mismatch between arch/arm/boot/compressed/misc.o and output
> > > | arm-oe-linux-gnueabi-ld: error: DIV usage mismatch between arch/arm/boot/compressed/lib1funcs.o and output
> > > | make[2]: *** [arch/arm/boot/compressed/vmlinux] Error 1
> > >
> > > Any hint for that?
> > 
> > probably you need something like below
> > https://lists.yoctoproject.org/pipermail/poky/2011-January/003131.html
> 
> I've used something like
> https://github.com/CyanogenMod/android_kernel_samsung_tuna/commit/ec1ac589d49081286164246fbaaba0012ae7ecac
> and core-image-minimal-mtdutils looks better wrt gold issues we had, now
> waiting for bigger image like shr-lite-image to test it more.

As I said on IRC, I spoke too soon, bash and other apps still suffer from Illegal instrictions 
when gold is used on armv4t..

Also firefox does not build anymore (this is from armv7a): will try to disable-efl-hack later

| g++ -o elfhack -isystem/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -fpermissive -L/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -L/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-O1 host_elf.o host_elfhack.o
| arm-oe-linux-gnueabi-g++  -march=armv7-a -fno-tree-vectorize     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/nokia900 -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Os -fsigned-char -fno-strict-aliasing -fpermissive -fvisibility-inlines-hidden -fno-strict-aliasing -std=gnu++0x -pthread -ffunction-sections -fdata-sections -pipe -fexceptions  -DNDEBUG -DTRIMMED -g -Os -freorder-blocks  -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,test.so -o test.so -lpthread -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--icf=safe   -Wl,-rpath-link,/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/firefox-10.0.2-r2/mozilla-release/dist/bin -Wl,-rpath-link,/usr/lib  test.o
| ===
| === If you get failures below, please file a bug describing the error
| === and your environment (compiler and linker versions), and use
| === --disable-elf-hack until this is fixed.
| ===
| /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/firefox-10.0.2-r2/mozilla-release/build/unix/elfhack/elfhack -b test.so
| test.so: terminate called after throwing an instance of 'std::runtime_error'
|   what():  Unsupported relocation type
| make[7]: *** [test.so] Aborted (core dumped)
| make[7]: Leaving directory `/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/firefox-10.0.2-r2/mozilla-release/build/unix/elfhack'



-- 
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/20120811/e26c7e70/attachment-0005.sig>


More information about the Openembedded-core mailing list