From: Tom Rini Date: Mon, 16 Nov 2015 08:07:18 -0500 Subject: [U-Boot] [PATCH] Fix sandbox build on Ubuntu 10.04 In-Reply-To: <56497C46.4050801@wwwdotorg.org> References: <1447570429-1430-1-git-send-email-swarren@wwwdotorg.org> <20151116020723.GV8060@bill-the-cat> <56497C46.4050801@wwwdotorg.org> Message-ID: <20151116130718.GX8060@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 Sun, Nov 15, 2015 at 11:48:38PM -0700, Stephen Warren wrote: > On 11/15/2015 07:07 PM, Tom Rini wrote: > > On Sat, Nov 14, 2015 at 11:53:49PM -0700, Stephen Warren wrote: > > > >> gcc 4.4.3 (which is the default native compiler on x86-64 Ubuntu > >> 10.04) doesn't seem to like initializers for sub-fields of > >> anonymous unions. Solve this by replacing the initialization with > >> an assignment. This fixes: > >> > >> lib/lz4_wrapper.c: In function ?ulz4fn?: lib/lz4_wrapper.c:97: > >> error: unknown field ?raw? specified in initializer > >> > >> Signed-off-by: Stephen Warren > > > > So Ubuntu 10.04 hit end of life this past April. I can be > > convinced but as I'm personally staring down upgrading my 12.04 > > machine I need some reason. > > For some reason I though the support life was 5 years desktop and > longer for server, but it looks like 5 years was the server period. Oh > well. > > I suspect this patch may still be useful though; RHEL5 is still > supported until March 31, 2017[1], and apparently has an even older > compiler (gcc 4.1.x)[2] > > [1] https://access.redhat.com/support/policy/updates/errata > [2] https://access.redhat.com/solutions/19458 OK, that works for me, thanks. Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: