From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Thu, 10 Nov 2011 12:05:17 -0500 Subject: [U-Boot] ppc -Os and _restgpr_##_x errors In-Reply-To: <20111110053245.20C90189301C@gemini.denx.de> References: <201111092310.56181.vapier@gentoo.org> <20111110053245.20C90189301C@gemini.denx.de> Message-ID: <201111101205.18300.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 10 November 2011 00:32:45 Wolfgang Denk wrote: > Mike Frysinger wrote: > > am i the only one seeing errors like: > > board/esd/cpciiser4/libcpciiser4.o: In function `board_early_init_f': > > board/esd/cpciiser4/cpciiser4.c:139: undefined reference to > > `_restgpr_26_x' > > > > i'm using a gcc-4.5.x toolchain here. should we import crtsavres.S from > > Linux to fix this ? > > No, we should not. You should switch to a compiler version where this > problem has been fixed. See second entry at > http://www.denx.de/wiki/U-Boot/GccBugsAndIssues thanks ... upgrading to gcc-4.6.2 from gcc-4.5.3 fixed things. when i read the gcc thread, it sounded like it wasn't optional behavior, but i guess they changed that with gcc-4.6.x. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111110/e27a0ac6/attachment.pgp