Re: gcc-7.3.0: ptxas lib_a-hash_func.o, line 11; fatal : Invalid initial value expression

2018-02-25 Thread Siegmar Gross
Hi Thomas, thank you very much for your help. I applied the patch to nvptx.c and was able to build everything. The compiler works for my small accelerator programs. loki nvptx 147 diff nvptx.c nvptx.c.orig 1878,1881c1878 < bool function = SYMBOL_REF_DECL (sym) < && (TREE_CODE (SYMBOL

Re: gcc-7.3.0: ptxas lib_a-hash_func.o, line 11; fatal : Invalid initial value expression

2018-02-24 Thread Thomas Schwinge
Hi! On Sat, 24 Feb 2018 17:20:13 +0100, Siegmar Gross wrote: > today I tried to install gcc-7.3.0 with accelerator support Thanks for giving that a try and reporting back! > on my "SUSE Linux Enterprise Server 12.3 (x86_64)" with > gcc-6.4.0. I used the following commands to download and build

gcc-7.3.0: ptxas lib_a-hash_func.o, line 11; fatal : Invalid initial value expression

2018-02-24 Thread Siegmar Gross
Hi, today I tried to install gcc-7.3.0 with accelerator support on my "SUSE Linux Enterprise Server 12.3 (x86_64)" with gcc-6.4.0. I used the following commands to download and build everything. setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/local/cuda/lib64 setenv CUDA_INC_PATH /usr/local/cuda/