← Back to team overview

touch-packages team mailing list archive

[Bug 1513958] Re: arm64: failure with small objects passed on stack

 

This bug was fixed in the package libffi - 3.1~rc1+r3.0.13-12ubuntu0.1

---------------
libffi (3.1~rc1+r3.0.13-12ubuntu0.1) trusty; urgency=medium

  * Fix an AArch64 issue, taken from upstream:
    For any 1-16 byte structure not passed in registers, we weren't copying
    from the object to be passed, but from the array of objects.
    (LP: #1513958)

 -- dann frazier <dannf@xxxxxxxxxx>  Fri, 06 Nov 2015 13:33:54 -0700

** Changed in: libffi (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libffi in Ubuntu.
https://bugs.launchpad.net/bugs/1513958

Title:
  arm64: failure with small objects passed on stack

Status in libffi package in Ubuntu:
  Fix Released
Status in libffi source package in Trusty:
  Fix Released

Bug description:
  [Impact]
  It isn't possible to build newer versions of python-cffi on trusty/arm64 because it's test cases will fail due to this bug. The thing that's biting me is that cloud-archive:liberty is incomplete on arm64, making key packages uninstallable on arm64 (e.g. nova-compute).

  Additionally, libffi is used by several languages in Ubuntu (python,
  ruby, haskell, etc), so this may also be causing issues in the closed
  set of Ubuntu/trusty packages. I don't have evidence either way.

  [TestCase]
  Build python-cffi_1.1.2-1ubuntu2 from wily on trusty/arm64. With unfixed libffi, the build will fail during dh_auto_test in the
  "TestFFI.test_struct_by_value" test case.

  [Regression Risk]
  The fix is in the aarch64-specific code, so there's a negligible risk of regression on other platforms. This exact fix was included in vivid and wily and no regressions have been triaged to libffi in those releases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libffi/+bug/1513958/+subscriptions


References