Linaro GDB release process

2010-09-22 Thread Ulrich Weigand
Hello, I've now checked the Linaro branding changes in to the gdb-linaro Bazaar repository. I've created a Wiki page describing the Linaro GDB release process based on that repository: http://wiki.linaro.org/WorkingGroups/ToolChain/GDBReleaseProcess (modeled after Andrew's GCCReleaseProcess pag

Re: NEON vectorization improvements - preliminary notes

2010-09-22 Thread Andrew Stubbs
On 22/09/10 12:23, Ira Rosen wrote: >> The goal is a 15% speed improvement in EEMBC relative to FSF GCC 4.5.0 > Does this mean to improve a single benchmark from EEMBC by 15%? > Do you have an EEMBC? I have a very old version, without DENBench, which > looks interesting according to EEMBC's site. O

Re: Host strip corrupts cross-built binaries

2010-09-22 Thread Mark Mitchell
On 9/22/2010 8:34 AM, Loïc Minier wrote: > Which component is to blame here? Are we looking at a binutils or a > gcc bug for not being able to set or read enough data that the > architecture mismatch isn't detected? What could we do about it? This is definitely a binutils bug. -- Mark Mitc

Host strip corrupts cross-built binaries

2010-09-22 Thread Loïc Minier
Hi folks apparently some tool calls "strip" instead of "$triplet-strip" when cross-building; this is something we shall fix, but it is apparently corrupting the binaries in some cases: https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/615765 It seems the ELF architecture isn't

Re: arm thumb veneer question

2010-09-22 Thread Dave Martin
Hi, On Wed, Sep 22, 2010 at 2:04 PM, Loïc Minier wrote: > On Wed, Sep 22, 2010, Dave Martin wrote: >> I'm not a toolchain expert, so I'm happy to be overridden... but my >> _guess_ is: >> >> I think that in practice (at least on arm) cc -fPIC = cc -fPIE, and ld >> -pie just forces ld to generate

Re: arm thumb veneer question

2010-09-22 Thread Loïc Minier
On Wed, Sep 22, 2010, Dave Martin wrote: > I'm not a toolchain expert, so I'm happy to be overridden... but my > _guess_ is: > > I think that in practice (at least on arm) cc -fPIC = cc -fPIE, and ld > -pie just forces ld to generate PIC veneers (as for -shared). Beyond > this, I think ld -shared

Re: arm thumb veneer question

2010-09-22 Thread Dave Martin
Hi, On Wed, Sep 22, 2010 at 1:38 PM, Loïc Minier wrote: > On Wed, Sep 22, 2010, Dave Martin wrote: >> This tells the compiler to generate PIC code, but it doesn't tell the >> linker to generate PIC output... which matters if the linker needs to >> add extra code during the link. > >  Perhaps a st

Re: arm thumb veneer question

2010-09-22 Thread Loïc Minier
On Wed, Sep 22, 2010, Dave Martin wrote: > This tells the compiler to generate PIC code, but it doesn't tell the > linker to generate PIC output... which matters if the linker needs to > add extra code during the link. Perhaps a stupid question, but why -fPIC/-shared and not -fPIE/-pie? -- Loïc

Re: arm thumb veneer question

2010-09-22 Thread Dave Martin
Hi, On Wed, Sep 22, 2010 at 11:48 AM, Wolfgang Denk wrote: [...] >> Because U-Boot doesn't build PIC for ARM (I notice it does for some >> other arches). > You are referring to old code. John explitly mentioned that he was > working on the "next" branch, which has this: > >        # needed for

Re: arm thumb veneer question

2010-09-22 Thread Loïc Minier
Hey On Mon, Sep 20, 2010, Wolfgang Denk wrote: > Is the specific tool chain in question available somewhere for > testing? Sure thing; the Linaro toolchain is available in source form from: https://launchpad.net/linaro-toolchain more specifically the GCC branch: https://launchpad.net/

Re: Branding for Linaro GDB package

2010-09-22 Thread Ulrich Weigand
Andrew Stubbs wrote: > GDB seems fine, except that I'd prefer that it didn't say "2010.10-0" > until we actually spin the release. GCC is currently set to "development > 2010.09-2", even though there probably never will be such a release. > Basically, if somebody takes a snapshot, I'd like the --

Re: OpenOCD

2010-09-22 Thread Christian Robottom Reis
On Mon, Sep 20, 2010 at 11:39:15AM -0700, Zach Welch wrote: > Specifically, I will be adding new support for Cortex-A9 SMP, though I > may also make a few improvements to its handling of Cortex-A8 in the > process. If you have experience using OpenOCD in these contexts, let me > know if you have a

Re: NEON vectorization improvements - preliminary notes

2010-09-22 Thread Ira Rosen
Hi Julian, Here are some thoughts about your report. > Automatic vector size selection/mixed-size vectors > == I think we (I) need to cooperate with Richard Guenther: ask him about committing his patch to 4.6 (they are probably planning to merge v

Re: arm thumb veneer question

2010-09-22 Thread Wolfgang Denk
Dear Dave Martin, In message you wrote: > > >> non-interworking branch. ld has no way the veneer needs to be PIC and > >> use the GOT, so it isn't and doesn't. > > > > Stupid question: why not? > > Because U-Boot doesn't build PIC for ARM (I notice it does for some > other arches). You are ref

Re: Branding for Linaro GDB package

2010-09-22 Thread Andrew Stubbs
On 21/09/10 22:44, Michael Hope wrote: >> GNU gdb (Linaro GDB) 7.2-2010.10-0 >> > Copyright (C) 2010 Free Software Foundation, Inc. >> > License GPLv3+: GNU GPL version 3 or later >> > >> > This is free software: you are free to change and redistribute it. >>

Re: arm thumb veneer question

2010-09-22 Thread Dave Martin
On Tue, Sep 21, 2010 at 9:29 PM, Wolfgang Denk wrote: > Dear Dave Martin, > > In message you > wrote: >> >> I believe such calls are getting resolved via a veneer because of a >> combination the thumb2-ness of libgcc and the toolchain being used. >> >> In principle, the linker can know that it i

Re: OpenOCD

2010-09-22 Thread Wookey
+++ Zach Welch [2010-09-21 16:47 -0700]: > On 09/21/2010 12:52 PM, Christian Robottom Reis wrote: > [snip] > I can > let you know when I get my hands on some hardware to use for testing, or > others can take a stab at it with their own boards (see below). That > will probably take some experience

Re: arm thumb veneer question

2010-09-22 Thread Dave Martin
On Wed, Sep 22, 2010 at 1:42 AM, Nicolas Pitre wrote: [...] > If you want the exact same toolchain, you may have a look at: > http://lists.linaro.org/pipermail/linaro-toolchain/2010-September/000155.html I don't know exactly when --use-blx was introduced, but it has apparently existed for a lon

Re: Branding for Linaro GDB package

2010-09-22 Thread Ulrich Weigand
Michael Hope wrote on 09/21/2010 11:44:14 PM: > > As a related question, the generated files in a standard GDB 7.2 release > > seem to have been built on a relatively old system (RHEL 4 ?), which is > > visible through the versions of tools like bison, flex, texinfo, and > > gettext used to build