From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755875AbbHYQwA (ORCPT ); Tue, 25 Aug 2015 12:52:00 -0400 Received: from mail2.asahi-net.or.jp ([202.224.39.198]:22241 "EHLO mail2.asahi-net.or.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751400AbbHYQv6 convert rfc822-to-8bit (ORCPT ); Tue, 25 Aug 2015 12:51:58 -0400 Date: Wed, 26 Aug 2015 01:51:52 +0900 Message-ID: <871terjopj.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Guenter Roeck Cc: Mark Salter , uclinux-h8-devel@lists.sourceforge.jp, "linux-kernel@vger.kernel.org" , Oleg Nesterov , "Peter Zijlstra (Intel)" , "Paul E. McKenney" , Josh Triplett Subject: Re: h8300 build failures in linux-next (in rcu code, gcc 5.x related, not limited to h8300) In-Reply-To: <55DC83C7.1060809@roeck-us.net> References: <55DB63AC.7070305@roeck-us.net> <8737z7nc7b.wl-ysato@users.sourceforge.jp> <1440512875.5882.16.camel@redhat.com> <55DC83C7.1060809@roeck-us.net> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.4 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 Aug 2015 00:03:35 +0900, Guenter Roeck wrote: > > Hi Mark, > > On 08/25/2015 07:27 AM, Mark Salter wrote: > > On Tue, 2015-08-25 at 14:56 +0900, Yoshinori Sato wrote: > >> On Tue, 25 Aug 2015 03:34:20 +0900, > >> Guenter Roeck wrote: > >>> > >>> Hi, > >>> > >>> In linux-next as of today (0824), all h8300 builds fail for me with an > >>> internal > >>> compiler error. > >>> > >>> Building h8300:allnoconfig ... failed > >>> -------------- > >>> Error log: > >>> > >>> In file included from include/linux/rcupdate.h:429:0, > >>> from include/linux/rcusync.h:5, > >>> from kernel/rcu/sync.c:1: > >>> include/linux/rcutiny.h: In function ˇrcu_barrier_sched˘: > >>> include/linux/rcutiny.h:55:20: internal compiler error: Segmentation > >>> fault > >>> static inline void rcu_barrier_sched(void) > >>> ^ > >>> > >>> I tried both gcc 5.1 and 5.2, built with the patch set available to me. > >>> > >>> Is there a more recent compiler / patch set available that might fix > >>> the problem ? > >>> > >> > >> No. > >> I tried gcc 6.0. It got same error. > >> It looks optimization problem on h8300 target. > >> I will investigate it. > > > > I get the same ICE with c6x gcc 5.1 > > > > Interesting. h8300 was the only gcc 5+ compiler I had used so far. > Just for fun, I built an alpha toolchain with gcc 5.1. Same problem there. > So it looks like it isn't a h8300 problem after all, it is a gcc problem. > > Updated subject line, and copied rcu maintainers. > > Guenter > Yes. gcc bug #67055. Already fixed in trunk. -- Yoshinori Sato