Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hang on Debian ARM64 QEMU Chroot #61

Closed
noloader opened this issue Nov 6, 2015 · 1 comment
Closed

Hang on Debian ARM64 QEMU Chroot #61

noloader opened this issue Nov 6, 2015 · 1 comment
Labels
arm64 Bug gcc-4 GCC compiler version 4 gcc-5 GCC compiler version 5 Linux

Comments

@noloader
Copy link
Collaborator

noloader commented Nov 6, 2015

László Böszörményi of Debian reports a hang near "BlumBlumShub validation suite running..." when testing under Debian QEMU Chroot for ARM64. The hang is present under GCC 5.1, but is not present under Clang on the same machine.


The issue is present with both -std=c++03, -std=c++11. Following GCC miscompiles my code when optimizing..., its also present with -fno-strict-aliasing. On other platforms and compilers, using the following produces no findings or problems: -Wall -Wextra -Wstrict-aliasing=3 -Wstrict-overflow -Waggressive-loop-optimizations. In fact, that's our "Elevated Warnings" test case (with a few more warnings added.

The issue appears to related to inlining. The issue is present with -free and -findirect-inlining. Building with -fno-inline or -fno-devirtualize resolves it at the expense of performance.

An additional issue is the GDB debugger does not work. It can start the program and even attach to the process, but that's about it. It can't break, and it does not provide symbols. LLDB is not available on this platform.


The hang is not present in GCC's compile farm using gcc113.fsffrance.org or gcc115.fsffrance.org:

$ uname -a
Linux gcc113 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:31:00 UTC 2015 aarch64 aarch64 aarch64 GNU/Linux
$ gcc --version
gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.

The hang is present on a LeMaker HiKey:

$ uname -a
Linux hikey 3.18.0-linaro-hikey #1 SMP PREEMPT Mon Nov 30 00:11:03 UTC 2015 aarch64 GNU/Linux
$ gcc --version
gcc (Debian/Linaro 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.

A HTC Desire 510 and a Samsung Galaxy Core-Prime with a Cortex-A53 (ARMv8-a) were ordered for additional on-device testing. But both devices did not live up to their press releases, and they came with 32-bit ARMv7.

A DragonBoard 410c kit and LeMaker HiKey were ordered for additional on-device testing.

@noloader noloader changed the title Hang on ARM64 Debian QEMU Chroot Hang on Debian ARM64 QEMU Chroot Nov 6, 2015
@noloader noloader added this to the 5.7 milestone Nov 6, 2015
@noloader noloader added the Bug label Nov 6, 2015
@noloader noloader added gcc-5 GCC compiler version 5 Linux labels Jan 4, 2016
@noloader
Copy link
Collaborator Author

noloader commented Jan 8, 2016

Cleared at Commit 3941be18891a6a87

@noloader noloader closed this as completed Jan 8, 2016
@noloader noloader added arm64 gcc-4 GCC compiler version 4 labels Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm64 Bug gcc-4 GCC compiler version 4 gcc-5 GCC compiler version 5 Linux
Projects
None yet
Development

No branches or pull requests

1 participant