Skip to contentSkip to conversation

Building error after commit b52bf8f12a ("amd/common/gfx10: support new tbuffer encoding")

Bug 111076 [email protected] 1 participant 4 messages Jul 6, 2019 – Sep 25, 2019

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 111076
Summary: Building error after commit b52bf8f12a
("amd/common/gfx10: support new tbuffer encoding")
Product: Mesa
Version: unspecified
Hardware: x86-64 (AMD64)
OS: other
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Hi,

I'm getting the following building error, even if I'm using prescribed LLVM8 and libdrm 2.4.99:

external/mesa/src/amd/common/ac_llvm_build.c:1496:45: error: use of undeclared identifier 'V_008F0C_IMG_FORMAT_8_UINT'

                case V_008F0C_BUF_DATA_FORMAT_8: format =
V_008F0C_IMG_FORMAT_8_UINT; break;
                                                          ^
external/mesa/src/amd/common/ac_llvm_build.c:1497:47: error: use of undeclared
identifier 'V_008F0C_IMG_FORMAT_8_8_UINT'
                case V_008F0C_BUF_DATA_FORMAT_8_8: format =
V_008F0C_IMG_FORMAT_8_8_UINT; break;
                                                            ^
external/mesa/src/amd/common/ac_llvm_build.c:1498:51: error: use of undeclared
identifier 'V_008F0C_IMG_FORMAT_8_8_8_8_UINT'
                case V_008F0C_BUF_DATA_FORMAT_8_8_8_8: format =
V_008F0C_IMG_FORMAT_8_8_8_8_UINT; break;
                                                                ^
external/mesa/src/amd/common/ac_llvm_build.c:1499:46: error: use of undeclared
identifier 'V_008F0C_IMG_FORMAT_16_UINT'
                case V_008F0C_BUF_DATA_FORMAT_16: format =
V_008F0C_IMG_FORMAT_16_UINT; break;
                                                           ^
external/mesa/src/amd/common/ac_llvm_build.c:1500:49: error: use of undeclared
identifier 'V_008F0C_IMG_FORMAT_16_16_UINT'
                case V_008F0C_BUF_DATA_FORMAT_16_16: format =
V_008F0C_IMG_FORMAT_16_16_UINT; break;
                                                              ^
external/mesa/src/amd/common/ac_llvm_build.c:1501:55: error: use of undeclared
identifier 'V_008F0C_IMG_FORMAT_16_16_16_16_UINT'
                case V_008F0C_BUF_DATA_FORMAT_16_16_16_16: format =
V_008F0C_IMG_FORMAT_16_16_16_16_UINT; break;
                                                                    ^
external/mesa/src/amd/common/ac_llvm_build.c:1502:46: error: use of undeclared
identifier 'V_008F0C_IMG_FORMAT_32_UINT'
                case V_008F0C_BUF_DATA_FORMAT_32: format =
V_008F0C_IMG_FORMAT_32_UINT; break;
                                                           ^
external/mesa/src/amd/common/ac_llvm_build.c:1503:49: error: use of undeclared
identifier 'V_008F0C_IMG_FORMAT_32_32_UINT'
                case V_008F0C_BUF_DATA_FORMAT_32_32: format =
V_008F0C_IMG_FORMAT_32_32_UINT; break;
                                                              ^
external/mesa/src/amd/common/ac_llvm_build.c:1504:55: error: use of undeclared
identifier 'V_008F0C_IMG_FORMAT_32_32_32_32_UINT'
                case V_008F0C_BUF_DATA_FORMAT_32_32_32_32: format =
V_008F0C_IMG_FORMAT_32_32_32_32_UINT; break;
                                                                    ^

9 errors generated.

Could you please check if some include is missing or what library is supposed to provide those definitions?

Mauro

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Mauro Rossi <[email protected]> --- The problem is missing changes in android building rules with gfx10

I have submitted series of patches to mesa-dev that fix the problem Mauro

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

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

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #3 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1414.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel