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

Wolfgang Denk wd at denx.de
Thu Nov 10 06:32:45 CET 2011


Dear Mike Frysinger,

In message <201111092310.56181.vapier at gentoo.org> you 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

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
He is truly wise who gains wisdom from another's mishap.


More information about the U-Boot mailing list