Re: [Mesa-dev] LLVMInitializeAMDGPU* undefined?

2016-03-14 Thread Jan Vesely
On Mon, 2016-03-14 at 10:19 +0800, Chih-Wei Huang wrote: > 2016-03-11 11:50 GMT+08:00 Jan Vesely : > > > > On Fri, 2016-03-11 at 10:09 +0800, Chih-Wei Huang wrote: > > > > > > cc1: some warnings being treated as errors > > > > > > > > > But I'm still not sure whether if

Re: [Mesa-dev] LLVMInitializeAMDGPU* undefined?

2016-03-13 Thread Chih-Wei Huang
2016-03-11 11:50 GMT+08:00 Jan Vesely : > On Fri, 2016-03-11 at 10:09 +0800, Chih-Wei Huang wrote: >> cc1: some warnings being treated as errors >> >> >> But I'm still not sure whether if it should be fixed on the mesa >> side. >> >> So my question is, what kind of fix do

Re: [Mesa-dev] LLVMInitializeAMDGPU* undefined?

2016-03-11 Thread Emil Velikov
Hi Chih-Wei, On 11 March 2016 at 02:09, Chih-Wei Huang wrote: > 2016年3月10日 下午6:47於 "Marek Olšák" 寫道: >> >> Those functions are only supported by LLVM 3.7 and later, and if you >> have such a version, the AMDGPU backend must be enabled in your LLVM >>

Re: [Mesa-dev] LLVMInitializeAMDGPU* undefined?

2016-03-11 Thread Marek Olšák
On Fri, Mar 11, 2016 at 4:50 AM, Jan Vesely wrote: > On Fri, 2016-03-11 at 10:09 +0800, Chih-Wei Huang wrote: >> 2016年3月10日 下午6:47於 "Marek Olšák" 寫道: >> > >> > >> > Those functions are only supported by LLVM 3.7 and later, and if >> > you >> > have such a

Re: [Mesa-dev] LLVMInitializeAMDGPU* undefined?

2016-03-10 Thread Jan Vesely
On Fri, 2016-03-11 at 10:09 +0800, Chih-Wei Huang wrote: > 2016年3月10日 下午6:47於 "Marek Olšák" 寫道: > > > > > > Those functions are only supported by LLVM 3.7 and later, and if > > you > > have such a version, the AMDGPU backend must be enabled in your > > LLVM > > build. > Yes, I

Re: [Mesa-dev] LLVMInitializeAMDGPU* undefined?

2016-03-10 Thread Chih-Wei Huang
2016年3月10日 下午6:47於 "Marek Olšák" 寫道: > > Those functions are only supported by LLVM 3.7 and later, and if you > have such a version, the AMDGPU backend must be enabled in your LLVM > build. Yes, I knew that. But seems you misunderstood my question. It's a compile time error

Re: [Mesa-dev] LLVMInitializeAMDGPU* undefined?

2016-03-10 Thread Marek Olšák
Those functions are only supported by LLVM 3.7 and later, and if you have such a version, the AMDGPU backend must be enabled in your LLVM build. Marek On Thu, Mar 10, 2016 at 10:04 AM, Chih-Wei Huang wrote: > Hi devs, > On building 64-bit Android-x86 mesa with amdgpu

[Mesa-dev] LLVMInitializeAMDGPU* undefined?

2016-03-10 Thread Chih-Wei Huang
Hi devs, On building 64-bit Android-x86 mesa with amdgpu support, we got some errors about the symbols LLVMInitializeAMDGPU* are not defined. (missing prototypes) It's easy to fix the errors by adding the definition of the function prototypes. However, I'm curious in which side it should be