<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 --- - src/glsl/glcpp/imports.h:161: undefined reference to `sqrtf'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=58446">58446</a>
</td>
</tr>
<tr>
<th>Keywords</th>
<td>regression
</td>
</tr>
<tr>
<th>CC</th>
<td>emil.l.velikov@gmail.com
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>src/glsl/glcpp/imports.h:161: undefined reference to `sqrtf'
</td>
</tr>
<tr>
<th>Severity</th>
<td>blocker
</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: dc613f11ddf1f3a6e10c2d99830fb1a84fdb55b2 (master)
The debug automake build of swrast now fails with the Open64 compiler. The
regular build (non-debug) of swrast builds okay.
$ ./autogen.sh --enable-debug --with-dri-drivers=swrast --with-gallium-drivers=
$ make
[...]
make[5]: Entering directory `src/glsl/glcpp'
CCLD glcpp
opencc WARNING: unknown flag: -fno-builtin-memcmp
opencc WARNING: -O2 conflicts with -O0; using latter value (-O0)
prog_hash_table.o: In function `INV_SQRTF':
src/glsl/glcpp/imports.h:161: undefined reference to `sqrtf'
glcpp.o: In function `u_tsd_init':
src/glsl/glcpp/u_thread.h:118: undefined reference to `pthread_key_create'
glcpp.o: In function `u_tsd_get':
src/glsl/glcpp/u_thread.h:132: undefined reference to `pthread_getspecific'
glcpp.o: In function `u_tsd_set':
src/glsl/glcpp/u_thread.h:142: undefined reference to `pthread_setspecific'
./.libs/libglcpp.a(pp.o): In function `INV_SQRTF':
src/glsl/glcpp/imports.h:161: undefined reference to `sqrtf'
./.libs/libglcpp.a(pp.o): In function `LEN_3FV':
src/glsl/glcpp/macros.h:707: undefined reference to `sqrtf'
./.libs/libglcpp.a(pp.o): In function `LEN_2FV':
src/glsl/glcpp/macros.h:713: undefined reference to `sqrtf'
./.libs/libglcpp.a(pp.o): In function `u_tsd_init':
src/glsl/glcpp/u_thread.h:118: undefined reference to `pthread_key_create'
./.libs/libglcpp.a(pp.o): In function `u_tsd_get':
src/glsl/glcpp/u_thread.h:132: undefined reference to `pthread_getspecific'
./.libs/libglcpp.a(pp.o): In function `u_tsd_set':
src/glsl/glcpp/u_thread.h:142: undefined reference to `pthread_setspecific'
./.libs/libglcpp.a(glcpp-parse.o): In function `INV_SQRTF':
src/glsl/glcpp/imports.h:161: undefined reference to `sqrtf'
./.libs/libglcpp.a(glcpp-parse.o): In function `LEN_3FV':
src/glsl/glcpp/macros.h:707: undefined reference to `sqrtf'
./.libs/libglcpp.a(glcpp-parse.o): In function `LEN_2FV':
src/glsl/glcpp/macros.h:713: undefined reference to `sqrtf'
./.libs/libglcpp.a(glcpp-parse.o): In function `u_tsd_init':
src/glsl/glcpp/u_thread.h:118: undefined reference to `pthread_key_create'
./.libs/libglcpp.a(glcpp-parse.o): In function `u_tsd_get':
src/glsl/glcpp/u_thread.h:132: undefined reference to `pthread_getspecific'
./.libs/libglcpp.a(glcpp-parse.o): In function `u_tsd_set':
src/glsl/glcpp/u_thread.h:142: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
122345876479cf5cf553e38162ab105658614ab7 is the first bad commit
commit 122345876479cf5cf553e38162ab105658614ab7
Author: Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>>
Date: Wed Dec 12 14:59:36 2012 +0000
configure.ac: Disable compiler optimizations when --enable-debug is set
Signed-off-by: Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>>
Reviewed-by: Dan Nicholson <<a href="mailto:dbn.lists@gmail.com">dbn.lists@gmail.com</a>>
Reviewed-by: Chad Versace <<a href="mailto:chad.versace@linux.intel.com">chad.versace@linux.intel.com</a>>
:100644 100644 a133902c69fe327c5a46c0e037878e63fe4b5d9b
1294740a482a86bb45fa3b510591f9e2b65b4f65 M configure.ac
bisect run success</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>