Package Details: llvm70 7.0.1-1

Git Clone URL: https://aur.archlinux.org/llvm70.git (read-only, click to copy)
Package Base: llvm70
Description: LLVM compiler toolchain, version 7.0 (installed under /opt/llvm70)
Upstream URL: https://llvm.org/
Licenses: custom:University of Illinois/NCSA Open Source License
Submitter: Bevan
Maintainer: Bevan
Last Packager: Bevan
Votes: 0
Popularity: 0.000000
First Submitted: 2019-12-01 21:35
Last Updated: 2019-12-01 21:35

Latest Comments

satcom886 commented on 2020-02-12 19:10

Hi, I just got a segmentation fault while building this. It only happened in my first attempt however. The second attempt seems to have gotten past this part without issues. Here is the output from the first attempt:

[406/2824] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TwoAddressInstructionPass.cpp.o
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TwoAddressInstructionPass.cpp.o 
/usr/bin/c++  -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/CodeGen -I../lib/CodeGen -I/usr/include/libxml2 -Iinclude -I../include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wno-class-memaccess -Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG    -fno-exceptions -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TwoAddressInstructionPass.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TwoAddressInstructionPass.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TwoAddressInstructionPass.cpp.o -c ../lib/CodeGen/TwoAddressInstructionPass.cpp
In file included from ../include/llvm/ADT/Optional.h:23,
                 from ../include/llvm/ADT/STLExtras.h:20,
                 from ../include/llvm/ADT/StringRef.h:13,
                 from ../include/llvm/ADT/StringMap.h:17,
                 from ../include/llvm/Support/Host.h:17,
                 from ../include/llvm/ADT/Hashing.h:49,
                 from ../include/llvm/ADT/ArrayRef.h:13,
                 from ../include/llvm/ADT/DenseMapInfo.h:17,
                 from ../include/llvm/ADT/DenseMap.h:17,
                 from ../lib/CodeGen/TwoAddressInstructionPass.cpp:30:
/usr/include/c++/9.2.1/algorithm:62: internal compiler error: Segmentation fault
   62 | #include <bits/stl_algo.h>
      | 
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
[408/2824] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TargetSubtargetInfo.cpp.o
In file included from ../include/llvm/CodeGen/TargetSubtargetInfo.h:22,
                 from ../lib/CodeGen/TargetSubtargetInfo.cpp:14:
../include/llvm/CodeGen/SchedulerRegistry.h: In constructor ‘llvm::RegisterScheduler::RegisterScheduler(const char*, const char*, llvm::RegisterScheduler::FunctionPassCtor)’:
../include/llvm/CodeGen/SchedulerRegistry.h:40:52: warning: cast between incompatible function types from ‘llvm::RegisterScheduler::FunctionPassCtor’ {aka ‘llvm::ScheduleDAGSDNodes* (*)(llvm::SelectionDAGISel*, llvm::CodeGenOpt::Level)’} to ‘llvm::MachinePassCtor’ {aka ‘void* (*)()’} [-Wcast-function-type]
   40 |   : MachinePassRegistryNode(N, D, (MachinePassCtor)C)
      |                                                    ^
ninja: build stopped: subcommand failed.