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

          Priority: medium
            Bug ID: 58446
          Keywords: regression
                CC: [email protected]
          Assignee: [email protected]
           Summary: src/glsl/glcpp/imports.h:161: undefined reference to
                    `sqrtf'
          Severity: blocker
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          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 <[email protected]>
Date:   Wed Dec 12 14:59:36 2012 +0000

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

    Signed-off-by: Emil Velikov <[email protected]>
    Reviewed-by: Dan Nicholson <[email protected]>
    Reviewed-by: Chad Versace <[email protected]>

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to