This is supposedly resolved ( 
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65779#c16 ) in 
https://gcc.gnu.org/viewcvs?rev=232558&root=gcc&view=rev and included
in the latest GCC 6 20160124 snapshot (at r232780).

I didn't seem to run into the issue building tests for powerpc/psim
powerpc/mvme3100 pre-patch though, so can't currently confirm it's
sorted.

Patch attached to update the 4.12 RSB build set to this GCC snapshot.

On Wed, 2016-01-20 at 07:49 +0100, Sebastian Huber wrote:
> Yes, this bug is still a problem for several PowerPC BSPs. I have no 
> time to work on this.
> 
> On 18/01/16 20:38, Joel Sherrill wrote:
> > Hi
> > 
> > Didn't this impact us? Did someone have a test case?
> > 
> > 
> > -------- Forwarded Message --------
> > Subject: [Bug debug/65779] [5/6 Regression] undefined local symbol
> > on 
> > powerpc [regression]
> > Date: Mon, 18 Jan 2016 13:34:58 -0600
> > From: jakub at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org>
> > To: j...@gcc.gnu.org <j...@gcc.gnu.org>
> > 
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65779
> > 
> > Jakub Jelinek <jakub at gcc dot gnu.org> changed:
> > 
> >            What    |Removed                     |Added
> > -------------------------------------------------------------------
> > --------- 
> > 
> >              Status|NEW                         |ASSIGNED
> >            Assignee|unassigned at gcc dot gnu.org      |jakub at
> > gcc 
> > dot gnu.org
> > 
> > --- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> > Created attachment 37389
> >   --> 
> > https://gcc.gnu.org/bugzilla/attachment.cgi?id=37389&action=edit
> > gcc6-pr65779.patch
> > 
> > Untested fix.
-- 
Nick Withers

Embedded Systems Programmer
Department of Nuclear Physics, Research School of Physics and Engineering
The Australian National University (CRICOS: 00120C)

From f4fec45db147ac328b858a74a89b9c42da0ad466 Mon Sep 17 00:00:00 2001
From: Nick Withers <nick.with...@anu.edu.au>
Date: Mon, 25 Jan 2016 18:46:35 +1100
Subject: [PATCH] Update to the GCC 6 20160124 snapshot, which notionally
 resolves https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65779

---
 rtems/config/4.12/rtems-default.bset               |  2 +-
 ...tems-gcc-6-20160124-newlib-2.3.0.20160104-1.cfg | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 rtems/config/tools/rtems-gcc-6-20160124-newlib-2.3.0.20160104-1.cfg

diff --git a/rtems/config/4.12/rtems-default.bset b/rtems/config/4.12/rtems-default.bset
index 563c422..e566f6a 100644
--- a/rtems/config/4.12/rtems-default.bset
+++ b/rtems/config/4.12/rtems-default.bset
@@ -3,6 +3,6 @@
 4.12/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-3bf8131ac6b263e54669d9c282c6f69395355435-1
-tools/rtems-gcc-6-20160117-newlib-2.3.0.20160104-1
+tools/rtems-gcc-6-20160124-newlib-2.3.0.20160104-1
 tools/rtems-gdb-7.9-1
 tools/rtems-tools-4.12-1
diff --git a/rtems/config/tools/rtems-gcc-6-20160124-newlib-2.3.0.20160104-1.cfg b/rtems/config/tools/rtems-gcc-6-20160124-newlib-2.3.0.20160104-1.cfg
new file mode 100644
index 0000000..bf58c6c
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-6-20160124-newlib-2.3.0.20160104-1.cfg
@@ -0,0 +1,22 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version    6-20160124
+%define newlib_version 2.3.0.20160104
+%define mpfr_version   2.4.2
+%define mpc_version    0.8.1
+%define gmp_version    4.3.2
+
+%hash sha512 gcc-6-20160124.tar.bz2 ab90e21b13ead10c58bd2ce17abf4ccffc81355f366c99e6bfce883d288198704d3510d447d48217d4a3e233120da20fc6335dce102ba2dc4785b28a745881da
+%hash sha512 newlib-2.3.0.20160104.tar.gz d83ce298b1b72eabf92e4ec14af3afdf3122e34aff5e320295a398df077235a78aa87148895b441a4f7de3047815e7ce13ea06a06135dd86b69a200236514293
+%hash sha512 mpfr-2.4.2.tar.bz2 c004b3dbf86c04960e4a1f8db37a409a7cc4cb76135e76e98dcc5ad93aaa8deb62334ee13ff84447a7c12a5e8cb57f25c62ac908c24920f1fb1a38d79d4a4c5e
+%hash sha512 mpc-0.8.1.tar.gz 14cb9ae3d33caed24d5ae648eed28b2e00ad047a8baeff25981129af88245b4def2948573d7a00d65c5bd34e53524aa6a7351b76703c9f888b41830c1a1daae2
+%hash sha512 gmp-4.3.2.tar.bz2 2e0b0fd23e6f10742a5517981e5171c6e88b0a93c83da701b296f5c0861d72c19782daab589a7eac3f9032152a0fc7eff7f5362db8fccc4859564a9aa82329cf
+
+%define with_threads 1
+%define with_plugin  0
+%define with_iconv   1
+
+%source set gcc ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_version}/gcc-%{gcc_version}.tar.bz2
+
+%include %{_configdir}/gcc-6-1.cfg
-- 
2.7.0

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to