mgorny-nyan (he) :autism:🙀🚂🐧 on Nostr: Today is the day I've used #GDB. With a #Python #C extension. On #SPARC. What could ...
Today is the day I've used #GDB. With a #Python #C extension. On #SPARC.
What could it be if the package fails on some integer math on SPARC, but works on PPC64 (big endian)? Well, it turns out that it's because `char` is signed on SPARC.
And the author decided to cast a `const unsigned char *` parameter into a `const char *` variable, for no apparent reason. Sigh.
https://github.com/ICRAR/crc32c/pull/44
#portability #Gentoo
What could it be if the package fails on some integer math on SPARC, but works on PPC64 (big endian)? Well, it turns out that it's because `char` is signed on SPARC.
And the author decided to cast a `const unsigned char *` parameter into a `const char *` variable, for no apparent reason. Sigh.
https://github.com/ICRAR/crc32c/pull/44
#portability #Gentoo