On Tue, Sep 18, 2001 at 10:27:37PM +0200, Josip Rodin wrote: > On Mon, Sep 17, 2001 at 12:16:56PM -0500, Jeff Licquia wrote: > > Package: xmms > > Version: 1.2.5-2 > > > > Attempting to play an MP3 file on xmms on ia64 causes an immediate > > crash of the app. The problem was solved by turning off optimization > > when building (i.e. no -O2). > > > > This was using gcc 2.96 (the default gcc for ia64). Building with gcc > > 3.0 may fix the problem, but this is currently impossible because of > > broken deps for gcc 3.0 for ia64. If this were to fix the problem, > > then xmms for ia64 should probably Build-Depend on gcc 3, and should > > take steps to ensure that gcc 3 is used to do the build. Otherwise, > > optimization should simply be turned off if DEB_BUILD_ARCH is ia64. > > Er. So, what do I do? :)
Sorry if that was a bit opaque. For now, I'd recommend just turning off -O2. Something like this in debian/rules, maybe? ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" "" CFLAGS := -g else ifeq "$(shell dpkg-architecture -qDEB_BUILD_ARCH)" "ia64" CFLAGS := "" else CFLAGS := -O2 endif endif

