<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - llvm-9.01 builds llvm-tblgen but it seg faults when called"
   href="https://bugs.llvm.org/show_bug.cgi?id=46058">46058</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-9.01 builds llvm-tblgen but it seg faults when called
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>9.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Sun
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: Sparc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nicolc@uleth.ca
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>