From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Gang S Date: Wed, 25 Feb 2015 01:51:53 +0000 Subject: Re: [PATCH] drm: Kconfig: Let all DRM_GEM_CMA_HELPER related macros depend on HAVE_DMA_ATTRS Message-Id: <54ED2AB9.5070908@sunrus.com.cn> List-Id: References: <54CE3361.9090107@sunrus.com.cn> <54CFEBA2.9070801@sunrus.com.cn> <54E99DD4.6010602@sunrus.com.cn> In-Reply-To: <54E99DD4.6010602@sunrus.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: airlied@linux.ie, p.zabel@pengutronix.de, laurent.pinchart@ideasonboard.com Cc: robdclark@gmail.com, boris.brezillon@free-electrons.com, nicolas.ferre@atmel.com, benjamin.gaignard@linaro.org, jg1.han@samsung.com, dri-devel@lists.freedesktop.org, linux-sh@vger.kernel.org, "linux-kernel@vger.kernel.org" , chris@zankel.net, jcmvbkbc@gmail.com > On 2/3/15 05:26, Chen Gang S wrote: > > [...] > >> >> - Xtensa gcc5 cross compiler has issues: >> >> it causes more than 10 broken areas with allmodconfig (but no issues >> with defconfig). I guess, in fact, it is only 1 real issue (which can >> cause all breaks), and I shall try to fix it within this month. >> > > I finish analysing for it, it is really only one issue for gcc5, and I > guess, this issue is also not only for xtensa. I send related fix patch > to gcc patch mailing list, hope it can pass checking. > > The cause is "the variables are not initialized before using them", the > bug information is "https://gcc.gnu.org/bugzilla/show_bug.cgi?ide117". > > After fix this issue, it can build xtensa Linux kernel with allmodconfig > successfully. > Oh, sorry, my fix is incorrect, but gcc related members will fix it. I guess, it will be fixed soon. But because of this issue, I can send another patch for gcc (it can not fix this issue, but it is related with this issue) :-). Thanks. -- Chen Gang Open, share, and attitude like air, water, and life which God blessed From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Gang S Subject: Re: [PATCH] drm: Kconfig: Let all DRM_GEM_CMA_HELPER related macros depend on HAVE_DMA_ATTRS Date: Wed, 25 Feb 2015 09:51:53 +0800 Message-ID: <54ED2AB9.5070908@sunrus.com.cn> References: <54CE3361.9090107@sunrus.com.cn> <54CFEBA2.9070801@sunrus.com.cn> <54E99DD4.6010602@sunrus.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <54E99DD4.6010602@sunrus.com.cn> Sender: linux-sh-owner@vger.kernel.org To: airlied@linux.ie, p.zabel@pengutronix.de, laurent.pinchart@ideasonboard.com Cc: robdclark@gmail.com, boris.brezillon@free-electrons.com, nicolas.ferre@atmel.com, benjamin.gaignard@linaro.org, jg1.han@samsung.com, dri-devel@lists.freedesktop.org, linux-sh@vger.kernel.org, "linux-kernel@vger.kernel.org" , chris@zankel.net, jcmvbkbc@gmail.com List-Id: dri-devel@lists.freedesktop.org > On 2/3/15 05:26, Chen Gang S wrote: > > [...] > >> >> - Xtensa gcc5 cross compiler has issues: >> >> it causes more than 10 broken areas with allmodconfig (but no issues >> with defconfig). I guess, in fact, it is only 1 real issue (which can >> cause all breaks), and I shall try to fix it within this month. >> > > I finish analysing for it, it is really only one issue for gcc5, and I > guess, this issue is also not only for xtensa. I send related fix patch > to gcc patch mailing list, hope it can pass checking. > > The cause is "the variables are not initialized before using them", the > bug information is "https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65117". > > After fix this issue, it can build xtensa Linux kernel with allmodconfig > successfully. > Oh, sorry, my fix is incorrect, but gcc related members will fix it. I guess, it will be fixed soon. But because of this issue, I can send another patch for gcc (it can not fix this issue, but it is related with this issue) :-). Thanks. -- Chen Gang Open, share, and attitude like air, water, and life which God blessed