On Feb 21, 2011, at 16:23, Wolfgang Denk wrote:
> In message <1298311199-18775-6-git-send-email-kyle.d.moff...@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 ?

Ah, sorry, I dropped the "+" in there somehow.  Will fix.


>> 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).

Debian/RedHat used to build "nof" libraries, but they were almost completely 
unused and several major bugs went unnoticed for a while.  Furthermore, they 
took a lot of time to build and they basically did not get used.

Eventually it was decided to just remove the "nof" (soft-float) libgcc, etc.

It's not actually fatal right now, because the 3 routines that it pulls from 
hard-float libgcc don't use floating point (you just get a nasty warning).  The 
problem is that if somebody were to accidentally use one of the 
hard-float-based routines in U-Boot I would unexpectedly get indeterminate 
results instead of compile errors.


> 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

Will fix, thanks!

Cheers,
Kyle Moffett

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to