This seems to be a gcc bug with very negative vcall_offsets in aarch64
multiple inheritance thunks. http://paste.ubuntu.com/6637563/ is an
example of two consecutive thunks, with the second adding 263 instead of
subtracting 264. aarch64_build_constant seems to not handle negative
integers. I tried a quick gcc patch to avoid using
aarch64_build_constant, and the coinor-osi tests succeed.

** Patch added: "gcc-4.8 patch"
   
https://bugs.launchpad.net/ubuntu/+source/coinor-osi/+bug/1263576/+attachment/3936335/+files/aarch64-add-constant-negative.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1263576

Title:
  coinor-osi fails to build from source on arm64 (but did succeed
  before)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to