From: bugzilla-daemon@freedesktop.org
Subject: [Bug 52136] Mesa fails to link r600_dri.so with LLVM
Date: Mon, 16 Jul 2012 20:41:13 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from annarchy.freedesktop.org (annarchy.freedesktop.org
[131.252.210.176])
by gabe.freedesktop.org (Postfix) with ESMTP id 793F49F6B2
for ;
Mon, 16 Jul 2012 06:41:13 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=52136
--- Comment #1 from Tom Stellard 2012-07-16 13:41:13 PDT ---
I've seen this before. The problem is mismatched CXXFLAGS in mesa and llvm.
The typeinfo errors are caused the -fno-rtti flag (or the absence of it) and
the isCurrentDebugType and DebugFlag errors are cause by -DNDEBUG. The problem
with -DNDEBUG is that LLVM defines DNDEBUG in public headers, so if you
compiled LLVM with it, you have have to compile Mesa with it as well.
If you play with your configure flags you should be able to get this to work.
I'll try to look into a proper solution when I get a chance.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.