Hi Kai, > I am not sure if 3.15.2-5 already has support for v2
Apparently not. > pseudo-relocations, but binutils 2.20.51 has it. So maybe try to > specify the additional linker option > '--enable-runtime-pseudo-reloc-v1' on dll generation. By this you can > enforce that ld generates the old relocation information. That did it - but only if I relink both the DLL _and_ the main program with --enable-runtime-pseudo-reloc-v1. Specifically: DLL: /usr/bin/i686-pc-mingw32-g++ -Wl,--enable-runtime-pseudo-reloc-v1 -Wl,--enable-auto-import -shared -o ../../../bin/boost_regex-gcc45-d-1_44.dll -Wl,--out-implib,../../../lib/libboost_regex-gcc45-d-1_44.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -Wl,@CMakeFiles/boost_regex-shared-debug.dir/objects1.rsp -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 Main Program: i686-pc-mingw32-g++ -O2 -g -pipe -Wall -fexceptions -mms-bitfields test.cpp -o test.exe ./libboost_regex-gcc45-d-1_44.dll.a -lkernel32 -Wl,--enable-runtime-pseudo-reloc-v1 Thanks again, Tom _______________________________________________ mingw mailing list mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/mingw