Bug#322821: png problems on powerpc and s390 (was: Bug#322821: libpng12-0: new version breaks pdflatex)
On 9/27/05, Frank Küster <firstname.lastname@example.org> wrote:
> Johannes Berg <email@example.com> wrote:
> > On Mon, 2005-09-26 at 18:54 -0400, Albert Cahalan wrote:
> >> The gimp is currently broken as well. It can't save PNG images.
> >> In the xterm I started gimp from, I get this:
> >> libpng error: Call to NULL write function
> > I had that problem with imagemagick's convert(1) and gimp as well. But
> > again? That's odd as 1.2.8rel-1.0.1 fixed that for me, and it works in
> > 1.2.8rel-2 as well. Works in -4 as well, which one do you have
> > installed?
> > Maybe there's some unintentional ABI change because some padding in the
> > png structures was different/wrong?
> It seems as if this problem might not be powerpc-specific, but also
> occur on s390:
Being from EBCDIC land, s390 probably also has an unsigned char by default.
(dang this is dumb - all Linux ports should use the same default)
There's also endianness, but that would affect many more architectures.
Alignment seems to be the same between ppc and i386. (not that I would
know or care about bitfields)