This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24272] New: strange link error with ACE
- From: "lothar at tradescape dot biz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2005 06:03:09 -0000
- Subject: [Bug c++/24272] New: strange link error with ACE
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
/opt2/linux/ix86/x86_64-pc-linux-gnu/bin/g++ -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-4.0.2/configure --program-suffix=-4.0.2
--enable-__cxa_atexit --enable-languages=c,c++ --prefix=/opt2/linux/ix86
--target=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu
--with-sysroot=/opt2/linux/ix86/SuSE-10.0
--enable-version-specific-runtime-libs --enable-clocale=gnu
Thread model: posix
gcc version 4.0.2
/opt2/linux/ix86/lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld:
.shobj/Logging_Strategy.o: relocation R_X86_64_PC32 against
`std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(char
const*, std::_Ios_Openmode)@@GLIBCXX_3.4' can not be used when making a shared
object; recompile with -fPIC
/opt2/linux/ix86/lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
--
Summary: strange link error with ACE
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lothar at tradescape dot biz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24272