Control: severity -1 serious
Control: retitle -1 Incorrect use of DEB_HOST_GNU_CPU leads to baseline 
violation on armel

Subject: Re: openh264: FTBFS on x32
Followup-For: Bug #1013097
Source: openh264
Version: 2.3.1+dfsg-2
User: debian-...@lists.debian.org
Usertags: armel
X-Debbugs-CC: debian-...@lists.debian.org

Hello!

This is actually a much more serious issue as the incorrect usage of 
DEB_HOST_GNU_CPU
leads to a baseline violation on at least armel where the package is being 
built with
"-march=armv7-a -mfpu=neon" while armel is armv5t. As a result, openh264 would 
crash
on any armel machine.

The severity of this bug report therefore needs to be raised to serious and the 
ARCH
detection mechanism in debian/rules needs to be rewritten to not use 
DEB_HOST_GNU_CPU
which is not the correct variable to be queried.

Instead, one must query DEB_HOST_ARCH and set ARCH accordingly in the case of 
amd64
which needs to be mapped to x86_64. Alternatively, we can patch 
build/platform-linux.mk
to match the architectures correctly.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to