<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [llvmpipe] mesa/src/gallium/auxiliary/util/u_dl.c:48: undefined reference to `dlopen'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61052">61052</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[llvmpipe] mesa/src/gallium/auxiliary/util/u_dl.c:48: undefined reference to `dlopen'
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vlee@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>mesa: dd599188d2868838541859a76800a8420958d358 (master)

$ make check
[...]
make  lp_test_format lp_test_arit lp_test_blend lp_test_conv lp_test_printf
make[1]: Entering directory `mesa/src/gallium/drivers/llvmpipe'
  CXXLD  lp_test_format
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(DynamicLibrary.o): In function
`llvm::sys::DynamicLibrary::getPermanentLibrary(char const*, std::string*)':
(.text+0x347): undefined reference to `dlopen'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(DynamicLibrary.o): In function
`llvm::sys::DynamicLibrary::getPermanentLibrary(char const*, std::string*)':
(.text+0x3ec): undefined reference to `dlclose'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(DynamicLibrary.o): In function
`llvm::sys::DynamicLibrary::getPermanentLibrary(char const*, std::string*)':
(.text+0x726): undefined reference to `dlerror'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(DynamicLibrary.o): In function
`llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(char const*)':
(.text+0xb8b): undefined reference to `dlsym'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(DynamicLibrary.o): In function
`llvm::sys::DynamicLibrary::getAddressOfSymbol(char const*)':
(.text+0xa6d): undefined reference to `dlsym'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(Signals.o): In function
`PrintStackTrace(void*)':
(.text+0x6c): undefined reference to `dladdr'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(Signals.o): In function
`PrintStackTrace(void*)':
(.text+0x18f): undefined reference to `dladdr'
../../auxiliary/.libs/libgallium.a(u_dl.o): In function `util_dl_open':
mesa/src/gallium/auxiliary/util/u_dl.c:48: undefined reference to `dlopen'
../../auxiliary/.libs/libgallium.a(u_dl.o): In function
`util_dl_get_proc_address':
mesa/src/gallium/auxiliary/util/u_dl.c:62: undefined reference to `dlsym'
../../auxiliary/.libs/libgallium.a(u_dl.o): In function `util_dl_close':
mesa/src/gallium/auxiliary/util/u_dl.c:75: undefined reference to `dlclose'
../../auxiliary/.libs/libgallium.a(u_dl.o): In function `util_dl_error':
mesa/src/gallium/auxiliary/util/u_dl.c:88: undefined reference to `dlerror'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(Mutex.o): In function
`llvm::sys::MutexImpl::MutexImpl(bool)':
(.text+0x41): undefined reference to `pthread_mutexattr_init'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(Mutex.o): In function
`llvm::sys::MutexImpl::MutexImpl(bool)':
(.text+0x4d): undefined reference to `pthread_mutexattr_settype'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(Mutex.o): In function
`llvm::sys::MutexImpl::MutexImpl(bool)':
(.text+0x57): undefined reference to `pthread_mutexattr_setpshared'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(Mutex.o): In function
`llvm::sys::MutexImpl::MutexImpl(bool)':
(.text+0x6a): undefined reference to `pthread_mutexattr_destroy'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(Mutex.o): In function
`llvm::sys::MutexImpl::tryacquire()':
(.text+0x108): undefined reference to `pthread_mutex_trylock'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(RWMutex.o): In function
`llvm::sys::RWMutexImpl::RWMutexImpl()':
(.text+0x2b): undefined reference to `pthread_rwlock_init'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(RWMutex.o): In function
`llvm::sys::RWMutexImpl::~RWMutexImpl()':
(.text+0x58): undefined reference to `pthread_rwlock_destroy'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(RWMutex.o): In function
`llvm::sys::RWMutexImpl::reader_acquire()':
(.text+0x78): undefined reference to `pthread_rwlock_rdlock'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(RWMutex.o): In function
`llvm::sys::RWMutexImpl::reader_release()':
(.text+0x98): undefined reference to `pthread_rwlock_unlock'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(RWMutex.o): In function
`llvm::sys::RWMutexImpl::writer_acquire()':
(.text+0xb8): undefined reference to `pthread_rwlock_wrlock'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(RWMutex.o): In function
`llvm::sys::RWMutexImpl::writer_release()':
(.text+0xd8): undefined reference to `pthread_rwlock_unlock'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(ThreadLocal.o): In function
`llvm::sys::ThreadLocalImpl::~ThreadLocalImpl()':
(.text+0x12): undefined reference to `pthread_key_delete'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(ThreadLocal.o): In function
`llvm::sys::ThreadLocalImpl::ThreadLocalImpl()':
(.text+0x6f): undefined reference to `pthread_key_create'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(ThreadLocal.o): In function
`llvm::sys::ThreadLocalImpl::setInstance(void const*)':
(.text+0x84): undefined reference to `pthread_setspecific'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(ThreadLocal.o): In function
`llvm::sys::ThreadLocalImpl::getInstance()':
(.text+0x94): undefined reference to `pthread_getspecific'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(Threading.o): In function
`llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int)':
(.text+0x13a): undefined reference to `pthread_create'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(Threading.o): In function
`llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int)':
(.text+0x14a): undefined reference to `pthread_join'
/usr/lib/llvm-3.2/lib/libLLVMSupport.a(Threading.o): In function
`llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int)':
(.text+0x178): undefined reference to `pthread_attr_setstacksize'
collect2: error: ld returned 1 exit status
make[1]: *** [lp_test_format] Error 1
make[1]: Leaving directory `mesa/src/gallium/drivers/llvmpipe'
make: *** [check-am] Error 2</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>