Gentoo Archives: gentoo-dev

From: Ryan Phillips <rphillips@g.o>
To: Vitaly Kushneriuk <vitaly_kushneriuk@×××××.com>
Cc: gentoo-dev@g.o
Subject: Re: [gentoo-dev] strange gcc 3.1 mod_php and libgd / libpng issue
Date: Wed, 07 Aug 2002 03:41:40
Message-Id: 20020807014135.22e03e1d.rphillips@gentoo.org
In Reply to: Re: [gentoo-dev] strange gcc 3.1 mod_php and libgd / libpng issue by Vitaly Kushneriuk
1 On 07 Aug 2002 09:08:10 +0300
2 Vitaly Kushneriuk <vitaly_kushneriuk@×××××.com> wrote:
3
4 > On Wed, 2002-08-07 at 02:57, Corvus Corax wrote:
5 > > I dont want to bother anyone but i had a problem and i dunno if its a bug / reproducable or just bad luck:
6 > >
7 > > with libpng-1.2.4
8 > >
9 > > the gdlib functions ImagecreatefromPNG(); and ImagePNG(); in a php script via apache and mod_php dont work.
10 > >
11 > > strange thing is, there is no error message and phpinfo reports that php wouls support pngs since png support is compiled in.
12 > >
13 > > the php script returns NO data, not even if there should be debug / error messages before the usage of ImageCreatefromPNG
14 > >
15 > > with libpng-1.0.12-r1 everything works fine
16 > >
17 > > i checked other versions of gdlib and mod_php, too which had the same bug
18 > > always everything compiled fine and started without error messages.
19 > >
20 > > is this a known elder bug? or is it my gcc 3.1?
21 > >
22 > > maybe mod_php should have an depend <=libpng-1.0.12 somewhere in it from now on, but i dont know what causes this error, if its the gcc, it should be checked gcc dependent.
23 > >
24 > > can anyone try to reproduce this bug, or tell if its allready known? maybe it should be posted to the bug reports, if reproducable.
25 > >
26 > I had a ssimilar problem, only in my case php segfaults. See bug #5444
27 > http://bugs.gentoo.org/show_bug.cgi?id=5444
28
29 Bug #5216 is also the same issue.
30
31 -ryan