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++/24272] strange link error with ACE



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


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