<html>
    <head>
      <base href="http://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 --- - Building Firefox with -fsanitize=address fails with linker errors"
   href="http://llvm.org/bugs/show_bug.cgi?id=19162">19162</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Building Firefox with -fsanitize=address fails with linker errors
          </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>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>octoploid@yandex.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>...
make[5]: Entering directory '/var/tmp/moz-build-dir/memory/mozalloc'
libmozalloc.so
rm -f libmozalloc.so
/var/tmp/moz-build-dir/_virtualenv/bin/python
/var/tmp/mozilla-central/config/expandlibs_exec.py --depend
.deps/libmozalloc.so.pp --target libmozalloc.so --uselist --  clang++
-fsanitize=address -Qunused-arguments  -Qunused-arguments -Wall -Wpointer-arith
-Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast
-Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof
-Wno-inline-new-delete -Wno-c++0x-extensions -Wno-extended-offsetof
-Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags
-march=native -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions
-fno-math-errno -std=gnu++0x -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -g -O3
-fno-omit-frame-pointer  -fPIC -shared -Wl,-z,defs -Wl,-h,libmozalloc.so -o
libmozalloc.so  Unified_cpp_memory_mozalloc0.o   -lpthread
-Wl,--hash-style=gnu,--as-needed,--gc-sections,--icf=all,--icf-iterations=3
-Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id   
-Wl,-rpath-link,/var/tmp/moz-build-dir/dist/bin -Wl,-rpath-link,/usr/lib        
Executing: clang++ -fsanitize=address -Qunused-arguments -Qunused-arguments
-Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type
-Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Wsign-compare
-Wno-invalid-offsetof -Wno-inline-new-delete -Wno-c++0x-extensions
-Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage
-Wno-mismatched-tags -march=native -fno-exceptions -fno-strict-aliasing
-fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DDEBUG
-D_DEBUG -DTRACING -g -O3 -fno-omit-frame-pointer -fPIC -shared -Wl,-z,defs
-Wl,-h,libmozalloc.so -o libmozalloc.so
/var/tmp/moz-build-dir/memory/mozalloc/tmp2W5VhZ.list -lpthread
-Wl,--hash-style=gnu,--as-needed,--gc-sections,--icf=all,--icf-iterations=3
-Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id
-Wl,-rpath-link,/var/tmp/moz-build-dir/dist/bin -Wl,-rpath-link,/usr/lib
/var/tmp/moz-build-dir/memory/mozalloc/tmp2W5VhZ.list:
    INPUT("Unified_cpp_memory_mozalloc0.o")

../../dist/include/mozilla/RefPtr.h:98: error: undefined reference to
'__asan_report_store4'
/var/tmp/mozilla-central/memory/mozalloc/VolatileBufferFallback.cpp:20: error:
undefined reference to '__asan_report_store_n'
/var/tmp/mozilla-central/memory/mozalloc/VolatileBufferFallback.cpp:20: error:
undefined reference to '__asan_report_store_n'
/var/tmp/mozilla-central/memory/mozalloc/VolatileBufferFallback.cpp:25: error:
undefined reference to '__asan_report_load8'
/var/tmp/mozilla-central/memory/mozalloc/VolatileBufferFallback.cpp:25: error:
undefined reference to '__asan_report_load8'
../../dist/include/mozilla/Assertions.h:133: error: undefined reference to
'__asan_report_load8'
../../dist/include/mozilla/Assertions.h:133: error: undefined reference to
'__asan_report_load8'
/var/tmp/mozilla-central/memory/mozalloc/VolatileBufferFallback.cpp:29: error:
undefined reference to '__asan_report_store8'
/var/tmp/mozilla-central/memory/mozalloc/VolatileBufferFallback.cpp:25: error:
undefined reference to '__asan_report_store4'
/var/tmp/mozilla-central/memory/mozalloc/VolatileBufferFallback.cpp:26: error:
undefined reference to '__asan_report_store4'
/var/tmp/mozilla-central/memory/mozalloc/VolatileBufferFallback.cpp:25: error:
undefined reference to '__asan_handle_no_return'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc_abort.cpp:39: error:
undefined reference to '__asan_handle_no_return'
../../dist/include/mozilla/RefPtr.h:100: error: undefined reference to
'__asan_report_load4'
../../dist/include/mozilla/RefPtr.h:100: error: undefined reference to
'__asan_report_store4'
../../dist/include/mozilla/RefPtr.h:100: error: undefined reference to
'__asan_handle_no_return'
/var/tmp/mozilla-central/memory/mozalloc/VolatileBufferFallback.cpp:50: error:
undefined reference to '__asan_report_store8'
/var/tmp/mozilla-central/memory/mozalloc/VolatileBufferFallback.cpp:51: error:
undefined reference to '__asan_report_load4'
/var/tmp/mozilla-central/memory/mozalloc/VolatileBufferFallback.cpp:48: error:
undefined reference to '__asan_handle_no_return'
/var/tmp/mozilla-central/memory/mozalloc/VolatileBufferFallback.cpp:59: error:
undefined reference to '__asan_report_load4'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc_oom.cpp:29: error: undefined
reference to '__asan_option_detect_stack_use_after_return'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc_oom.cpp:29: error: undefined
reference to '__asan_stack_malloc_1'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc_oom.cpp:46: error: undefined
reference to '__asan_report_load1'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc_oom.cpp:46: error: undefined
reference to '__asan_report_store1'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc_oom.cpp:30: error: undefined
reference to '__asan_report_store_n'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc_oom.cpp:30: error: undefined
reference to '__asan_report_store_n'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc_oom.cpp:30: error: undefined
reference to '__asan_report_load_n'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc_oom.cpp:30: error: undefined
reference to '__asan_report_load_n'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc.cpp:171: error: undefined
reference to '__asan_report_load4'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc_oom.cpp:57: error: undefined
reference to '__asan_init_v3'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc_oom.cpp:57: error: undefined
reference to '__asan_register_globals'
/var/tmp/mozilla-central/memory/mozalloc/mozalloc_oom.cpp:57: error: undefined
reference to '__asan_unregister_globals'
clang-3.5: error: linker command failed with exit code 1 (use -v to see
invocation)
/var/tmp/mozilla-central/config/rules.mk:882: recipe for target
'libmozalloc.so' failed</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>