From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754796AbbCENVY (ORCPT ); Thu, 5 Mar 2015 08:21:24 -0500 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:61342 "EHLO mx0a-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753136AbbCENVW (ORCPT ); Thu, 5 Mar 2015 08:21:22 -0500 Message-ID: <54F8582B.80703@marvell.com> Date: Thu, 5 Mar 2015 14:20:43 +0100 From: Lino Sanfilippo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Dave Martin CC: , , , Subject: Re: [RFC PATCH 0/1] Wrong structure alignment due to compiler attribute "section" References: <1425290502-2322-1-git-send-email-lsanfil@marvell.com> <20150303144130.GB5177@e103592.cambridge.arm.com> <54F6EF32.7080306@marvell.com> <20150304143527.GA5653@e103592.cambridge.arm.com> <54F732DA.2050004@marvell.com> <20150305122606.GC3612@e103592.cambridge.arm.com> In-Reply-To: <20150305122606.GC3612@e103592.cambridge.arm.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-03-05_04:2015-03-05,2015-03-05,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1503050138 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05.03.2015 13:26, Dave Martin wrote: >> >> So this is indeed a compiler bug, right? > > It certainly looks like the compiler is causing the issue somehow. > > Whether this is a bug, a bug-like feature, a configuration issue, > or a combination of these is not clear. > > If you know where to find the toolchain source, it might be worth > taking a look. The toolchain can be found here: http://www.plugcomputer.org/405/us/gplugd/tool-chain/arm-marvell-linux-gnueabi.tar.bz2 But since it turns out to be a compiler issue I dont know if its worth to be investigated further. I think the best solution to avoid that structure alignment problem is to simply use another toolchain. Dave, I thank you very much for your help and efforts to clarify that this is actually not a bug in the kernel. Thx, Lino From mboxrd@z Thu Jan 1 00:00:00 1970 From: lsanfil@marvell.com (Lino Sanfilippo) Date: Thu, 5 Mar 2015 14:20:43 +0100 Subject: [RFC PATCH 0/1] Wrong structure alignment due to compiler attribute "section" In-Reply-To: <20150305122606.GC3612@e103592.cambridge.arm.com> References: <1425290502-2322-1-git-send-email-lsanfil@marvell.com> <20150303144130.GB5177@e103592.cambridge.arm.com> <54F6EF32.7080306@marvell.com> <20150304143527.GA5653@e103592.cambridge.arm.com> <54F732DA.2050004@marvell.com> <20150305122606.GC3612@e103592.cambridge.arm.com> Message-ID: <54F8582B.80703@marvell.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 05.03.2015 13:26, Dave Martin wrote: >> >> So this is indeed a compiler bug, right? > > It certainly looks like the compiler is causing the issue somehow. > > Whether this is a bug, a bug-like feature, a configuration issue, > or a combination of these is not clear. > > If you know where to find the toolchain source, it might be worth > taking a look. The toolchain can be found here: http://www.plugcomputer.org/405/us/gplugd/tool-chain/arm-marvell-linux-gnueabi.tar.bz2 But since it turns out to be a compiler issue I dont know if its worth to be investigated further. I think the best solution to avoid that structure alignment problem is to simply use another toolchain. Dave, I thank you very much for your help and efforts to clarify that this is actually not a bug in the kernel. Thx, Lino