<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 - Crash when building Firefox with LTO with clang 7.0 rc1"
   href="https://bugs.llvm.org/show_bug.cgi?id=38597">38597</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash when building Firefox with LTO with clang 7.0 rc1
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>mh+llvm@glandium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is what is printed out when it fails:

PHI nodes not grouped at top of basic block!
  %703 = phi float [ undef, %606 ], [ undef, %610 ], [ undef, %658 ], [ %659,
%666 ], [ undef, %625 ], [ undef, %619 ], [ undef, %613 ]
label %699
LLVM ERROR: Broken function found, compilation aborted!
#0 0x00000000004cb2a4 PrintStackTraceSignalHandler(void*)
(/builds/worker/workspace/build/src/clang/bin/ld.lld+0x4cb2a4)
#1 0x00000000004c956e llvm::sys::RunSignalHandlers()
(/builds/worker/workspace/build/src/clang/bin/ld.lld+0x4c956e)
#2 0x00000000004cb4b2 SignalHandler(int)
(/builds/worker/workspace/build/src/clang/bin/ld.lld+0x4cb4b2)
#3 0x00007f7e5acbf0a0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0xf0a0)
#4 0x00000000018d35c7 llvm::BitcodeModule::getModuleImpl(llvm::LLVMContext&,
bool, bool, bool)
(/builds/worker/workspace/build/src/clang/bin/ld.lld+0x18d35c7)
#5 0x00000000018da644 llvm::BitcodeModule::parseModule(llvm::LLVMContext&)
(/builds/worker/workspace/build/src/clang/bin/ld.lld+0x18da644)
#6 0x0000000000eec0da (anonymous
namespace)::InProcessThinBackend::runThinLTOBackendThread(std::function<std::unique_ptr<llvm::lto::NativeObjectStream,
std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>,
std::function<std::function<std::unique_ptr<llvm::lto::NativeObjectStream,
std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)> (unsigned
int, llvm::StringRef)>, unsigned int, llvm::BitcodeModule,
llvm::ModuleSummaryIndex&, llvm::StringMap<std::unordered_set<unsigned long,
std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned
long> >, llvm::MallocAllocator> const&, std::unordered_set<unsigned long,
std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned
long> > const&, std::map<unsigned long, llvm::GlobalValue::LinkageTypes,
std::less<unsigned long>, std::allocator<std::pair<unsigned long const,
llvm::GlobalValue::LinkageTypes> > > const&, llvm::DenseMap<unsigned long,
llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long>,
llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*> > const&,
llvm::MapVector<llvm::StringRef, llvm::BitcodeModule,
llvm::DenseMap<llvm::StringRef, unsigned int,
llvm::DenseMapInfo<llvm::StringRef>,
llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >,
std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>,
std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > >&,
llvm::DenseMap<unsigned long, llvm::TinyPtrVector<std::pair<std::string const,
llvm::TypeIdSummary> const*>, llvm::DenseMapInfo<unsigned long>,
llvm::detail::DenseMapPair<unsigned long,
llvm::TinyPtrVector<std::pair<std::string const, llvm::TypeIdSummary> const*> >
>
const&)::'lambda'(std::function<std::unique_ptr<llvm::lto::NativeObjectStream,
std::default_delete<llvm::lto::NativeObjectStream> > (unsigned
int)>)::operator()(std::function<std::unique_ptr<llvm::lto::NativeObjectStream,
std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>) const
(/builds/worker/workspace/build/src/clang/bin/ld.lld+0xeec0da)
#7 0x0000000000eea637 std::_Function_handler<void (), std::_Bind<(anonymous
namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule,
llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>,
std::equal_to<unsigned long>, std::allocator<unsigned long> >,
llvm::MallocAllocator> const&, std::unordered_set<unsigned long,
std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned
long> > const&, std::map<unsigned long, llvm::GlobalValue::LinkageTypes,
std::less<unsigned long>, std::allocator<std::pair<unsigned long const,
llvm::GlobalValue::LinkageTypes> > > const&, llvm::MapVector<llvm::StringRef,
llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int,
llvm::DenseMapInfo<llvm::StringRef>,
llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >,
std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>,
std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > >
<span class="quote">>&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&,</span >
llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>,
std::equal_to<unsigned long>, std::allocator<unsigned long> >,
llvm::MallocAllocator> const&, std::unordered_set<unsigned long,
std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned
long> > const&, std::map<unsigned long, llvm::GlobalValue::LinkageTypes,
std::less<unsigned long>, std::allocator<std::pair<unsigned long const,
llvm::GlobalValue::LinkageTypes> > > const&, llvm::DenseMap<unsigned long,
llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long>,
llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*> > const&,
llvm::MapVector<llvm::StringRef, llvm::BitcodeModule,
llvm::DenseMap<llvm::StringRef, unsigned int,
llvm::DenseMapInfo<llvm::StringRef>,
llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >,
std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>,
std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > >&,
llvm::DenseMap<unsigned long, llvm::TinyPtrVector<std::pair<std::string const,
llvm::TypeIdSummary> const*>, llvm::DenseMapInfo<unsigned long>,
llvm::detail::DenseMapPair<unsigned long,
llvm::TinyPtrVector<std::pair<std::string const, llvm::TypeIdSummary> const*> >
<span class="quote">> const&) (llvm::BitcodeModule,</span >
std::reference_wrapper<llvm::ModuleSummaryIndex>,
std::reference_wrapper<llvm::StringMap<std::unordered_set<unsigned long,
std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned
long> >, llvm::MallocAllocator> const>,
std::reference_wrapper<std::unordered_set<unsigned long, std::hash<unsigned
long>, std::equal_to<unsigned long>, std::allocator<unsigned long> > const>,
std::reference_wrapper<std::map<unsigned long, llvm::GlobalValue::LinkageTypes,
std::less<unsigned long>, std::allocator<std::pair<unsigned long const,
llvm::GlobalValue::LinkageTypes> > > const>,
std::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*,
llvm::DenseMapInfo<unsigned long>, llvm::detail::DenseMapPair<unsigned long,
llvm::GlobalValueSummary*> > const>,
std::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule,
llvm::DenseMap<llvm::StringRef, unsigned int,
llvm::DenseMapInfo<llvm::StringRef>,
llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >,
std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>,
std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > > >,
std::reference_wrapper<llvm::DenseMap<unsigned long,
llvm::TinyPtrVector<std::pair<std::string const, llvm::TypeIdSummary> const*>,
llvm::DenseMapInfo<unsigned long>, llvm::detail::DenseMapPair<unsigned long,
llvm::TinyPtrVector<std::pair<std::string const, llvm::TypeIdSummary> const*> >
<span class="quote">> >)> >::_M_invoke(std::_Any_data const&)</span >
(/builds/worker/workspace/build/src/clang/bin/ld.lld+0xeea637)
#8 0x0000000001a46688
std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base,
std::__future_base::_Result_base::_Deleter> (),
std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>,
std::__future_base::_Result_base::_Deleter>, void> >::_M_invoke(std::_Any_data
const&) (/builds/worker/workspace/build/src/clang/bin/ld.lld+0x1a46688)
#9 0x0000000000517322
std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base,
std::__future_base::_Result_base::_Deleter> ()>&, bool&)
(/builds/worker/workspace/build/src/clang/bin/ld.lld+0x517322)
#10 0x00007f7e5acbc8a0 __pthread_once_internal
/build/eglibc-ZYONVs/eglibc-2.13/nptl/../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S:108:0
#11 0x0000000001a464db std::__future_base::_Task_state<std::function<void ()>,
std::allocator<int>, void ()>::_M_run()
(/builds/worker/workspace/build/src/clang/bin/ld.lld+0x1a464db)
#12 0x0000000001a45f28
std::thread::_Impl<std::_Bind_simple<llvm::ThreadPool::ThreadPool(unsigned
int)::$_0 ()> >::_M_run()
(/builds/worker/workspace/build/src/clang/bin/ld.lld+0x1a45f28)
#13 0x0000000001aa36a0 ~__shared_count
/builds/worker/workspace/build/gcc-objdir/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/shared_ptr_base.h:665:0
#14 0x0000000001aa36a0 ~__shared_ptr
/builds/worker/workspace/build/gcc-objdir/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/shared_ptr_base.h:914:0
#15 0x0000000001aa36a0 ~shared_ptr
/builds/worker/workspace/build/gcc-objdir/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/shared_ptr.h:93:0
#16 0x0000000001aa36a0 execute_native_thread_routine
/builds/worker/workspace/build/gcc-objdir/x86_64-unknown-linux-gnu/libstdc++-v3/src/c++11/../../../../../gcc-4.9.4/libstdc++-v3/src/c++11/thread.cc:95:0
#17 0x00007f7e5acb6b50 start_thread
/build/eglibc-ZYONVs/eglibc-2.13/nptl/pthread_create.c:304:0
#18 0x00007f7e59f45fbd clone
/build/eglibc-ZYONVs/eglibc-2.13/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:114:0
clang-7: error: unable to execute command: Segmentation fault
clang-7: error: linker command failed due to signal (use -v to see invocation)

I'm not sure how to make this report more useful.</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>