[U-Boot] ppc -Os and _restgpr_##_x errors

Mike Frysinger vapier at gentoo.org
Thu Nov 10 18:05:17 CET 2011


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 


More information about the U-Boot mailing list