All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 41740] New: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error
@ 2011-10-13  3:35 bugzilla-daemon
  2011-10-13  9:09 ` [Bug 41740] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-10-13  3:35 UTC (permalink / raw)
  To: dri-devel

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

           Summary: Mesa 7.12-devel gallium/state_trackers/d3d1x
                    compilation error
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: wolput@onsneteindhoven.nl


Compiling Mesa 7.12-devel configured with --enable-d3d1x shows the folowing
error:
---
In file included from d3d11.cpp:220:0:
d3d11_context.h: In member function ‘void
GalliumD3D11DeviceContext<PtrTraits>::init_context()’:
d3d11_context.h:153:34: error: ‘screen’ was not declared in this scope
d3d11.cpp: In function ‘HRESULT GalliumD3D11DeviceCreate(pipe_screen*,
pipe_context*, BOOL, unsigned int, IDXGIAdapter*, ID3D11Device**)’:
d3d11.cpp:224:200: error: new declaration ‘HRESULT
GalliumD3D11DeviceCreate(pipe_screen*, pipe_context*, BOOL, unsigned int,
IDXGIAdapter*, ID3D11Device**)’
../gd3dapi/galliumd3d11.h:65:10: error: ambiguates old declaration ‘HRESULT
GalliumD3D11DeviceCreate(pipe_screen*, pipe_context*, BOOL, unsigned int,
IDXGIAdapter*, ID3D11Device**)’
In file included from d3d11.cpp:220:0:
d3d11_context.h: In member function ‘HRESULT
GalliumD3D11DeviceContext<PtrTraits>::Map(ID3D11Resource*, unsigned int,
D3D11_MAP, unsigned int, D3D11_MAPPED_SUBRESOURCE*) [with PtrTraits =
nonatomic_device_child_ptr_traits, HRESULT = int, ID3D11Resource =
ID3D11Resource, D3D11_MAP = D3D11_MAP, D3D11_MAPPED_SUBRESOURCE =
D3D11_MAPPED_SUBRESOURCE]’:
d3d11.cpp:231:1:   instantiated from here
d3d11_context.h:1484:12: warning: unused variable ‘face’ [-Wunused-variable]
d3d11_context.h: In member function ‘void
GalliumD3D11DeviceContext<PtrTraits>::CopySubresourceRegion(ID3D11Resource*,
unsigned int, unsigned int, unsigned int, unsigned int, ID3D11Resource*,
unsigned int, const D3D11_BOX*) [with PtrTraits =
nonatomic_device_child_ptr_traits, ID3D11Resource = ID3D11Resource, D3D11_BOX =
D3D11_BOX]’:
d3d11.cpp:231:1:   instantiated from here
d3d11_context.h:1545:12: warning: unused variable ‘dst_face’
[-Wunused-variable]
d3d11_context.h:1547:12: warning: unused variable ‘src_face’
[-Wunused-variable]
make[5]: *** [d3d11.o] Error 1
make[5]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers/d3d1x/gd3d11'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers/d3d1x'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers'
make[2]: *** [default] Error 1
make[2]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src/gallium'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src'
make: *** [default] Error 1
---
Make Mesa 7.11 produces a similar error.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 41740] Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error
  2011-10-13  3:35 [Bug 41740] New: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error bugzilla-daemon
@ 2011-10-13  9:09 ` bugzilla-daemon
  2011-10-13 10:52 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-10-13  9:09 UTC (permalink / raw)
  To: dri-devel

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

Christoph Bumiller <e0425955@student.tuwien.ac.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Christoph Bumiller <e0425955@student.tuwien.ac.at> 2011-10-13 02:09:40 PDT ---
Fixed in mesa/master with f1f7645f23bd11fb54a992cdbe9ef0a6ee0136f3.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 41740] Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error
  2011-10-13  3:35 [Bug 41740] New: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error bugzilla-daemon
  2011-10-13  9:09 ` [Bug 41740] " bugzilla-daemon
@ 2011-10-13 10:52 ` bugzilla-daemon
  2011-10-17  2:33 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-10-13 10:52 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Jos van Wolput <wolput@onsneteindhoven.nl> 2011-10-13 03:52:54 PDT ---
(In reply to comment #1)
> Fixed in mesa/master with f1f7645f23bd11fb54a992cdbe9ef0a6ee0136f3.
Still some errors:
---
d3d11.cpp: In function ‘HRESULT GalliumD3D11DeviceCreate(pipe_screen*,
pipe_context*, BOOL, unsigned int, IDXGIAdapter*, ID3D11Device**)’:
d3d11.cpp:224:200: error: new declaration ‘HRESULT
GalliumD3D11DeviceCreate(pipe_screen*, pipe_context*, BOOL, unsigned int,
IDXGIAdapter*, ID3D11Device**)’
../gd3dapi/galliumd3d11.h:65:10: error: ambiguates old declaration ‘HRESULT
GalliumD3D11DeviceCreate(pipe_screen*, pipe_context*, BOOL, unsigned int,
IDXGIAdapter*, ID3D11Device**)’
In file included from d3d11.cpp:220:0:
d3d11_context.h: In member function ‘HRESULT
GalliumD3D11DeviceContext<PtrTraits>::Map(ID3D11Resource*, unsigned int,
D3D11_MAP, unsigned int, D3D11_MAPPED_SUBRESOURCE*) [with PtrTraits =
nonatomic_device_child_ptr_traits, HRESULT = int, ID3D11Resource =
ID3D11Resource, D3D11_MAP = D3D11_MAP, D3D11_MAPPED_SUBRESOURCE =
D3D11_MAPPED_SUBRESOURCE]’:
d3d11.cpp:231:1:   instantiated from here
d3d11_context.h:1482:12: warning: unused variable ‘face’ [-Wunused-variable]
d3d11_context.h: In member function ‘void
GalliumD3D11DeviceContext<PtrTraits>::CopySubresourceRegion(ID3D11Resource*,
unsigned int, unsigned int, unsigned int, unsigned int, ID3D11Resource*,
unsigned int, const D3D11_BOX*) [with PtrTraits =
nonatomic_device_child_ptr_traits, ID3D11Resource = ID3D11Resource, D3D11_BOX =
D3D11_BOX]’:
d3d11.cpp:231:1:   instantiated from here
d3d11_context.h:1543:12: warning: unused variable ‘dst_face’
[-Wunused-variable]
d3d11_context.h:1545:12: warning: unused variable ‘src_face’
[-Wunused-variable]
make[5]: *** [d3d11.o] Error 1
make[5]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers/d3d1x/gd3d11'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers/d3d1x'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers'
make[2]: *** [default] Error 1
make[2]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src/gallium'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/jos/src/xorg/git-master/mesa/src'
make: *** [default] Error 1
---

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 41740] Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error
  2011-10-13  3:35 [Bug 41740] New: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error bugzilla-daemon
  2011-10-13  9:09 ` [Bug 41740] " bugzilla-daemon
  2011-10-13 10:52 ` bugzilla-daemon
@ 2011-10-17  2:33 ` bugzilla-daemon
  2011-11-03  5:21 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-10-17  2:33 UTC (permalink / raw)
  To: dri-devel

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

Jos van Wolput <wolput@onsneteindhoven.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #3 from Jos van Wolput <wolput@onsneteindhoven.nl> 2011-10-16 19:33:06 PDT ---
(In reply to comment #1)
> Fixed in mesa/master with f1f7645f23bd11fb54a992cdbe9ef0a6ee0136f3.
I downloaded a fresh git clone of mesa and still get d3dlx compilation errors:
---
d3d11.cpp: In function ‘HRESULT GalliumD3D11DeviceCreate(pipe_screen*,
pipe_context*, BOOL, unsigned int, IDXGIAdapter*, ID3D11Device**)’:
d3d11.cpp:224:200: error: new declaration ‘HRESULT
GalliumD3D11DeviceCreate(pipe_screen*, pipe_context*, BOOL, unsigned int,
IDXGIAdapter*, ID3D11Device**)’
../gd3dapi/galliumd3d11.h:65:10: error: ambiguates old declaration ‘HRESULT
GalliumD3D11DeviceCreate(pipe_screen*, pipe_context*, BOOL, unsigned int,
IDXGIAdapter*, ID3D11Device**)’
In file included from d3d11.cpp:220:0:
d3d11_context.h: In member function ‘HRESULT
GalliumD3D11DeviceContext<PtrTraits>::Map(ID3D11Resource*, unsigned int,
D3D11_MAP, unsigned int, D3D11_MAPPED_SUBRESOURCE*) [with PtrTraits =
nonatomic_device_child_ptr_traits, HRESULT = int, ID3D11Resource =
ID3D11Resource, D3D11_MAP = D3D11_MAP, D3D11_MAPPED_SUBRESOURCE =
D3D11_MAPPED_SUBRESOURCE]’:
d3d11.cpp:231:1:   instantiated from here
d3d11_context.h:1482:12: warning: unused variable ‘face’ [-Wunused-variable]
d3d11_context.h: In member function ‘void
GalliumD3D11DeviceContext<PtrTraits>::CopySubresourceRegion(ID3D11Resource*,
unsigned int, unsigned int, unsigned int, unsigned int, ID3D11Resource*,
unsigned int, const D3D11_BOX*) [with PtrTraits =
nonatomic_device_child_ptr_traits, ID3D11Resource = ID3D11Resource, D3D11_BOX =
D3D11_BOX]’:
d3d11.cpp:231:1:   instantiated from here
d3d11_context.h:1543:12: warning: unused variable ‘dst_face’
[-Wunused-variable]
d3d11_context.h:1545:12: warning: unused variable ‘src_face’
[-Wunused-variable]
make[5]: *** [d3d11.o] Error 1
make[5]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers/d3d1x/gd3d11'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers/d3d1x'
make[3]: *** [subdirs] Error 1
---

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 41740] Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error
  2011-10-13  3:35 [Bug 41740] New: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error bugzilla-daemon
                   ` (2 preceding siblings ...)
  2011-10-17  2:33 ` bugzilla-daemon
@ 2011-11-03  5:21 ` bugzilla-daemon
  2011-11-03  5:23 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-11-03  5:21 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Alexandre Demers <alexandre.f.demers@gmail.com> 2011-11-02 22:21:25 PDT ---
Same problem over here. Many errors related to either missing
"STDMETHODCALLTYPE" in declarations or unneeded "STDMETHODCALLTYPE" in
associated files. Compiler doesn't like it because returned values are not of
the same types as declared ones. It leads to "error: new declaration... error:
ambiguates old declaration..."

I was about to propose a patch, but I can't figure out if "STDMETHODCALLTYPE"
are needed or not (I would say they are, but one commit
(a73c6ce67b272b71dc814b3384d8c1c99f6c75e3) says it causes crashes)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 41740] Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error
  2011-10-13  3:35 [Bug 41740] New: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error bugzilla-daemon
                   ` (3 preceding siblings ...)
  2011-11-03  5:21 ` bugzilla-daemon
@ 2011-11-03  5:23 ` bugzilla-daemon
  2011-11-03 11:22 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-11-03  5:23 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Alexandre Demers <alexandre.f.demers@gmail.com> 2011-11-02 22:23:54 PDT ---
Added Luca since he may have more info on the problem.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 41740] Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error
  2011-10-13  3:35 [Bug 41740] New: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error bugzilla-daemon
                   ` (4 preceding siblings ...)
  2011-11-03  5:23 ` bugzilla-daemon
@ 2011-11-03 11:22 ` bugzilla-daemon
  2011-11-03 12:13 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-11-03 11:22 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Christoph Bumiller <e0425955@student.tuwien.ac.at> 2011-11-03 04:22:21 PDT ---
Which versions of gcc and wine are you using ? I still don't get these errors
with gcc-4.4 (going to update to 4.6 now).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 41740] Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error
  2011-10-13  3:35 [Bug 41740] New: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error bugzilla-daemon
                   ` (5 preceding siblings ...)
  2011-11-03 11:22 ` bugzilla-daemon
@ 2011-11-03 12:13 ` bugzilla-daemon
  2011-11-03 13:03 ` bugzilla-daemon
  2012-09-10 21:11 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-11-03 12:13 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Alexandre Demers <alexandre.f.demers@gmail.com> 2011-11-03 05:13:11 PDT ---
I should have added that info. Using Ubuntu Oneiric 64bit, running  gcc 4.6.1
and wine 1.3.31.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 41740] Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error
  2011-10-13  3:35 [Bug 41740] New: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error bugzilla-daemon
                   ` (6 preceding siblings ...)
  2011-11-03 12:13 ` bugzilla-daemon
@ 2011-11-03 13:03 ` bugzilla-daemon
  2012-09-10 21:11 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-11-03 13:03 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from Jos van Wolput <wolput@onsneteindhoven.nl> 2011-11-03 06:03:25 PDT ---
(In reply to comment #6)
> Which versions of gcc and wine are you using ? I still don't get these errors
> with gcc-4.4 (going to update to 4.6 now).

Using Debian Sid 64bit, running gcc 4.6.2-3 and wine 1.3.31.
I also tried gcc-4.5, getting the same errors.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 41740] Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error
  2011-10-13  3:35 [Bug 41740] New: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error bugzilla-daemon
                   ` (7 preceding siblings ...)
  2011-11-03 13:03 ` bugzilla-daemon
@ 2012-09-10 21:11 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-09-10 21:11 UTC (permalink / raw)
  To: dri-devel

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

Andreas Boll <andreas.boll.dev@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
                   |.org                        |org
          Component|Drivers/Gallium/r600        |Other

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-09-10 21:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-13  3:35 [Bug 41740] New: Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error bugzilla-daemon
2011-10-13  9:09 ` [Bug 41740] " bugzilla-daemon
2011-10-13 10:52 ` bugzilla-daemon
2011-10-17  2:33 ` bugzilla-daemon
2011-11-03  5:21 ` bugzilla-daemon
2011-11-03  5:23 ` bugzilla-daemon
2011-11-03 11:22 ` bugzilla-daemon
2011-11-03 12:13 ` bugzilla-daemon
2011-11-03 13:03 ` bugzilla-daemon
2012-09-10 21:11 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.