|
From: | Han-Wen Nienhuys |
Subject: | Re: cannot build lilypond 2.6.3 on powerpc |
Date: | Sat, 15 Oct 2005 23:25:47 +0200 |
User-agent: | Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) |
Thomas Bushnell BSG wrote:
Thomas Bushnell BSG <address@hidden> writes:Ah, I have found the problem. The Debian package builds gf2pbm with optimization on (-O2). gf2pbm misbehaves when compiled with optimization, and works fine when compiled without.More specifically, failure happens with: -fschedule-insns -fstrict-aliasing -O But not with: -O or either of those -f optimizations alone.
there are some dodgy pointer casts in gf2pbm, specifically, gf2pbm.c: In functie $-1òøread_GF_charòù: gf2pbm.c:305: let op: initialization from incompatible pointer type BMUNIT *cp, *basep, *maxp; char **basep_cpp = &basep;GCC4 has become much more agressive with considering cast pointers as unaliased by definition, so I would suspect this one.
I'll try isolating it function by function now. Thomas
-- Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
[Prev in Thread] | Current Thread | [Next in Thread] |