[Bug c++/24272] strange link error with ACE

lawless at spamcop dot net gcc-bugzilla@gcc.gnu.org
Fri Mar 10 23:36:00 GMT 2006



------- Comment #4 from lawless at spamcop dot net  2006-03-10 23:36 -------
This bug is not a dupliate of bug 19664.  I just applied
'gcc-push-pop-visibility.patch' to gcc 4.0.2 on 'x86_64'
and the problem is still there:

/usr/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                               

BTW, had to had-edit the patch for three files:

libstdc++-v3/include/tr1/array
libstdc++-v3/include/debug/string
libstdc++-v3/include/std/std_sstream.h                                    


-- 

lawless at spamcop dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lawless at spamcop dot net


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



More information about the Gcc-bugs mailing list