Bug 94137 - build error - incompatible types in assignment of 'unsigned int*' to 'uint [3] {aka unsigned int [3]}'
Summary: build error - incompatible types in assignment of 'unsigned int*' to 'uint [3...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2016-02-13 19:48 UTC by Fabio Pedretti
Modified: 2016-02-14 10:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Fabio Pedretti 2016-02-13 19:48:17 UTC
CXX      core/libclover_la-kernel.lo
../../../../../../src/gallium/state_trackers/clover/core/kernel.cpp: In member function 'void clover::kernel::launch(clover::command_queue&, const std::vector<unsigned int>&, const std::vector<unsigned int>&, const std::vector<unsigned int>&)':
../../../../../../src/gallium/state_trackers/clover/core/kernel.cpp:79:15: error: incompatible types in assignment of 'unsigned int*' to 'uint [3] {aka unsigned int [3]}'
    info.block = pad_vector(q, block_size, 1).data(),
               ^
../../../../../../src/gallium/state_trackers/clover/core/kernel.cpp:80:14: error: incompatible types in assignment of 'unsigned int*' to 'uint [3] {aka unsigned int [3]}'
    info.grid = pad_vector(q, reduced_grid_size, 1).data(),
              ^
../../../../../../src/gallium/state_trackers/clover/core/kernel.cpp:81:41: error: 'const struct clover::module' has no member named 'sysm'
    info.pc = find(name_equals(_name), m.sysm).offset;
                                         ^
make[4]: *** [core/libclover_la-kernel.lo] Error 1

Full log here:
https://launchpadlibrarian.net/238406354/buildlog_ubuntu-xenial-i386.mesa_11.2~git1602131930.b410ed~gd~x_BUILDING.txt.gz
Comment 1 Samuel Pitoiset 2016-02-13 20:01:42 UTC
Hi,

Yes, I know that I did break clover with my compute shader series, sorry for that.

A bugfix has been already sent by Serge Martin:
https://lists.freedesktop.org/archives/mesa-dev/2016-February/107540.html

It should be upstream really soon.

Thanks.
Comment 2 Samuel Pitoiset 2016-02-14 10:03:45 UTC
Fixed.

commit a4cff1859efedac37368c1ddc55b091b6cd3eb65
Author: Serge Martin <edb+mesa@sigluy.net>
Date:   Sat Feb 13 23:39:22 2016 +0100

    clover: fix build failure since bfd695e
    
    Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
    Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
    Reviewed-by: Francisco Jerez <currojerez@riseup.net>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.