[Mesa-dev] [Bug 62883] New: draw/draw_gs.c:684:4: error: implicit declaration of function 'draw_get_option_use_llvm' [-Werror=implicit-function-declaration]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 28 15:08:54 PDT 2013


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

          Priority: medium
            Bug ID: 62883
          Keywords: regression
                CC: zackr at vmware.com
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: draw/draw_gs.c:684:4: error: implicit declaration of
                    function 'draw_get_option_use_llvm'
                    [-Werror=implicit-function-declaration]
          Severity: blocker
    Classification: Unclassified
                OS: All
          Reporter: vlee at freedesktop.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

mesa: 9ad914191716631169427f44e08078812ce38ff8

$ ./autogen.sh --with-dri-drivers= --with-gallium-drivers=svga,swrast
--enable-gallium-llvm=no
[...]
$ make
[...]
  CC     draw/draw_gs.lo
In file included from draw/draw_gs.c:28:0:
draw/draw_gs.h:136:41: warning: 'struct draw_gs_llvm_variant' declared inside
parameter list [enabled by default]
draw/draw_gs.h:136:41: warning: its scope is only this definition or
declaration, which is probably not what you want [enabled by default]
draw/draw_gs.c: In function 'draw_create_geometry_shader':
draw/draw_gs.c:684:4: error: implicit declaration of function
'draw_get_option_use_llvm' [-Werror=implicit-function-declaration]
draw/draw_gs.c: At top level:
draw/draw_gs.c:803:41: warning: 'struct draw_gs_llvm_variant' declared inside
parameter list [enabled by default]
draw/draw_gs.c:802:6: error: conflicting types for
'draw_gs_set_current_variant'
draw/draw_gs.h:135:6: note: previous declaration of
'draw_gs_set_current_variant' was here
draw/draw_gs.c: In function 'draw_gs_set_current_variant':
draw/draw_gs.c:805:10: error: 'struct draw_geometry_shader' has no member named
'current_variant'
cc1: some warnings being treated as errors

e96f4e3b853ff5fe4d927c69695c0b5f1966d448 is the first bad commit
commit e96f4e3b853ff5fe4d927c69695c0b5f1966d448
Author: Zack Rusin <zackr at vmware.com>
Date:   Mon Feb 18 04:00:19 2013 -0800

    gallium/llvm: implement geometry shaders in the llvm paths

    This commits implements code generation of the geometry shaders in
    the SOA paths. All the code is there but bugs are likely present.

    Signed-off-by: Zack Rusin <zackr at vmware.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

:040000 040000 3e402aa649d27d70f4b2a1481038737873d81982
23436fbded4ca6db7db3c45a4fa47b0bc203190b M    src
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/20130328/59ce9302/attachment.html>


More information about the mesa-dev mailing list