From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 9865E6D189 for ; Tue, 25 Mar 2014 04:13:05 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.5) with ESMTP id s2P4D4qm020723 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 24 Mar 2014 21:13:04 -0700 (PDT) Received: from [128.224.162.194] (128.224.162.194) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.169.1; Mon, 24 Mar 2014 21:13:03 -0700 Message-ID: <53310247.3080001@windriver.com> Date: Tue, 25 Mar 2014 12:12:55 +0800 From: Hongxu Jia User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "Burton, Ross" References: <9c06686dc4ccc2576bd8a171ed685ab00eecf84c.1395646642.git.hongxu.jia@windriver.com> <532FE586.2050708@windriver.com> In-Reply-To: Cc: OE-core Subject: Re: [PATCH 1/1] libsoup-2.4: upgrade to 2.45.92 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 04:13:05 -0000 Content-Type: multipart/alternative; boundary="------------040501060800090208000505" --------------040501060800090208000505 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit On 03/24/2014 05:06 PM, Burton, Ross wrote: > On 24 March 2014 07:57, Hongxu Jia wrote: >> There was an error about mips-gcc optimization while compiling >> libsoup-2.4 2.45.3 with DEBUG_OPTIMIZATION enabled. >> >> The test code of libsoup-2.4 2.45.3 triggered gcc assert which located >> in gcc/dwarf2out.c:20810: >> ... >> 20806 gcc_assert (prev >> 20807 && (CALL_P (prev) >> 20808 || (NONJUMP_INSN_P (prev) >> 20809 && GET_CODE (PATTERN (prev)) == SEQUENCE >> 20810 && CALL_P (XVECEXP (PATTERN (prev), 0, >> 0))))); >> ... > So you've a bug in gcc and a well defined way of replicating it, > presumably you've reported this to gcc as that's the proper fix here? Yes, file a bug in gcc: https://bugzilla.yoctoproject.org/show_bug.cgi?id=6034 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60643 //Hongxu > Ross --------------040501060800090208000505 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 7bit
On 03/24/2014 05:06 PM, Burton, Ross wrote:
On 24 March 2014 07:57, Hongxu Jia <hongxu.jia@windriver.com> wrote:
There was an error about mips-gcc optimization while compiling
libsoup-2.4 2.45.3 with DEBUG_OPTIMIZATION enabled.

The test code of libsoup-2.4 2.45.3 triggered gcc assert which located
in gcc/dwarf2out.c:20810:
...
20806       gcc_assert (prev
20807                   && (CALL_P (prev)
20808                       || (NONJUMP_INSN_P (prev)
20809                           && GET_CODE (PATTERN (prev)) == SEQUENCE
20810                           && CALL_P (XVECEXP (PATTERN (prev), 0,
0)))));
...
So you've a bug in gcc and a well defined way of replicating it,
presumably you've reported this to gcc as that's the proper fix here?

Yes, file a bug in gcc:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6034

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60643

//Hongxu

Ross

--------------040501060800090208000505--