Project

General

Profile

Bug #1797

ARM64 build and stability issues

Added by Jim Phillips 4 months ago. Updated 3 months ago.

Status:
Merged
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
03/27/2018
Due date:
% Done:

100%


Description

When building on ARM64, the multicore-arm build uses 32-bit version of boost-context library, causing build failure. The problem this bit in the main build script:

if test `echo "$BASEVERSION" | grep -c "arm"` -gt 0
then
UFCONTEXT_HEADER_NAME="arm_aapcs_${UFCONTEXT_HEADER_NAME}"
elif test `echo "$BASEVERSION" | grep -c "mips"` -gt 0

After changing the build script to use arm64 it builds successfully, but megatest crashes part way through (it runs to completion with v6.8.2), with Valgrind showing some dodgy stack behaviour. This happens on an Arm Cortex-A57 as well, so it's not specific to ThunderX2.


Subtasks

Bug #1798: uFcontext thread support for 64-bit ARM systemsMergedSeonmyeong Bak

Bug #1837: uFcontext thread issue on ARM 64 bit systemsNewSeonmyeong Bak

History

#1 Updated by Eric Bohm 4 months ago

  • Assignee set to Ronak Buch

#2 Updated by Eric Bohm 4 months ago

Someone in NAMD group should take on arm64 support. Ronak, please reassign as appropriate.

#3 Updated by Evan Ramos 4 months ago

If there is any need for help with testing, I personally own a Raspberry Pi 3 and have an ARM64 installation on an SD card. To my understanding, the uFcontext subtask is the majority of the problem, so when a fix for that is ready I could test it.

#4 Updated by Ronak Buch 4 months ago

  • Assignee changed from Ronak Buch to Karthik Senthil

#5 Updated by Sam White 3 months ago

Patch for uFcontext threads support: https://charm.cs.illinois.edu/gerrit/#/c/3847/

That just needs testing validation

#6 Updated by Sam White 3 months ago

  • Assignee deleted (Karthik Senthil)
  • Status changed from New to Merged
  • Category deleted (Machine Layers)

Evan confirmed that making context threads the default has fixed the ARM 64-bit builds.

Also available in: Atom PDF