If you follow the bug report, it seems to be more a GCC 5.0 issue than a kernel issue (as pointed out by comment #29 which points to this bug). The FGLRX drivers work fine on Ubuntu 15.04 with kernel 4.2.
The workaround involves compiling the driver with gcc 4.9 then freezing it so the package manager will not update it until there's an actual fix. You can try the commands from comment #48 from the from the first link (bug 1493888) if you don't know how to do it yourself. The commenter also appears to have made a deb file so you don't have to go through the headache yourself:
cd /tmp/
apt-get source fglrx-updates
sudo apt-get build-dep fglrx-core
cd fglrx-installer-updates-15.201/
wget -O fix.patch https://launchpadlibrarian.net/219738583/fglrx-installer-15.201_force-gcc_4.9.patch
patch -p1 < fix.patch
dpkg-buildpackage -us -uc
cd ../
mkdir fglrx-driver
mv *.deb fglrx-driver/
cd fglrx-driver/
dpkg -i *.deb
sudo amdconfig --initial
sudo apt-mark hold fglrx-updates-core
sudo apt-mark hold fglrx-updates
OR
Download my deb packages here:
https://www.dropbox.com/sh/m3hbyrs52gb09ur/AABCgiL56W3rQWO-rpyrClXia?dl=0
Here is a copy of the fix.patch
file:
diff -ruN fglrx-installer-15.201.orig/debian/dkms/patches/force-gcc_4.9.patch fglrx-installer-15.201/debian/dkms/patches/force-gcc_4.9.patch
--- fglrx-installer-15.201.orig/debian/dkms/patches/force-gcc_4.9.patch 1970-01-01 10:00:00.000000000 +1000
+++ fglrx-installer-15.201/debian/dkms/patches/force-gcc_4.9.patch 2015-10-03 10:48:23.910074578 +1000
@@ -0,0 +1,9 @@
+--- a/make.sh 2015-09-21 18:52:07.861911209 +1000
++++ b/make.sh 2015-09-21 18:52:29.339716221 +1000
+@@ -58,4 +58,4 @@ set_GCC_version () {
+ if [ -z "${CC}" ]; then
+- CC=gcc
+- set_GCC_version
++ CC=gcc-4.9
++ #set_GCC_version
+ fi
diff -ruN fglrx-installer-15.201.orig/debian/dkms.conf.in fglrx-installer-15.201/debian/dkms.conf.in
--- fglrx-installer-15.201.orig/debian/dkms.conf.in 2015-08-26 19:34:30.000000000 +1000
+++ fglrx-installer-15.201/debian/dkms.conf.in 2015-10-03 10:49:54.370162151 +1000
@@ -7,7 +7,8 @@
MAKE[0]="cd ${dkms_tree}/fglrx/#CVERSION#/build; sh make.sh --nohints --uname_r=$kernelver --norootcheck"
DEST_MODULE_LOCATION[0]="/kernel/drivers/char/drm"
AUTOINSTALL="yes"
-PATCH[0]="ignore-GCC-mismatch.patch"
+#PATCH[0]="ignore-GCC-mismatch.patch"
+PATCH[0]="force-gcc_4.9.patch"
PATCH[1]="buildfix_kernel_4.0.patch"
PATCH[2]="buildfix_kernel_4.1.patch"
PATCH[3]="buildfix_kernel_4.2.patch"