You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that on some older PPC systems I have, the SHA1 hashes created in git were failing since this code was included. When built with newer gcc compilers (e.g. gcc6) git would generate properly working binaries.
The stock Apple compilers are gcc-4.2 and less, and they don't generate the #defines needed to succeed in the current big endian tests. Forcing big endian with -DSHA1DC_FORCE_BIGENDIAN does work to create a working git.
Perhaps the big endian detection might be tweaked to add support for these older stock Apple compilers, and that would fix git on these systems.
I noticed that on some older PPC systems I have, the SHA1 hashes created in git were failing since this code was included. When built with newer gcc compilers (e.g. gcc6) git would generate properly working binaries.
The stock Apple compilers are gcc-4.2 and less, and they don't generate the #defines needed to succeed in the current big endian tests. Forcing big endian with
-DSHA1DC_FORCE_BIGENDIAN
does work to create a working git.Perhaps the big endian detection might be tweaked to add support for these older stock Apple compilers, and that would fix git on these systems.
Here's the output:
perhaps checking for
__APPLE__
and__BIG_ENDIAN__
would do it?The text was updated successfully, but these errors were encountered: