title: Error building gcc 4.8.3 from source: libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.55)
body: <p>I 'm using gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010 for the compile but I have also tried gcc 4.1.2 and I get the same error.</p>
  
  <p>for gcc 5.2.1 </p>
  
  <p>strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6|grep CXXABI gives</p>
  
  <pre><code>CXXABI_1.3
  CXXABI_1.3.1
  CXXABI_1.3.2 
  CXXABI_1.3.3
  CXXABI_1.3.4
  CXXABI_1.3.5
  CXXABI_1.3.6
  CXXABI_1.3.7
  CXXABI_1.3.8
  CXXABI_1.3.9
  CXXABI_TM_1
  CXXABI_FLOAT128
  </code></pre>
  
  <p>For the compiler being compiled gcc 4.8.3</p>
  
  <pre><code>strings gcc-build/build/x86_64-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6|grep CXXABI
  
  CXXABI_1.3
  CXXABI_1.3.1 
  CXXABI_1.3.2 
  CXXABI_1.3.3
  CXXABI_1.3.4
  CXXABI_1.3.5
  CXXABI_1.3.6
  CXXABI_1.3.7
  CXXABI_TM_1
  CXXABI_1.3
  CXXABI_1.3.2
  CXXABI_1.3.6
  CXXABI_1.3.1
  CXXABI_1.3.5
  CXXABI_1.3.4
  CXXABI_TM_1
  CXXABI_1.3.7
  CXXABI_1.3.3
  </code></pre>
  
  <p>i.e no 1.3.8</p>
  
  <p>prior to running configure and make I also tried:</p>
  
  <pre><code>export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LIBRARY_PATH
  export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH
  ../gcc-4.8.3/configure --build=x86_64-linux-gnu
  make 
  </code></pre>
  
  <p>Error message:</p>
  
  <pre><code>msgfmt -o fr.mo ../../../../gcc-4.8.3/libstdc++-v3/po/fr.po
  msgfmt: gcc-build/build/x86_64-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.55)
  msgfmt: Makefile:460: recipe for target 'de.mo' failed
  </code></pre>
  
  <p>When compiling with gcc 4.1.2 I get the same error:</p>
  
  <pre><code>msgfmt -o fr.mo ../../../../libstdc++-v3/po/fr.po
  gcc-build/gcc-4.8.3/build/x86_64-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.55)
  Makefile:460: recipe for target 'de.mo' failed
  </code></pre>
  
  <p>When compiling with gcc 4.1.2 i did the following prior to configure and make</p>
  
  <pre><code>#where libraries i have compiled with gcc 4.1.2 are located i.e 
  export LD_LIBRARY_PATH=/opt/devtools/gcc-4.1.2/lib
  #where libstdc++.so.6 is
  export LIBRARY_PATH=/opt/gcc-4.1.2/lib64
  
  strings /opt/gcc-4.1.2/lib64/libstdc++.so.6|grep CXXABI
  CXXABI_1.3
  CXXABI_1.3.1
  CXXABI_1.3.1
  CXXABI_1.3
  </code></pre>
  
  <p>which makes me wonder where CXXABI_1.3.8 is coming from. I also did a 'make distclean' between changing compiler</p>