<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:grimar@accesssoftek.com" title="George Rimar <grimar@accesssoftek.com>"> <span class="fn">George Rimar</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - executable coredump under ubuntu 14.04 libgcc 4.8"
   href="https://bugs.llvm.org/show_bug.cgi?id=32615">bug 32615</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>grimar@accesssoftek.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>ASSIGNED
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - executable coredump under ubuntu 14.04 libgcc 4.8"
   href="https://bugs.llvm.org/show_bug.cgi?id=32615#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - executable coredump under ubuntu 14.04 libgcc 4.8"
   href="https://bugs.llvm.org/show_bug.cgi?id=32615">bug 32615</a>
              from <span class="vcard"><a class="email" href="mailto:grimar@accesssoftek.com" title="George Rimar <grimar@accesssoftek.com>"> <span class="fn">George Rimar</span></a>
</span></b>
        <pre>I installed ubuntu 14.04 VM to check this. And used precompiled "Clang for
x86_64 Ubuntu 14.04" package from <a href="http://releases.llvm.org/download.html#4.0.0">http://releases.llvm.org/download.html#4.0.0</a>
page.

Issue reporduced from me with LLD from package:
(I have to add -lm to invocation because had undefined symbol 'pow' error)

umb@ubuntu:~/temp/test/original$
./clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/ld.lld -v
LLD 4.0.0
umb@ubuntu:~/temp/test/original$
./clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang-4.0 test.cpp -o test
-std=c++1z -stdlib=libc++ -fuse-ld=lld -static -lc++ -lc++abi -lpthread -lm
umb@ubuntu:~/temp/test/original$ ./test
Segmentation fault (core dumped)

Then I built LLD head and replaced old LLD with it:

umb@ubuntu:~/temp/test$
./clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/ld.lld -v
LLD 5.0.0 (trunk 307837) (compatible with GNU linkers)
umb@ubuntu:~/temp/test$
./clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang-4.0 test.cpp -o test
-std=c++1z -stdlib=libc++ -fuse-ld=lld -static -lc++ -lc++abi -lpthread -lm
umb@ubuntu:~/temp/test$ ./test
1umb@ubuntu:~/temp/test$ 

As can be seen HEAD LLD works fine here, issue is fixed.</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>