[U-Boot] [PATCH 5/7] powerpc: Minimal private libgcc to build on Debian

Wolfgang Denk wd at denx.de
Mon Feb 21 22:23:37 CET 2011


Dear Kyle Moffett,

In message <1298311199-18775-6-git-send-email-Kyle.D.Moffett at boeing.com> you wrote:
> Standard Debian powerpc and powerpcspe systems only include hard-float
> libgcc in their native compilers, which causes scary build warnings when
> building U-Boot.
> 
> The easiest way to resolve this is to borrow the routines that U-Boot
> needs from the Linux kernel (GPLv2-licensed), which has the same issue.

Actually the code says "either version 2 of the License, or (at your
option) any later version", as far as I can tell ?


> Specifically, the routines are: _ashldi3(), _ashrdi3(), and _lshrdi3().

We have been building for years on such systems, and I don;t remember
that such issues have been reprted before for Power Architecture
systems (I remember only ARM to have such issues).

How comes this is suddenly popping up now?


Please also follow the rules when copying code from Linux - provide
exact reference; see bullet # 4 at
http://www.denx.de/wiki/view/U-Boot/Patches#Attributing_Code_Copyrights_Sign

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
"...one of the main causes of the fall of the Roman Empire was  that,
lacking  zero,  they had no way to indicate successful termination of
their C programs."                                     - Robert Firth


More information about the U-Boot mailing list