[Bug 1853771] Re: GCC Building LLVM causes the entire computer to freeze, forcing me to reboot.
Matthias Klose
doko at ubuntu.com
Mon Nov 25 09:01:13 UTC 2019
there is no specific information where and how this happens.
** Package changed: gcc-defaults (Ubuntu) => llvm-toolchain-9 (Ubuntu)
** Changed in: llvm-toolchain-9 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1853771
Title:
GCC Building LLVM causes the entire computer to freeze, forcing me to
reboot.
Status in llvm-toolchain-9 package in Ubuntu:
Incomplete
Bug description:
Whenever I attempt to build LLVM using profiling with GCC, by the time
make reaches 100% and continuing to build the tests, the entire
computer freezes, with the hard drive moving and fans blaring, ever
single time.
This issue occurs by performing the following:
Prerequisite: Have cmake 3.15.5 nstalled
1. Download LLVM-project 8.0.1
2. Open terminal, and create a build folder in the LLVM project source directory
3. Enter that build folder, and using cmake, create Unix Makefiles, via this command, "cmake -DLLVM_BUILD_INSTRUMENTED=IR -DLLVM_BUILD_RUNTIME=No -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../llvm"
4. Type "make -j8 all CFLAGS='-flto -O3 -fprofile-arcs -ftest-coverage -fbranch-probabilities -fprofile-abs-path' CXXFLAGS='-flto -O3 -fprofile-arcs -ftest-coverage -fbranch-probabilities -fprofile-abs-path" and press Enter
When the build reaches 100%, notice how the machine freezes and forces
the user to restart
Expected Results:
gcc compiles the tests and product files without issue.
Actual Results:
GCC freezes and causes the entire computer to freeze up.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: g++ 4:9.2.1-3.1ubuntu1
ProcVersionSignature: Ubuntu 5.3.0-23.25-generic 5.3.7
Uname: Linux 5.3.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 24 15:06:10 2019
InstallationDate: Installed on 2019-11-20 (4 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gcc-defaults
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-9/+bug/1853771/+subscriptions
More information about the foundations-bugs
mailing list