This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/30900] New: relocation R_X86_64_PC32 BUG


===================================
 relocation R_X86_64_PC32  BUG
===================================


libtool: link: warning: library
`/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64//libultim.la' was
moved.
g++ -shared -nostdlib
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/crti.o
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/crtbeginS.o  .libs/gaol_interval.o
.libs/gaol_profile.o .libs/gaol_common.o .libs/gaol_parser.o
.libs/gaol_expression.o .libs/dtoa.o .libs/gaol_interval_parser.o
.libs/gaol_interval_lexer.o .libs/gaol_port.o .libs/gaol_flt_output.o
.libs/gaol_exceptions.o .libs/gaol_init_cleanup.o .libs/s_nextafter.o 
-Wl,--rpath -Wl,/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/
-Wl,--rpath -Wl,/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64//libultim.so
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/lib
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../.. -lstdc++ -lm -lc -lgcc_s
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/crtendS.o
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/crtn.o  -m64
-Wl,-soname -Wl,libgaol.so.0 -o .libs/libgaol.so.0.2.0
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
.libs/gaol_interval.o: relocation R_X86_64_PC32 against
`std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char>
>::str() const@@GLIBCXX_3.4' can not be used when making a shared object;
recompile with -fPIC
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
final link failed: Bad value




=============
 GCC Version
=============

linux-370u:/home/centiped/gaol-2.0.2-mvc6-mcv2003-x86_64 # g++ -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2
--enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --program-suffix=-4.1
--enable-version-specific-runtime-libs --without-system-libunwind
--with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)


-- 
           Summary: relocation R_X86_64_PC32  BUG
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: centi_riccardo at libero dot it
  GCC host triplet: linux x86_64


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30900


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]