<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - test/ELF/linkerscript/empty-tls.s fails for me locally"
   href="https://llvm.org/bugs/show_bug.cgi?id=28827">28827</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>test/ELF/linkerscript/empty-tls.s fails for me locally
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>COFF
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>nicolasweber@gmx.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I hadn't synced in a while on this box. I synced and ran `ninja check-lld` and
this happened:

[1762/1763] Running lld test suite
FAIL: lld :: ELF/linkerscript/empty-tls.s (607 of 795)
******************** TEST 'lld :: ELF/linkerscript/empty-tls.s' FAILED
********************
Script:
--
/usr/local/google/home/thakis/src/llvm-build/./bin/llvm-mc -filetype=obj
-triple=x86_64-pc-linux
/usr/local/google/home/thakis/src/llvm-rw/tools/lld/test/ELF/linkerscript/empty-tls.s
-o
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.tmp.o
echo  "PHDRS { ph_tls PT_TLS; }" >
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.tmp.script
/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld -o
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.tmp.so
-T
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.tmp.script
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.tmp.o
-shared
/usr/local/google/home/thakis/src/llvm-build/./bin/llvm-readobj -l
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.tmp.so
| /usr/local/google/home/thakis/src/llvm-build/./bin/FileCheck
/usr/local/google/home/thakis/src/llvm-rw/tools/lld/test/ELF/linkerscript/empty-tls.s
--
Exit Code: 139

Command Output (stderr):
--
#0 0x0000000000633f15 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld+0x633f15)
#1 0x0000000000631f6e llvm::sys::RunSignalHandlers()
(/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld+0x631f6e)
#2 0x00000000006320d2 SignalHandler(int)
(/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld+0x6320d2)
#3 0x00007ff4cefc4330 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x10330)
#4 0x000000000056a3fd
lld::elf::LinkerScript<llvm::object::ELFType<(llvm::support::endianness)1,
true> >::createPhdrs()
(/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld+0x56a3fd)
#5 0x00000000005f1ba0 void
lld::elf::writeResult<llvm::object::ELFType<(llvm::support::endianness)1, true>
<span class="quote">>(lld::elf::SymbolTable<llvm::object::ELFType<(llvm::support::endianness)1,</span >
true> >*) (/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld+0x5f1ba0)
#6 0x000000000052486f void
lld::elf::LinkerDriver::link<llvm::object::ELFType<(llvm::support::endianness)1,
true> >(llvm::opt::InputArgList&)
(/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld+0x52486f)
#7 0x0000000000489b36 lld::elf::LinkerDriver::main(llvm::ArrayRef<char const*>)
(/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld+0x489b36)
#8 0x00000000005275f9 lld::elf::link(llvm::ArrayRef<char const*>,
llvm::raw_ostream&)
(/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld+0x5275f9)
#9 0x000000000048925c main
(/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld+0x48925c)
#10 0x00007ff4ce1d7f45 __libc_start_main
/build/eglibc-oGUzwX/eglibc-2.19/csu/libc-start.c:321:0
#11 0x00000000004db59f _start
(/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld+0x4db59f)
Stack dump:
0.    Program arguments:
/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld -o
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.tmp.so
-T
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.tmp.script
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.tmp.o
-shared 
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.script:
line 4: 104465 Segmentation fault      (core dumped)
/usr/local/google/home/thakis/src/llvm-build/./bin/ld.lld -o
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.tmp.so
-T
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.tmp.script
/usr/local/google/home/thakis/src/llvm-build/tools/lld/test/ELF/linkerscript/Output/empty-tls.s.tmp.o
-shared</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>