Bug 71817 - Git Mesa r600g driver crashes while using llvm
Summary: Git Mesa r600g driver crashes while using llvm
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-20 01:41 UTC by Krzysztof A. Sobiecki
Modified: 2013-11-22 19:45 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Gdb output after using glxinfo (4.98 KB, text/plain)
2013-11-20 01:41 UTC, Krzysztof A. Sobiecki
Details

Description Krzysztof A. Sobiecki 2013-11-20 01:41:09 UTC
Created attachment 89502 [details]
Gdb output after using glxinfo

R600g crashes while I try to use LLVM support in it.
LLVM: 1:3.4~svn194296-1~exp1
Mesa: e7a5905d8a3960b0981750f8131e3af9acbfcdb8

Error message before segfault:
0x6af6c0: i32 = GlobalAddress<<4 x float> (i32)* @llvm.R600.interp.const> 0 [ORD=1]

Even running glxinfo causes this error.
Comment 1 Krzysztof A. Sobiecki 2013-11-20 04:00:38 UTC
Tried LLVM version 1:3.4~svn194202-1~exp1 and it have the same problem, and I think it worked with an older Mesa. Will bisect Mesa in the future.
Comment 2 Krzysztof A. Sobiecki 2013-11-20 23:00:50 UTC
And the winner is:
88c8f1972976c506e8fb048100ed11fef1ca938b is the first bad commit
commit 88c8f1972976c506e8fb048100ed11fef1ca938b
Author: Vincent Lejeune <vljn@ovi.com>
Date:   Wed Oct 30 18:35:58 2013 +0100

    r600/llvm: Store inputs in function arguments

:040000 040000 70bee8674c6b22eda966273cc1f736ed81da3829 10b9d66a3bd9c8328649515d5cf40ce20b022c1b M	src

Thank You.
Comment 3 vincent 2013-11-22 14:17:43 UTC
You need at least revision @@194425 of llvm 3.4 to have the commit labeled :

commit 70a7d5ddb4f00bbb61afe7b536c6f599f771ab9a
Author: Vincent Lejeune <vljn@ovi.com>
Date:   Mon Nov 11 22:10:24 2013 +0000

    R600: Use function inputs to represent data stored in gpr
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194425 91177308-0d3
Comment 4 Krzysztof A. Sobiecki 2013-11-22 19:45:06 UTC
Sorry for the problem.


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.