From: Tom Rini Date: Tue, 16 Feb 2016 07:18:49 -0500 Subject: [U-Boot] [PATCH 2/3] common: env_flags: include common.h even for HOST_CC In-Reply-To: References: <1454503371-15918-1-git-send-email-pbrobinson@gmail.com> <1454503371-15918-3-git-send-email-pbrobinson@gmail.com> <20160215223432.GJ23166@bill-the-cat> Message-ID: <20160216121849.GS23166@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 16, 2016 at 11:19:43AM +0000, Peter Robinson wrote: > >> When compiling with gcc 6 we get the following error due to ARRAY_SIZE being > >> defined elsewhere. > >> > >> common/env_flags.c:155: undefined reference to `ARRAY_SIZE' > >> > >> Signed-off-by: Peter Robinson > > > > I'm going to take http://patchwork.ozlabs.org/patch/582527/ to fix this > > instead as I don't want to say that common.h must work in the case of > > USE_HOSTCC==true (I'm surprised it did, in fact). Thanks! > > What ever was pulled into RC2 works for me but I still needed my gcc6 patch. Somewhere along the lines, Linux stopped having compiler-gccN.h and just has compiler-gcc.h and compiler-clang.h. Would you feel up to making a pass at migrating those changes or should I? Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: