[php-maint] Bug#481737: Bug#481737: PHP 5.2.6 with suhosin 0.9.6.2 causes bus errors

Raphael Geissert atomo64 at gmail.com
Sun Jun 15 16:08:00 UTC 2008


Hello,

On Sunday 15 June 2008, Stefan Esser wrote:
> Hello,
>
> if I see correctly you are using an old GCC on a sparc. And Suhosin
> crashs with a bus error.

I probably was not very clear on my previous message, my bad.

As you can see in [1] it crashes in arm, armel, ia64, and sparc, so it is not 
sparc-specific.
All the build logs available are from build attempts using gcc 4.3.0.

So could you please take a look at it?

As stated in the bug report, Stefan Fritsch already made some build attempts 
on arm with gcc 4.3.

>
> Well that is no suprise. Older GCC on sparc for some reason optimizes a
> memcpy() away into direct memory access. Of course this is illegal,
> because this results in not aligned memory address.
>
> Solution: Use a fixed compiler.
>
> Stefan
> Esser
>
> > At Debian while packaging the version 5.2.6 of PHP we have found a
> > problem[1] caused by suhosin[2].
> >
> > The original suhosin patch has been massaged a little. For more
> > information, including a copy of the patch used, please refer to [3].
> >
> > Hope this information is useful to fix the bug, as we would like to ship
> > php 5.2.6 + suhosin in Debian's next release, lenny.
> >
> > [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481737
> > [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481737#25
> > [3]
> > http://svn.debian.org/viewsvn/*checkout*/pkg-php/php5/tags/5.2.6-1/debian
> >/patches/suhosin.patch?content-type=text%2Fplain
> >
> > Thanks in advance.
> >
> > Kind regards,
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint

[1] http://buildd.debian.org/build.cgi?pkg=php5

Thanks in advance.

Kind regards,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20080615/3d822706/attachment.pgp 


More information about the pkg-php-maint mailing list