I'm using Debian8.7 which is installed gcc4.9.2 via apt-get.
I built glibc2.24 and gcc6.3 with --prefix=/home/me/local, that looks finished correctly, but when using these adding LD_LIBRARY_PATH=/home/me/local/lib I got an error 'segmentation fault'.
I don't have any idea to solve this problem, could you help me?