[llvm-bugs] [Bug 46058] New: llvm-9.01 builds llvm-tblgen but it seg faults when called

via llvm-bugs llvm-bugs at lists.llvm.org
Sun May 24 12:33:09 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46058

            Bug ID: 46058
           Summary: llvm-9.01 builds llvm-tblgen but it seg faults when
                    called
           Product: libraries
           Version: 9.0
          Hardware: Sun
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: Sparc
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolc at uleth.ca
                CC: llvm-bugs at lists.llvm.org

Firefox on FreeBSD 12.1, SunBlade 100 (sparc64) requires llvm-90, which starts
to get built, and completes build of llvm-tblgen but when that is called to
generate include files, llvm-tblgen seg faults and dumps core. Below is a
log...

===>  Building for llvm90-9.0.1_1
[0/1] /usr/local/bin/cmake --regenerate-during-build
-S/usr/ports/devel/llvm90/work/llvm-9.0.1.src
-B/usr/ports/devel/llvm90/work/.build
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/local/bin/gcc9
-- Check for working C compiler: /usr/local/bin/gcc9
-- Check for working C compiler: /usr/local/bin/gcc9 - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/bin/g++9
-- Check for working CXX compiler: /usr/local/bin/g++9 - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at
least "4.7.1" (found Z3_LIBRARIES-NOTFOUND)
-- Native target architecture is Sparc
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Ninja version: 1.10.0
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- OCaml bindings disabled.
-- LLVM host triple: sparc64-portbld-freebsd12.1
-- LLVM default target triple: sparc64-portbld-freebsd12.1
-- Building with -fPIC
-- Constructing LLVMBuild project information
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Linker detection: GNU ld
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Targeting AArch64
-- Targeting AMDGPU
-- Targeting ARM
-- Targeting BPF
-- Targeting Hexagon
-- Targeting Lanai
-- Targeting Mips
-- Targeting MSP430
-- Targeting NVPTX
-- Targeting PowerPC
-- Targeting RISCV
-- Targeting Sparc
-- Targeting SystemZ
-- Targeting WebAssembly
-- Targeting X86
-- Targeting XCore
-- Clang version: 9.0.1
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Sphinx enabled.
-- Sphinx enabled.
-- LLD version: 9.0.1
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Sphinx enabled.
-- LLDB version: 9.0.1
-- Symbols (liblldb): exporting all symbols from the lldb namespace
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Could NOT find epydoc
-- Sphinx enabled.
-- Sphinx enabled.
-- Version: 0.0.0
-- Performing Test HAVE_GNU_POSIX_REGEX -- success
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/ports/devel/llvm90/work/.build
[1/4955] cd /usr/ports/devel/llvm90/work/.build &&
/usr/ports/devel/llvm90/work/.build/bin/llvm-tblgen -gen-attrs -I
/usr/ports/devel/llvm90/work/llvm-9.0.1.src/include/llvm/IR -I
/usr/ports/devel/llvm90/work/llvm-9.0.1.src/include
/usr/ports/devel/llvm90/work/llvm-9.0.1.src/include/llvm/IR/Attributes.td -o
include/llvm/IR/Attributes.inc -d include/llvm/IR/Attributes.inc.d
FAILED: include/llvm/IR/Attributes.inc 
cd /usr/ports/devel/llvm90/work/.build &&
/usr/ports/devel/llvm90/work/.build/bin/llvm-tblgen -gen-attrs -I
/usr/ports/devel/llvm90/work/llvm-9.0.1.src/include/llvm/IR -I
/usr/ports/devel/llvm90/work/llvm-9.0.1.src/include
/usr/ports/devel/llvm90/work/llvm-9.0.1.src/include/llvm/IR/Attributes.td -o
include/llvm/IR/Attributes.inc -d include/llvm/IR/Attributes.inc.d
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/devel/llvm90
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/devel/llvm90
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/firefox
*** Error code 1

Stop.
make: stopped in /usr/ports/www/firefox

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200524/ebbcdd1d/attachment-0001.html>


More information about the llvm-bugs mailing list