← Back to team overview

touch-packages team mailing list archive

[Bug 1415481] [NEW] default mmap_min_addr for arm64 prevents running arm32 applications

 

Public bug reported:

Executing 32-bit arm binaries as user fails on arm64:

# file hello
hello: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV),
statically linked, for GNU/Linux 2.6.32,
BuildID[sha1]=c37a3b366d645eee600963a535370fa0bad9b2c0, not stripped
# ./hello
hello world
# su - linaro
$ /root/hello
Segmentation fault

Root cause was identified to /etc/sysctl.d/10-zeropage.conf, which is
set on arm64 to 65536. To run legacy binaries, this should be set to
32768 like on armhf anr armel.

Reference discussion:

http://lists.infradead.org/pipermail/linux-arm-
kernel/2015-January/320454.html

Affects trusty, utopic and vivid

** Affects: procps (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  default mmap_min_addr for arm64 prevents running arm32 applications

Status in procps package in Ubuntu:
  New

Bug description:
  Executing 32-bit arm binaries as user fails on arm64:

  # file hello
  hello: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV),
  statically linked, for GNU/Linux 2.6.32,
  BuildID[sha1]=c37a3b366d645eee600963a535370fa0bad9b2c0, not stripped
  # ./hello
  hello world
  # su - linaro
  $ /root/hello
  Segmentation fault

  Root cause was identified to /etc/sysctl.d/10-zeropage.conf, which is
  set on arm64 to 65536. To run legacy binaries, this should be set to
  32768 like on armhf anr armel.

  Reference discussion:

  http://lists.infradead.org/pipermail/linux-arm-
  kernel/2015-January/320454.html

  Affects trusty, utopic and vivid

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


Follow ups

References