https://bugs.freedesktop.org/show_bug.cgi?id=63864
Priority: medium Bug ID: 63864 Assignee: dri-devel@lists.freedesktop.org Summary: Compile failure; OPCODE_PRINT not found. Severity: major Classification: Unclassified OS: Linux (All) Reporter: knut.tidemann@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/DRI/r200 Product: Mesa
When building mesa from git master this morning (9a32203e1618486e87c7baf494134e05f0e38cf3), the build failed with:
r200_vertprog.c:64:39: error: 'OPCODE_PRINT' undeclared here (not in a function) #define OPN(operator, ip) {#operator, OPCODE_##operator, ip} ^ r200_vertprog.c:98:4: note: in expansion of macro 'OPN' OPN(PRINT, 0), ^ make[5]: *** [r200_vertprog.lo] Error 1
This is probably due to that commit;
commit 9a32203e1618486e87c7baf494134e05f0e38cf3 Author: Marek Olšák maraeo@gmail.com Date: Sun Apr 14 19:59:06 2013 +0200
mesa: remove unused opcodes AND, DP2A, NOT, NRM3, NRM4, OR, PRINT, XOR
Reviewed-by: Brian Paul brianp@vmware.com Reviewed-by: Eric Anholt eric@anholt.net
https://bugs.freedesktop.org/show_bug.cgi?id=63864
--- Comment #1 from Laurent carlier lordheavym@gmail.com --- Created attachment 78425 --> https://bugs.freedesktop.org/attachment.cgi?id=78425&action=edit Possible fix
Please test this potential fix
https://bugs.freedesktop.org/show_bug.cgi?id=63864
--- Comment #2 from Knut Andre Tidemann knut.tidemann@gmail.com --- This fixes the r200 build issue, but it looks like I'm also running into an llvm build issue later on so I haven't tried a full build yet. I guess I'll have to take a look at that as well.
https://bugs.freedesktop.org/show_bug.cgi?id=63864
Laurent carlier lordheavym@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Laurent carlier lordheavym@gmail.com --- http://cgit.freedesktop.org/mesa/mesa/commit/?id=addf00e2add2a51e50f33468221...
dri-devel@lists.freedesktop.org