[Mesa-dev] [Bug 58446] New: src/glsl/glcpp/imports.h:161: undefined reference to `sqrtf'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 17 22:54:47 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=58446

          Priority: medium
            Bug ID: 58446
          Keywords: regression
                CC: emil.l.velikov at gmail.com
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: src/glsl/glcpp/imports.h:161: undefined reference to
                    `sqrtf'
          Severity: blocker
    Classification: Unclassified
                OS: Linux (All)
          Reporter: vlee at freedesktop.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Other
           Product: Mesa

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 <emil.l.velikov at gmail.com>
Date:   Wed Dec 12 14:59:36 2012 +0000

    configure.ac: Disable compiler optimizations when --enable-debug is set

    Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
    Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>
    Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

:100644 100644 a133902c69fe327c5a46c0e037878e63fe4b5d9b
1294740a482a86bb45fa3b510591f9e2b65b4f65 M    configure.ac
bisect run success

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121218/14949bb6/attachment.html>


More information about the mesa-dev mailing list