<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 - Can't compile with address sanitizer using clang3.9 trusty package"
   href="https://bugs.llvm.org/show_bug.cgi?id=34463">34463</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Can't compile with address sanitizer using clang3.9 trusty package
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.9
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>lectem@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I can't seem to link any application using clang3.9 from the ubuntu trusty
package when using -fsanitize=address.


The error is the following :

    /usr/bin/clang++-3.9 -fsanitize=address,undefined,integer
-fno-omit-frame-pointer -fno-sanitize=unsigned-integer-overflow
-D__extern_always_inline=inline -stdlib=libc++ -nostdinc++ -cxx-isystem
/usr/include/c++/v1/ -Wno-unused-command-line-argument
    CMakeFiles/cmTC_c37c8.dir/testCXXCompiler.cxx.o -o cmTC_c37c8
    /usr/bin/ld:
   
/usr/lib/llvm-3.9/bin/../lib/clang/3.9.1/lib/linux/libclang_rt.asan-x86_64.a(asan_allocator.cc.o):
    unrecognized relocation (0x2a) in section `.text'
    /usr/bin/ld: final link failed: Bad value


Here is my travis log :

<a href="https://travis-ci.org/Lectem/range-v3/jobs/271277307#L1417">https://travis-ci.org/Lectem/range-v3/jobs/271277307#L1417</a>


The very same travis build, but this time on Ubuntu precise works :

<a href="https://travis-ci.org/Lectem/range-v3/jobs/271278949">https://travis-ci.org/Lectem/range-v3/jobs/271278949</a></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>