[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#825963: libwebp: Please build with --enable-aligned to avoid bus errors in external packages



Source: libwebp
Version: 0.4.4-1+b2
Severity: normal
User: debian-sparc@lists.debian.org
Usertags: sparc64

Hello!

src:graphicsmagick currently fails to build from source on sparc64 as
libwebp is built without passing "--enable-aligned" to configure [1].

Could you please make sure that "--enable-aligned" is passed to configure
in debian/rules? If you don't want to pass the option on all architectures,
feel free to limit this scenario to "sparc64" and "sparc", e.g.:

# Force aligned memory operations in non-dsp code on sparc*
ifneq (,$(findstring $(DEB_HOST_ARCH),sparc sparc64))
      dh_auto_configure -- --enable-libwebpmux --enable-libwebpdemux --enable-aligned
else
      dh_auto_configure -- --enable-libwebpmux --enable-libwebpdemux
endif

"sparc" should be included as we still keep this architecture in rebootstrap [2].

Thanks,
Adrian

> [1] https://sourceforge.net/p/graphicsmagick/bugs/388/
> [2] https://jenkins.debian.net/view/rebootstrap/

--
 .''`.  John Paul Adrian Glaubitz
 : :' :  Debian Developer - glaubitz@debian.org
 `. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: