FTBFS with NEON on arm64

Bug #1323144 reported by Logan Rosen on 2014-05-26
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libav (Debian)
Fix Released
Unknown
libav (Ubuntu)
High
Reinhard Tartler

Bug Description

The latest version of libav in utopic-proposed/unstable (6:10.1-1) fails to build from source with NEON enabled. The relevant build log is here: https://launchpadlibrarian.net/176152432/buildlog_ubuntu-utopic-arm64.libav_6%3A10.1-1_FAILEDTOBUILD.txt.gz

One suggestion on IRC was to simply disable NEON on arm64 for libav, but there might be another possible approach to fixing this.

Logan Rosen (logan) on 2014-05-26
summary: - FTBFS with neon on arm64
+ FTBFS with NEON on arm64
tags: added: ftbfs
Changed in libav (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Reinhard Tartler (siretart) wrote :

Can someone please if this patch fixes this problem?

diff --git a/configure b/configure
index 05acff5..4d5d2b5 100755
--- a/configure
+++ b/configure
@@ -3652,6 +3652,11 @@ EOF

     [ $target_os != win32 ] && enabled_all armv6t2 shared !pic && enable_weak_pic

+ # https://bugs.launchpad.net/bugs/1323144
+ if enabled pic; then
+ disable neon
+ fi
+
 elif enabled mips; then

     check_inline_asm loongson '"dmult.g $1, $2, $3"'

Revision history for this message
Reinhard Tartler (siretart) wrote :

I believe the linked branch fixes this issue, but I'd appreciate testing (I don't have the hardware available to test myself)

Revision history for this message
Reinhard Tartler (siretart) wrote :

This may be the correct fix that does not require disabling neon:

https://git.libav.org/?p=libav.git;a=commitdiff;h=34fb994d9340313b0d247899a4a7a97cc010df92;hp=e780c3daafe0588e035e752c771ebfcd2201746a

Again, testing appreciated

Changed in libav (Ubuntu):
assignee: nobody → Reinhard Tartler (siretart)
Revision history for this message
Reinhard Tartler (siretart) wrote :

libav (6:10.1-1ubuntu1) utopic; urgency=low

  * add patch to fix FTBFS on ppc64el, LP: #1263802
  * add patch to fix FTBFS on arm64, LP: #1323144
 -- Reinhard Tartler <email address hidden> Thu, 29 May 2014 07:34:56 -0400

Changed in libav (Debian):
status: Unknown → New
Changed in libav (Debian):
status: New → Confirmed
Changed in libav (Ubuntu):
status: Triaged → Fix Released
Changed in libav (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.