New: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
https://bugs.freedesktop.org/show_bug.cgi?id=49110
Bug #: 49110
Summary: AMDILCFGStructurizer.cpp:1751:3: error:
'isCurrentDebugType' was not declared in this scope
Classification: Unclassified
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: [email protected]
ReportedBy: [email protected]
I get this compile error when building the new LLVM compiler:
AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
Full log is available here:
https://launchpadlibrarian.net/102973365/buildlog_ubuntu-precise-amd64.mesa_8.1~git1204241446.587c22~gd~p_FAILEDTOBUILD.txt.gz
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
https://bugs.freedesktop.org/show_bug.cgi?id=49110
--- Comment #1 from Tom Stellard <[email protected]> 2012-04-24 16:04:18 PDT --- I think this happens when you build Mesa with debugging enabled and LLVM without it enabled. It's still a bug though. For now, you could try building a debug version of both Mesa and LLVM. I think that will fix it.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
--- Comment #2 from Fabio Pedretti <[email protected]> 2012-04-26 06:14:49 PDT --- OK, I disabled mesa debug but now I get this (current git):
make[5]: *** No rule to make target ../../../../../../src/gallium/drivers/radeon/libradeon.a', needed by libr600.a'. Stop.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
--- Comment #3 from Mike Mestnik <[email protected]> 2012-05-04 21:07:05 UTC --- /w llvm-1.3~rc1 same as you.
I'm changing to rc2.
g++ -c -I. -I../mesa -I../mapi -I../../include -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp -Wall -g -O2 -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31 -DFEATURE_GL=1 -fvisibility=hidden -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31 -DFEATURE_GL=1 opt_swizzle_swizzle.cpp -o opt_swizzle_swizzle.o
CC r600_llvm.o
make[5]: *** No rule to make target ../../../../../../src/gallium/drivers/radeon/libradeon.a', needed by libr600.a'. Stop.
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/build/buildd/mesa-8.1~git20120504.5cc4b4aa/build/dri/src/gallium/drivers/r600'
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
Mike Mestnik <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |49567
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
Mike Mestnik <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|AMDILCFGStructurizer.cpp:17 |debug build:
|51:3: error: |AMDILCFGStructurizer.cpp:17
|'isCurrentDebugType' was |51:3: error:
|not declared in this scope |'isCurrentDebugType' was
| |not declared in this scopeSignature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
Mike Mestnik <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|medium |low
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
Mike Mestnik <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|49567 |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
Mike Mestnik <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=49567
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
--- Comment #4 from Mike Mestnik <[email protected]> 2012-05-06 20:44:15 PDT --- This bug cloned to: https://bugs.freedesktop.org/show_bug.cgi?id=49567
No rule to make target libradeon.a, needed by libr600.a.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
--- Comment #5 from Mike Mestnik <[email protected]> 2012-05-07 16:50:36 PDT --- Commit c425c3823fbd475dc83211fef47f7ea58421ed17 should have fixed this, but it
don't. I've looked at the llvm headers and it looks like a number of
preprocessor macros will include these, if NDEBUG is not set.
I'm now going to try and set that.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
Mike Mestnik <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |http://llvm.org/bugs/show_b | |ug.cgi?id=12759
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
--- Comment #6 from Mike Mestnik <[email protected]> 2012-05-08 20:25:23 PDT --- I've added 3 patches to http://llvm.org/bugs/show_bug.cgi?id=12759 and did my
best to describe what/why.
I believe that mesa also needs this done for it's use of NDEBUG, especially if #if(s) are used to protect object exports in include files as was the case with llvm. Either way, it's still possible for mesa to not directly trample over this project global define.
This is essentially what I did for llvm:
#ifdef LLVM_NDEBUG
#define NDEBUG LLVM_NDEBUG
#endif
#include <assert.h>
In the case where assert.h is included in an include file, like FLAC and alsa do, then NDEBUG should be save/restored around the assert.h include... Not that it'll do any good as in those situations it's first come first served and projects that use assert will likely include it ~vary~ early.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
--- Comment #7 from Mike Mestnik <[email protected]> 2012-05-10 14:43:40 PDT --- Hello,
I've concluded that there just isn't enough time until Diablo III is released
and so I hope that I can get myself to halt all work on this issue.
The llvm r600g compiler isn't close enough to the horizon for me to see it being useful by May 15th.
Thank you.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
Fabio Pedretti <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #8 from Fabio Pedretti <[email protected]> 2012-09-01 19:09:34 UTC --- This looks fixed now.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
Mike Mestnik <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |--- Comment #9 from Mike Mestnik <[email protected]> 2012-09-02 15:45:51 UTC --- Fabio Pedretti,
I think we should wait for "solution", testing and compliance to declare this
closed. I'm glad you got it working, but I'm unable to verify what the
solution was or how this got fixed.
So I'm re-opening this bug and hopefully I can get an explanation as to why this is fixed now.
Thank you!
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
Tom Stellard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED--- Comment #10 from Tom Stellard <[email protected]> 2012-09-02 19:23:56 UTC --- (In reply to comment #9)
Quoted 9 lines
Fabio Pedretti,
I think we should wait for "solution", testing and compliance to declare this
closed. I'm glad you got it working, but I'm unable to verify what the solution was or how this got fixed.So I'm re-opening this bug and hopefully I can get an explanation as to why this is fixed now.
Thank you!
The call to isCurrentDebugType was deleted from this file.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49110] debug build: AMDILCFGStructurizer.cpp:1751:3: error: 'isCurrentDebugType' was not declared in this scope
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=49110
--- Comment #11 from Mike Mestnik <[email protected]> 2012-09-02 20:52:10 UTC --- Fixed in: c425c3823fbd475dc83211fef47f7ea58421ed17
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.