From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Thu, 23 Aug 2018 23:52:40 +0200 Subject: [Buildroot] [PATCH] gcc: Fix building on ppc64le GCC 8 host In-Reply-To: <20180730103630.21804-1-joel@jms.id.au> (Joel Stanley's message of "Mon, 30 Jul 2018 20:06:30 +0930") References: <20180730103630.21804-1-joel@jms.id.au> Message-ID: <874lfkrbrr.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Joel" == Joel Stanley writes: > When building on a ppc64le host we see this error: > build/genmatch --gimple ../../gcc/match.pd \ >> tmp-gimple-match.c > ../../gcc/match.pd:120:1 error: expected (, got NAME > negative value by 0 gives -0, not +0. */ > This was reported upstream[1] and fixed on the GCC 6 [2] and GCC 7 [3] > branches: > Backport from mainline > 2018-01-10 Kelvin Nilsen > * lex.c (search_line_fast): Remove illegal coercion of an > unaligned pointer value to vector pointer type and replace with > use of __builtin_vec_vsx_ld () built-in function, which operates > on unaligned pointer values. > The patches included in Buildroot contain just the code changes, and not > the changelog, to make it easer to manage backporting. > Tested on Ubuntu Cosmic ppc64le. > [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86162 > [2] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=261621 > [3] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=262243 > Signed-off-by: Joel Stanley Committed to 2018.02.x and 2018.05.x, thanks. -- Bye, Peter Korsgaard