From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16969 invoked by alias); 10 Mar 2006 23:36:33 -0000 Received: (qmail 16939 invoked by uid 48); 10 Mar 2006 23:36:29 -0000 Date: Fri, 10 Mar 2006 23:36:00 -0000 Message-ID: <20060310233629.16938.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/24272] strange link error with ACE In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "lawless at spamcop dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-03/txt/msg01093.txt.bz2 List-Id: ------- 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 >::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