[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#638645: /usr/bin/g++-4.4: relocation R_X86_64_32S against `vtable for std::ctype<wchar_t>' can not be used when making a shared object; recompile with -fPIC



Package: g++-4.4
Version: 4.4.5-8
Severity: normal
File: /usr/bin/g++-4.4


For some reason I cannot compile anymore using my default g++ compiler. Trying to compile the GDCM project leads to:

cd /home/mathieu/debian/debian-med/trunk/packages/gdcm/trunk/gdcm-2.0.18/debian/build-python2.6/Source/Common && /usr/bin/cmake -E cmake_link_script CMakeFiles/gdcmCommon.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC -g -O2  -O3 -DNDEBUG  -shared -Wl,-soname,libgdcmCommon.so.2.0 -o ../../bin/libgdcmCommon.so.2.0.18 CMakeFiles/gdcmCommon.dir/gdcmVersion.cxx.o CMakeFiles/gdcmCommon.dir/gdcmEvent.cxx.o CMakeFiles/gdcmCommon.dir/gdcmProgressEvent.cxx.o CMakeFiles/gdcmCommon.dir/gdcmCommand.cxx.o CMakeFiles/gdcmCommon.dir/gdcmMD5.cxx.o CMakeFiles/gdcmCommon.dir/gdcmBase64.cxx.o CMakeFiles/gdcmCommon.dir/gdcmSHA1.cxx.o CMakeFiles/gdcmCommon.dir/gdcmDummyValueGenerator.cxx.o CMakeFiles/gdcmCommon.dir/gdcmCryptographicMessageSyntax.cxx.o CMakeFiles/gdcmCommon.dir/gdcmASN1.cxx.o CMakeFiles/gdcmCommon.dir/gdcmObject.cxx.o CMakeFiles/gdcmCommon.dir/gdcmSubject.cxx.o CMakeFiles/gdcmCommon.dir/gdcmDirectory.cxx.o CMakeFiles/gdcmCommon.dir/gdcmTerminal.cxx.o CMakeFiles/gdcmCommon.dir/gdcmString.cxx.o CMakeFiles/gdcmCommon.dir/gdcmFilename.cxx.o CMakeFiles/gdcmCommon.dir/gdcmFilenameGenerator.cxx.o CMakeFiles/gdcmCommon.dir/gdcmSwapCode.cxx.o CMakeFiles/gdcmCommon.dir/gdcmSystem.cxx.
 o CMakeFiles/gdcmCommon.dir/gdcmTrace.cxx.o CMakeFiles/gdcmCommon.dir/gdcmException.cxx.o CMakeFiles/gdcmCommon.dir/gdcmDeflateStream.cxx.o CMakeFiles/gdcmCommon.dir/gdcmByteSwap.cxx.o CMakeFiles/gdcmCommon.dir/gdcmUnpacker12Bits.cxx.o -ldl -lssl -lcrypto 
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a(ctype.o): relocation R_X86_64_32S against `vtable for std::ctype<wchar_t>' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a: could not read symbols: Bad value

Thanks

-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages g++-4.4 depends on:
ii  gcc-4.4                   4.4.5-8        The GNU C compiler
ii  gcc-4.4-base              4.4.5-8        The GNU Compiler Collection (base 
ii  libc6                     2.11.2-10      Embedded GNU C Library: Shared lib
ii  libgmp3c2                 2:4.3.2+dfsg-1 Multiprecision arithmetic library
ii  libmpfr4                  3.0.0-2        multiple precision floating-point 
ii  libstdc++6-4.4-dev        4.4.5-8        The GNU Standard C++ Library v3 (d

g++-4.4 recommends no packages.

Versions of packages g++-4.4 suggests:
pn  g++-4.4-multilib              <none>     (no description available)
pn  gcc-4.4-doc                   <none>     (no description available)
pn  libstdc++6-4.4-dbg            <none>     (no description available)

-- no debconf information



Reply to: