I am on fedora 27 and gcc is unable to be downgraded.
If I remove and install gcc 4.x from tar it gives me errors.
So I am compiliing with gcc 7.2.1 and i have disabled gcc version check in file /usr/local/cuda/include/crt/host_config.h
Also disabled unnecessary arch in Makefile.am
When I run build.sh, I am getting below error
```
/usr/local/cuda/bin/nvcc -gencode=arch=compute_50,code=sm_50 -I/usr/local/cuda/include -I. -O3 -std=c++11 -Xcompiler -fno-strict-aliasing,-Wall -D_FORCE_INLINES --ptxas-options="-v" --maxrregcount=128 -o Algo256/cuda_fugue256.o -c Algo256/cuda_fugue256.cu
/usr/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__"
/usr/include/bits/floatn.h(73): error: identifier "__float128" is undefined
2 errors detected in the compilation of "/tmp/tmpxft_00004b31_00000000-6_cuda_fugue256.cpp1.ii".
```
Please help!