title: Which binary should I take to resolve the error 'ld terminated with signal 11 [Segmentation fault], core dumped'?
body: <p>I came across this error when I tried to compile a project that used xerces-c library(binaries). Since this is a binary it does not come with ./configure and hence I skipped doing the same(./configure). I am providing the xerces-c files as include and library to my xml reading program as anyone would normally do. The only error left is as below...</p>
  
  <pre><code>--Error output ---
  
  Building target: MyXmlProject.exe
  Invoking: Cygwin C++ Linker
  g++ -L"C:\cppLib\xerces-c-3.1.1-x86_64-linux-gcc-3.4\lib" -o "MyXmlProject.exe"  ./xmldom/XmlDomDocument.o ./xmldom/main.o   -lxerces-c
  
  collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped
  /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bin/ld: BFD (GNU Binutils) 2.25 assertion fail /cygdrive/i/szsz/tmpp/cygwin64/binutils/binutils-2.25-1.x86_64/src/binutils-gdb/bfd/cofflink.c:264
  makefile:48: recipe for target 'MyXmlProject.exe' failed
  make: *** [MyXmlProject.exe] Error 1
  </code></pre>
  
  <p>I had downloaded the binaries from <a href="http://archive.apache.org/dist/xerces/c/3/binaries/" rel="nofollow noreferrer">http://archive.apache.org/dist/xerces/c/3/binaries/</a> I have tried with a. xerces-c-3.1.1-x86_64-linux-gcc-3.4 and b. xerces-c-3.1.1-x86-linux-gcc-3.4 both the files but both result in same error. </p>
  
  <p>Seems that the above two binaries are compiled for different platform and do not work on windows. The environment I am using is eclipse, cygwin64 on windows8.1. Can someone tell me which binary should I take so that the error is resolved?</p>
  
  <p>The other options are tedious and wanted to avoid those. People who wants to know how I came across this error and other options please refer to <a href="https://stackoverflow.com/questions/33719825/how-to-resolve-relocation-truncated-to-fit-r-x86-64-pc32-against-undefined-sym/33845714#33845714">How to resolve &quot;relocation truncated to fit: R_X86_64_PC32 against undefined symbol `xercesc_3_1::AbstractDOMParser::adoptDocument()&#39;&quot;</a></p>