<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 fails to bootstrap on RISC-V"
   href="https://bugs.llvm.org/show_bug.cgi?id=43634">43634</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm fails to bootstrap on RISC-V
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>schwab@suse.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>FAILED: bin/opt 
: &&
/home/abuild/rpmbuild/BUILD/llvm-project-10.0.0svn.7016.gd1170dbe583/llvm/stage1/bin/clang++
 -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=0
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -fPIC -fvisibility-inlines-hidden
-std=c++14 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough
-Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
-Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -O2
-g -DNDEBUG  -Wl,--build-id=sha1 -Wl,-allow-shlib-undefined  
-Wl,--export-dynamic 
-Wl,-rpath-link,/home/abuild/rpmbuild/BUILD/llvm-project-10.0.0svn.7016.gd1170dbe583/llvm/build/./lib64
 -Wl,-O3 tools/opt/CMakeFiles/opt.dir/AnalysisWrappers.cpp.o
tools/opt/CMakeFiles/opt.dir/BreakpointPrinter.cpp.o
tools/opt/CMakeFiles/opt.dir/Debugify.cpp.o
tools/opt/CMakeFiles/opt.dir/GraphPrinters.cpp.o
tools/opt/CMakeFiles/opt.dir/NewPMDriver.cpp.o
tools/opt/CMakeFiles/opt.dir/PassPrinters.cpp.o
tools/opt/CMakeFiles/opt.dir/PrintSCC.cpp.o
tools/opt/CMakeFiles/opt.dir/opt.cpp.o  -o bin/opt 
-Wl,-rpath,"\$ORIGIN/../lib64" -lpthread lib64/libPolly.a
lib64/libLLVM.so.10svn lib64/libPollyISL.a && :
lib64/libPolly.a(ScopDetection.cpp.o): in function `__gthread_once(int*, void
(*)())':
/usr/lib64/gcc/riscv64-suse-linux/9/../../../../include/c++/9/riscv64-suse-linux/bits/gthr-default.h:700:(.text._ZN4llvm38initializeScopDetectionWrapperPassPassERNS_12PassRegistryE+0x5c):
relocation truncated to fit: R_RISCV_JAL against undefined symbol
`pthread_once'
lib64/libPolly.a(ScopInfo.cpp.o): in function `__gthread_once(int*, void
(*)())':
/usr/lib64/gcc/riscv64-suse-linux/9/../../../../include/c++/9/riscv64-suse-linux/bits/gthr-default.h:700:(.text._ZN4llvm32initializeScopInfoRegionPassPassERNS_12PassRegistryE+0x5c):
relocation truncated to fit: R_RISCV_JAL against undefined symbol
`pthread_once'
/usr/lib64/gcc/riscv64-suse-linux/9/../../../../include/c++/9/riscv64-suse-linux/bits/gthr-default.h:700:(.text._ZN4llvm33initializeScopInfoWrapperPassPassERNS_12PassRegistryE+0x5c):
relocation truncated to fit: R_RISCV_JAL against undefined symbol
`pthread_once'
lib64/libPolly.a(IslAst.cpp.o): in function `__gthread_once(int*, void (*)())':
/usr/lib64/gcc/riscv64-suse-linux/9/../../../../include/c++/9/riscv64-suse-linux/bits/gthr-default.h:700:(.text._ZN4llvm35initializeIslAstInfoWrapperPassPassERNS_12PassRegistryE+0x5c):
relocation truncated to fit: R_RISCV_JAL against undefined symbol
`pthread_once'
lib64/libPolly.a(CodeGeneration.cpp.o): in function
`llvm::TrackingMDRef::untrack()':
/home/abuild/rpmbuild/BUILD/llvm-project-10.0.0svn.7016.gd1170dbe583/llvm/build/../include/llvm/IR/TrackingMDRef.h:89:(.text._ZN4llvm28initializeCodeGenerationPassERNS_12PassRegistryE+0x5c):
relocation truncated to fit: R_RISCV_JAL against undefined symbol
`pthread_once'
lib64/libPolly.a(JSONExporter.cpp.o): in function
`llvm::raw_ostream::operator<<(llvm::StringRef)':
/home/abuild/rpmbuild/BUILD/llvm-project-10.0.0svn.7016.gd1170dbe583/llvm/build/../include/llvm/Support/raw_ostream.h:188:(.text._ZN4llvm26initializeJSONExporterPassERNS_12PassRegistryE+0x5c):
relocation truncated to fit: R_RISCV_JAL against undefined symbol
`pthread_once'
lib64/libPolly.a(JSONExporter.cpp.o): in function
`__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/lib64/gcc/riscv64-suse-linux/9/../../../../include/c++/9/ext/new_allocator.h:128:(.text._ZN4llvm26initializeJSONImporterPassERNS_12PassRegistryE+0x5c):
relocation truncated to fit: R_RISCV_JAL against undefined symbol
`pthread_once'
lib64/libPolly.a(PruneUnprofitable.cpp.o): in function `__gthread_once(int*,
void (*)())':
/usr/lib64/gcc/riscv64-suse-linux/9/../../../../include/c++/9/riscv64-suse-linux/bits/gthr-default.h:700:(.text._ZN4llvm31initializePruneUnprofitablePassERNS_12PassRegistryE+0x5c):
relocation truncated to fit: R_RISCV_JAL against undefined symbol
`pthread_once'
lib64/libPolly.a(CodegenCleanup.cpp.o): in function `__gthread_once(int*, void
(*)())':
/usr/lib64/gcc/riscv64-suse-linux/9/../../../../include/c++/9/riscv64-suse-linux/bits/gthr-default.h:700:(.text._ZN4llvm28initializeCodegenCleanupPassERNS_12PassRegistryE+0x5c):
relocation truncated to fit: R_RISCV_JAL against undefined symbol
`pthread_once'
clang-10: error: linker command failed with exit code 1 (use -v to see
invocation)</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>