** Attachment removed: "log messages"
   
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-9/+bug/1853771/+attachment/5307550/+files/log%20messages

** Information type changed from Public to Private

** Summary changed:

- GCC Building LLVM causes the entire computer to freeze, forcing me to reboot. 
+ GCC Building LLVM causes the entire computer to freeze, forcing me to reboot

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to llvm-toolchain-9 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:
  Expired

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to