[Bug 1709727] Re: asan causes hangs on arm64
Launchpad Bug Tracker
1709727 at bugs.launchpad.net
Wed Oct 4 17:11:20 UTC 2017
This bug was fixed in the package gcc-5 - 5.4.0-6ubuntu1~16.04.5
---------------
gcc-5 (5.4.0-6ubuntu1~16.04.5) xenial-proposed; urgency=medium
* SRU
* Fix PR target/77267 (x86), taken from the trunk. LP: #1623418.
* Fix hangs w/ asan binaries on arm64 (Dann Frazier). LP: #1709727.
* Linaro branch only: Fix PR target/79041, aarch64 backend emitting
R_AARCH64_ADR_PREL_PG_HI21 relocation despite -mpc-relative-literal-loads
option being used (Dan Frazier). LP: #1695093.
-- Matthias Klose <doko at ubuntu.com> Wed, 23 Aug 2017 11:35:00 +0200
** Changed in: gcc-5 (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-5 in Ubuntu.
https://bugs.launchpad.net/bugs/1709727
Title:
asan causes hangs on arm64
Status in gcc-5 package in Ubuntu:
Fix Released
Status in gcc-6 package in Ubuntu:
Fix Released
Status in gcc-5 source package in Xenial:
Fix Released
Status in gcc-6 source package in Xenial:
Invalid
Status in gcc-5 source package in Zesty:
Triaged
Status in gcc-6 source package in Zesty:
Triaged
Bug description:
[Impact]
Binaries built w/ asan support hang on arm64. This causes many timeouts during the test phase of a gcc build, causing builds to need ~24 hours to complete.
[Test Case]
$ cat test.c
#include <stdio.h>
void main() {
printf("hi.\n");
}
$ gcc test.c -g -fsanitize=address -fno-omit-frame-pointer test.c -o test
$ ./test
==46644==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_allocator.h:844 "((res)) < ((kNumPossibleRegions))" (0xffffb4b, 0x8000000)
[... HANG ...]
Plus see the tests in the libasan testsuite succeed.
[Regression Risk]
None, unless the 48bit-vma support is removed again from the kernel. Can't find the corresponding kernel SRU which explained the regression potential in this kernel change.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1709727/+subscriptions
More information about the foundations-bugs
mailing list