[arch-multilib] Bug with lib32-zlib PKGBUILD

Ng Oon-Ee ngoonee at gmail.com
Sat Aug 28 08:20:30 EDT 2010

On Sat, 2010-08-28 at 09:38 +0200, Rémy Oudompheng wrote:
> Ng Oon-Ee <ngoonee at gmail.com> wrote:
> > Hi all,
> >
> > Please reference this forum thread -
> > https://bbs.archlinux.org/viewtopic.php?pid=816770
> > And this submitted bug report - http://bugs.archlinux.org/task/20647
> >
> > Basically, the PKGBUILD for lib32-zlib has CFLAGS=${CFLAGS/-O2/-O3},
> > which is meant to remove optimization flags. What it does though is
> > remove the -O2 flag and add an -O3 flag, causing the segfaults I ran
> > across.
> Does it work when you build OpenSong from source ? lib32-gzip
> seems to pass all tests, it might be some sort of binary
> incompatibility ? It has no problems running in Valgrind.
> By the way, could we have in [multilib] the attached valgrind-x86 package
> or some modification of it ? The default valgrind only support x86_64, I'm
> not sure whether it's enough to just ship the missing files like I do
> (a split valgrind package would probably be best).

Not really possible to build from source, it uses RealBasic and I have
no idea how to use it, plus its 30-day trial and all that.

I'm just thinking there's a reason zlib is supposed to be compiled
without optimizations (as shown in the current PKGBUILD), just that the
line shown doesn't work as intended =)

More information about the arch-multilib mailing list