[Mesa-dev] [Bug 59835] New: ir_constant_expression.cpp:156: undefined reference to `_mesa_round_to_even'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 24 21:58:23 PST 2013


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

          Priority: medium
            Bug ID: 59835
          Keywords: regression
                CC: chad.versace at linux.intel.com
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: ir_constant_expression.cpp:156: undefined reference to
                    `_mesa_round_to_even'
          Severity: blocker
    Classification: Unclassified
                OS: All
          Reporter: vlee at freedesktop.org
          Hardware: All
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

mesa: 0974031f88c31458792864b2f3a46ff885607ab1 (master)

$ scons
[...]
  Linking build/linux-x86_64-debug/glsl/builtin_compiler/builtin_compiler ...
build/linux-x86_64-debug/glsl/ir_constant_expression.o: In function
`pack_snorm_1x16':
mesa.bisect/src/glsl/ir_constant_expression.cpp:156: undefined reference to
`_mesa_round_to_even'
build/linux-x86_64-debug/glsl/ir_constant_expression.o: In function
`pack_unorm_1x16':
mesa.bisect/src/glsl/ir_constant_expression.cpp:192: undefined reference to
`_mesa_round_to_even'
build/linux-x86_64-debug/glsl/ir_constant_expression.o: In function
`pack_half_1x16':
mesa.bisect/src/glsl/ir_constant_expression.cpp:219: undefined reference to
`_mesa_float_to_half'
build/linux-x86_64-debug/glsl/ir_constant_expression.o: In function
`unpack_half_1x16':
mesa.bisect/src/glsl/ir_constant_expression.cpp:228: undefined reference to
`_mesa_half_to_float'

eac030e38e3cdd4ed4534516e3d3a50c8a372719 is the first bad commit
commit eac030e38e3cdd4ed4534516e3d3a50c8a372719
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Wed Jan 16 19:49:40 2013 -0800

    mesa,glsl: Move round_to_even() from glsl to mesa/main (v2)

    Move round_to_even's definition to mesa/main so that _mesa_float_to_half()
    can use it in order to eliminate rounding bias.

    In additon to moving the fuction definition, prefix its name with "_mesa",
    just as all other functions in mesa/main are prefixed.

    v2: Fix Android build.

    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

:040000 040000 60f8318121190570b92106da62352dd407e0b19e
61e7bc463c6b611cf6613968c99c8593115a5642 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/20130125/5100c746/attachment.html>


More information about the mesa-dev mailing list