Bug 63864 - Compile failure; OPCODE_PRINT not found.
Summary: Compile failure; OPCODE_PRINT not found.
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r200 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-24 07:07 UTC by Knut Andre Tidemann
Modified: 2013-04-24 16:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Possible fix (841 bytes, text/plain)
2013-04-24 12:29 UTC, Laurent carlier
Details

Description Knut Andre Tidemann 2013-04-24 07:07:00 UTC
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>
Comment 1 Laurent carlier 2013-04-24 12:29:14 UTC
Created attachment 78425 [details]
Possible fix

Please test this potential fix
Comment 2 Knut Andre Tidemann 2013-04-24 13:10:15 UTC
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.


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.