From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0C0EFE009A4; Fri, 10 Apr 2015 02:30:50 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (praveen.vatt[at]gmail.com) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.220.54 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 1.0 FREEMAIL_REPLY From and body contain different freemails Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0D544E00956 for ; Fri, 10 Apr 2015 02:30:38 -0700 (PDT) Received: by pabsx10 with SMTP id sx10so16375252pab.3 for ; Fri, 10 Apr 2015 02:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qLL4qDHE7YCRmV0l3f7Rlo14WvYmjxiEBhSM+f94sIc=; b=aETeW7tED7BG46fpt4tyOc2KVJAwgQCEmXYHPVFX5cBNcOv7bPCegJD59XyIm2WlzI 4wAj//iovuWc9uqACOnBbasXCFAgA/KHr8EPqlkpMVeWhqqEKMWttgwqRACHg9UC6lB8 yY2DSu2nQE6ynRqURoummm2jhv3Nd9N6rBtcqTfSVVo+4DG8vktA8pHZiRSYBKbTBpdW nF73USO1F4Nj2u9kOjJD8PCRMHYAplSccaoWsh1u3dy0E4lu/9L9zfJeOe/1Trr5Dl9v jfTv8DB7MnCitTvNeayWuMy0FYM8nKRpw+vIWP14r+gTIDJVxkf4McRkICeegWUCN272 MnzA== MIME-Version: 1.0 X-Received: by 10.68.227.41 with SMTP id rx9mr1144067pbc.76.1428658238042; Fri, 10 Apr 2015 02:30:38 -0700 (PDT) Received: by 10.70.135.134 with HTTP; Fri, 10 Apr 2015 02:30:37 -0700 (PDT) In-Reply-To: <38761C20-F4B2-402A-861C-2C9EB01A4825@gmail.com> References: <20150408114746.GE2337@jama> <38761C20-F4B2-402A-861C-2C9EB01A4825@gmail.com> Date: Fri, 10 Apr 2015 15:00:37 +0530 Message-ID: From: praveen vattipalli To: Khem Raj Cc: yocto Subject: Re: do_compile_ptest_base error (valgrind) in dizzy X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 09:30:50 -0000 Content-Type: multipart/alternative; boundary=e89a8ff1ce76c8b89e05135b6a2d --e89a8ff1ce76c8b89e05135b6a2d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable HI Khem Raj, I applied the patch by taking reference from For gcc ICE please test out http://git.openembedded.org/openembedded-core-contrib/commit/?h=3Dkraj/mast= er&id=3D5ea11b4fa4e02f079aa9209e482e4922ad90f8de still i am facing same problem. I am working on dizzy branch. ERROR /home/praveenk/work/git_sources/poky/build/tmp/work/cortexa8hf-vfp-neon-pok= y-linux-gnueabi/valgrind/3.10.1-r1/valgrind-3.10.1/none/tests/arm/vcvt_fixe= d_float_VFP.c:12:1: internal compiler error: Max. number of generated reload insns per insn is achieved (90) | | } | ^ | Please submit a full bug report, | with preprocessed source if appropriate. | See for instructions. | make[5]: *** [vcvt_fixed_float_VFP.o] Error 1 | make[5]: Leaving directory `/home/praveenk/work/git_sources/poky/build/tmp/work/cortexa8hf-vfp-neon-po= ky-linux-gnueabi/valgrind/3.10.1-r1/build/none/tests/arm' | make[4]: *** [check-am] Error 2 | make[4]: Leaving directory `/home/praveenk/work/git_sources/poky/build/tmp/work/cortexa8hf-vfp-neon-po= ky-linux-gnueabi/valgrind/3.10.1-r1/build/none/tests/arm' | make[3]: *** [check-recursive] Error 1 | make[3]: Leaving directory `/home/praveenk/work/git_sources/poky/build/tmp/work/cortexa8hf-vfp-neon-po= ky-linux-gnueabi/valgrind/3.10.1-r1/build/none/tests' | make[2]: *** [check-recursive] Error 1 | make[2]: Leaving directory `/home/praveenk/work/git_sources/poky/build/tmp/work/cortexa8hf-vfp-neon-po= ky-linux-gnueabi/valgrind/3.10.1-r1/build/none' | make[1]: *** [check-recursive] Error 1 | make[1]: Leaving directory `/home/praveenk/work/git_sources/poky/build/tmp/work/cortexa8hf-vfp-neon-po= ky-linux-gnueabi/valgrind/3.10.1-r1/build' | make: *** [check] Error 2 | make: Leaving directory `/home/praveenk/work/git_sources/poky/build/tmp/work/cortexa8hf-vfp-neon-po= ky-linux-gnueabi/valgrind/3.10.1-r1/build' | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile_ptest_base (log file is located at /home/praveenk/work/git_sources/poky/build/tmp/work/cortexa8hf-vfp-neon-pok= y-linux-gnueabi/valgrind/3.10.1-r1/temp/log.do_compile_ptest_base.11973) ERROR: Task 9 (/home/praveenk/work/git_sources/poky/meta/recipes-devtools/valgrind/ valgrind_3.10.1.bb, do_compile_ptest_base) failed with exit code '1' NOTE: Tasks Summary: Attempted 795 tasks of which 792 didn't need to be rerun and 2 failed. Waiting for 0 running tasks to finish: What i observed is that when i am compiling gator recipe i am facing "__ARM_PCS_VFP" which is declared in stubs.h(GNU) error. It has to pick stubs-hard.h but it is searching for stubs-soft.h. Is this two errors related. Thanks Praveen On Thu, Apr 9, 2015 at 12:48 PM, Khem Raj wrote: > > > On Apr 8, 2015, at 4:47 AM, Martin Jansa wrote= : > > > > On Wed, Apr 08, 2015 at 12:39:56PM +0530, praveen vattipalli wrote: > >> hi > >> I am using 64 bit ubuntu12.04 and compiling coertexa9 arch arm board.= I > >> could able to build core-image-minimal successfully. But when I am > trying > >> to build valgrind. I am getting do_compile_ptest_base error. If i remo= ve > >> ptest in valgrind_3.9.0.bb it is building without errors. > > > > There are multiple issues in valgrind's ptest, in the end I've also > > disabled ptest for valgrind: > > > > Here is snippet of my distro config (with link to the same report 7 > months ago): > > > > # Work around FTBFS when building valgrind with ptest and thumb enabled > > # valgrind/3.9.0-r8/valgrind-3.9.0/none/tests/arm/ldrt_arm.c > > # {standard input}: Assembler messages: > > # {standard input}:42: Error: cannot use post-indexing with this > instruction -- `ldrt r6,[r5],#+132' > > # {standard input}:42: Error: cannot use post-indexing with this > instruction -- `ldrt r6,[r5],#132' > > # ... > > # ARM_INSTRUCTION_SET_pn-valgrind =3D "arm" > > # and remove -O2 as work around for ICE: > > # 3.9.0-r8/valgrind-3.9.0/none/tests/arm/vcvt_fixed_float_VFP.c:12:1: > internal compiler error: > > # Max. number of generated reload insns per insn is achieved (90) > > # > http://lists.openembedded.org/pipermail/openembedded-core/2014-September/= 097330.html > > # both issues are still reproducible with 3.10.0 version imported from > > # http://patchwork.openembedded.org/patch/83009/ > > # TARGET_CFLAGS_remove_pn-valgrind =3D "-O2" > > PTEST_ENABLED_pn-valgrind =3D =E2=80=9C0" > > For gcc ICE please test out > http://git.openembedded.org/openembedded-core-contrib/commit/?h=3Dkraj/ma= ster&id=3D5ea11b4fa4e02f079aa9209e482e4922ad90f8de > > > > > > > >> > >> I am using poky-dizzy. > >> > >> ERROR LOG: > >> > >> > /home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-poky-linu= x-gnueabi/valgrind/3.9.0-r8/valgrind-3.9.0/none/tests/arm/vcvt_fixed_float_= VFP.c: > >> In function 's32_to_f32_imm1': > >> | > >> > /home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-poky-linu= x-gnueabi/valgrind/3.9.0-r8/valgrind-3.9.0/none/tests/arm/vcvt_fixed_float_= VFP.c:12:1: > >> internal compiler error: Max. number of generated reload insns per ins= n > is > >> achieved (90) > >> | > >> | } > >> | ^ > >> | Please submit a full bug report, > >> | with preprocessed source if appropriate. > >> | See for instructions. > >> | make[5]: *** [vcvt_fixed_float_VFP.o] Error 1 > >> | make[5]: Leaving directory > >> > `/home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-poky-lin= ux-gnueabi/valgrind/3.9.0-r8/build/none/tests/arm' > >> | make[4]: *** [check-am] Error 2 > >> | make[4]: Leaving directory > >> > `/home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-poky-lin= ux-gnueabi/valgrind/3.9.0-r8/build/none/tests/arm' > >> | make[3]: *** [check-recursive] Error 1 > >> | make[3]: Leaving directory > >> > `/home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-poky-lin= ux-gnueabi/valgrind/3.9.0-r8/build/none/tests' > >> | make[2]: *** [check-recursive] Error 1 > >> | make[2]: Leaving directory > >> > `/home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-poky-lin= ux-gnueabi/valgrind/3.9.0-r8/build/none' > >> | make[1]: *** [check-recursive] Error 1 > >> | make[1]: Leaving directory > >> > `/home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-poky-lin= ux-gnueabi/valgrind/3.9.0-r8/build' > >> | make: *** [check] Error 2 > >> | make: Leaving directory > >> > `/home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-poky-lin= ux-gnueabi/valgrind/3.9.0-r8/build' > >> | ERROR: oe_runmake failed > >> | WARNING: exit code 1 from a shell command. > >> | ERROR: Function failed: do_compile_ptest_base (log file is located a= t > >> > /home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-poky-linu= x-gnueabi/valgrind/3.9.0-r8/temp/log.do_compile_ptest_base.11152) > >> ERROR: Task 9 > (/home/praveenk/work/platform/meta/recipes-devtools/valgrind/ > >> valgrind_3.9.0.bb, do_compile_ptest_base) failed with exit code '1' > >> NOTE: Tasks Summary: Attempted 776 tasks of which 769 didn't need to b= e > >> rerun and 1 failed. > >> No currently running tasks (776 of 784) > >> > >> Summary: 1 task failed: > >> /home/praveenk/work/platform/meta/recipes-devtools/valgrind/ > >> valgrind_3.9.0.bb, do_compile_ptest_base > >> Summary: There was 1 ERROR message shown, returning a non-zero exit > code. > >> > >> how can i solve this. > >> > >> Thanks > >> Praveen > > > >> -- > >> _______________________________________________ > >> yocto mailing list > >> yocto@yoctoproject.org > >> https://lists.yoctoproject.org/listinfo/yocto > > > > > > -- > > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > --e89a8ff1ce76c8b89e05135b6a2d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
HI Khem Raj,

I = applied the patch by taking reference from
For gcc ICE please test out = http://git.openembedded.org/openembedded-core-contrib/commit/?h=3D= kraj/master&id=3D5ea11b4fa4e02f079aa9209e482e4922ad90f8de
= still i am facing same problem. I am working on dizzy branch.

ERROR
/home/praveenk/work= /git_sources/poky/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/val= grind/3.10.1-r1/valgrind-3.10.1/none/tests/arm/vcvt_fixed_float_VFP.c:12:1:= internal compiler error: Max. number of generated reload insns per insn is= achieved (90)
|
|=C2=A0 }
|=C2=A0 ^
| Please submit a full bu= g report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for= instructions.
| make[5]: *** [vcvt_fixed_float_VFP.o] Error 1
| make= [5]: Leaving directory `/home/praveenk/work/git_sources/poky/build/tmp/work= /cortexa8hf-vfp-neon-poky-linux-gnueabi/valgrind/3.10.1-r1/build/none/tests= /arm'
| make[4]: *** [check-am] Error 2
| make[4]: Leaving direct= ory `/home/praveenk/work/git_sources/poky/build/tmp/work/cortexa8hf-vfp-neo= n-poky-linux-gnueabi/valgrind/3.10.1-r1/build/none/tests/arm'
| make= [3]: *** [check-recursive] Error 1
| make[3]: Leaving directory `/home/p= raveenk/work/git_sources/poky/build/tmp/work/cortexa8hf-vfp-neon-poky-linux= -gnueabi/valgrind/3.10.1-r1/build/none/tests'
| make[2]: *** [check-= recursive] Error 1
| make[2]: Leaving directory `/home/praveenk/work/git= _sources/poky/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/valgrin= d/3.10.1-r1/build/none'
| make[1]: *** [check-recursive] Error 1
= | make[1]: Leaving directory `/home/praveenk/work/git_sources/poky/build/tm= p/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/valgrind/3.10.1-r1/build'=
| make: *** [check] Error 2
| make: Leaving directory `/home/praveen= k/work/git_sources/poky/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnuea= bi/valgrind/3.10.1-r1/build'
| ERROR: oe_runmake failed
| WARNING= : exit code 1 from a shell command.
| ERROR: Function failed: do_compile= _ptest_base (log file is located at /home/praveenk/work/git_sources/poky/bu= ild/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/valgrind/3.10.1-r1/temp= /log.do_compile_ptest_base.11973)
ERROR: Task 9 (/home/praveenk/work/git= _sources/poky/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb, do_compile_ptest_base) failed with exit cod= e '1'
NOTE: Tasks Summary: Attempted 795 tasks of which 792 didn= 't need to be rerun and 2 failed.
Waiting for 0 running tasks to fin= ish:



What i observed is that when=C2=A0 i am compiling= gator recipe i am facing=C2=A0 "__ARM_PCS_VFP" which is declared= in stubs.h(GNU) error. It has to pick stubs-hard.h but it is searching for= stubs-soft.h.

Is this two errors related.

Thanks=
Praveen

=C2=A0

=C2= =A0

On Thu, Apr 9, 2015 at 12:48 PM, Khem Raj <= span dir=3D"ltr"><raj.khem@gmail.com> wrote:

> On Apr 8, 2015, at 4:47 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>
> On Wed, Apr 08, 2015 at 12:39:56PM +0530, praveen vattipalli wrote: >> hi
>> I am using 64 bit ubuntu12.04 and compiling coertexa9 arch arm=C2= =A0 board. I
>> could able to build core-image-minimal successfully. But when I am= trying
>> to build valgrind. I am getting do_compile_ptest_base error. If i = remove
>> ptest in va= lgrind_3.9.0.bb it is building without errors.
>
> There are multiple issues in valgrind's ptest, in the end I've= also
> disabled ptest for valgrind:
>
> Here is snippet of my distro config (with link to the same report 7 mo= nths ago):
>
> # Work around FTBFS when building valgrind with ptest and thumb enable= d
> # valgrind/3.9.0-r8/valgrind-3.9.0/none/tests/arm/ldrt_arm.c
> # {standard input}: Assembler messages:
> # {standard input}:42: Error: cannot use post-indexing with this instr= uction -- `ldrt r6,[r5],#+132'
> # {standard input}:42: Error: cannot use post-indexing with this instr= uction -- `ldrt r6,[r5],#132'
> # ...
> # ARM_INSTRUCTION_SET_pn-valgrind =3D "arm"
> # and remove -O2 as work around for ICE:
> # 3.9.0-r8/valgrind-3.9.0/none/tests/arm/vcvt_fixed_float_VFP.c:12:1: = internal compiler error:
> # Max. number of generated reload insns per insn is achieved (90)
> # http://lists.openembedded.or= g/pipermail/openembedded-core/2014-September/097330.html
> # both issues are still reproducible with 3.10.0 version imported from=
> # http://patchwork.openembedded.org/patch/83009/
> # TARGET_CFLAGS_remove_pn-valgrind =3D "-O2"
> PTEST_ENABLED_pn-valgrind =3D =E2=80=9C0"

For gcc ICE please test out http://git.openembedded.org= /openembedded-core-contrib/commit/?h=3Dkraj/master&id=3D5ea11b4fa4e02f0= 79aa9209e482e4922ad90f8de


>
>
>>
>> I am using poky-dizzy.
>>
>> ERROR LOG:
>>
>> /home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-po= ky-linux-gnueabi/valgrind/3.9.0-r8/valgrind-3.9.0/none/tests/arm/vcvt_fixed= _float_VFP.c:
>> In function 's32_to_f32_imm1':
>> |
>> /home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-po= ky-linux-gnueabi/valgrind/3.9.0-r8/valgrind-3.9.0/none/tests/arm/vcvt_fixed= _float_VFP.c:12:1:
>> internal compiler error: Max. number of generated reload insns per= insn is
>> achieved (90)
>> |
>> |=C2=A0 }
>> |=C2=A0 ^
>> | Please submit a full bug report,
>> | with preprocessed source if appropriate.
>> | See <http://gcc.gnu.org/bugs.html> for instructions.
>> | make[5]: *** [vcvt_fixed_float_VFP.o] Error 1
>> | make[5]: Leaving directory
>> `/home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-p= oky-linux-gnueabi/valgrind/3.9.0-r8/build/none/tests/arm'
>> | make[4]: *** [check-am] Error 2
>> | make[4]: Leaving directory
>> `/home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-p= oky-linux-gnueabi/valgrind/3.9.0-r8/build/none/tests/arm'
>> | make[3]: *** [check-recursive] Error 1
>> | make[3]: Leaving directory
>> `/home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-p= oky-linux-gnueabi/valgrind/3.9.0-r8/build/none/tests'
>> | make[2]: *** [check-recursive] Error 1
>> | make[2]: Leaving directory
>> `/home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-p= oky-linux-gnueabi/valgrind/3.9.0-r8/build/none'
>> | make[1]: *** [check-recursive] Error 1
>> | make[1]: Leaving directory
>> `/home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-p= oky-linux-gnueabi/valgrind/3.9.0-r8/build'
>> | make: *** [check] Error 2
>> | make: Leaving directory
>> `/home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-p= oky-linux-gnueabi/valgrind/3.9.0-r8/build'
>> | ERROR: oe_runmake failed
>> | WARNING: exit code 1 from a shell command.
>> | ERROR: Function failed: do_compile_ptest_base (log file is locat= ed at
>> /home/praveenk/work/platform/build/tmp/work/cortexa9hf-vfp-neon-po= ky-linux-gnueabi/valgrind/3.9.0-r8/temp/log.do_compile_ptest_base.11152) >> ERROR: Task 9 (/home/praveenk/work/platform/meta/recipes-devtools/= valgrind/
>> valgrind_3.= 9.0.bb, do_compile_ptest_base) failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 776 tasks of which 769 didn't n= eed to be
>> rerun and 1 failed.
>> No currently running tasks (776 of 784)
>>
>> Summary: 1 task failed:
>>=C2=A0 /home/praveenk/work/platform/meta/recipes-devtools/valgrind/=
>> valgrind_3.= 9.0.bb, do_compile_ptest_base
>> Summary: There was 1 ERROR message shown, returning a non-zero exi= t code.
>>
>> how can i solve this.
>>
>> Thanks
>> Praveen
>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>>
https://lists.yoctoproject.org/listinfo/yocto
>
>
> --
> Martin 'JaMa' Jansa=C2=A0 =C2=A0 =C2=A0jabber: Martin.Jansa@gmail.com
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto


--e89a8ff1ce76c8b89e05135b6a2d--