Search the web
Sign In
New User? Sign Up
ace-users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
[ace-users] linking of ACE library fails with gcc 4.0.2   Message List  
Reply | Forward Message #42969 of 42992 |
Hi,

ACE VERSION: 5.4.7
PRF is attached


/opt2/linux/ix86/lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-g\
nu/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-g\
nu/bin/ld:
final link failed: Bad value

when googling I found:
http://groups.google.com/group/linux.debian.bugs.rc/browse_thread/thread/7a7c727\
1e35ad70/58e18f7d7b57607a?lnk=st&q=ld+GLIBCXX_3.4+ace&rnum=1&hl=en#58e18f7d7b576\
07a


Lothar
--
Lothar Werzinger Dipl.-Ing. Univ.
framework & platform architect
Tradescape Inc.
111 West St. John Street, Suite 200
San Jose, Ca 95113
email: lothar@...


Fri Oct 7, 2005 5:23 pm

lothar@...
Send Email Send Email

To: ace-bugs@...
Subject: [area]: [synopsis]

ACE VERSION: 5.4.7

HOST MACHINE and OPERATING SYSTEM:
Linux janus 2.6.13-15-default #1 Tue Sep 13 14:56:15 UTC 2005 x86_64 x86_64
x86_64 GNU/Linux

TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
COMPILER NAME AND VERSION (AND PATCHLEVEL):
gcc (GCC) 4.0.2

THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
specific file, simply state which one]:
#define ACE_HAS_XML_SVC_CONF
#include "ace/config-linux.h"

THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
use a link to a platform-specific file, simply state which one
(unless this isn't used in this case, e.g., with Microsoft Visual
C++)]:
# configure ACE/TAO for our use

debug=1
optimize=1
exceptions=1
threads=1
inline=1
rtti=1
versioned_so=1
interface_repo=1
ssl=1

include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU

# Disable the RCSID for release/non-debug builds.
CPPFLAGS += -DACE_USE_RCSID=0

CC = /opt2/linux/ix86/x86_64-pc-linux-gnu/bin/gcc
CXX = /opt2/linux/ix86/x86_64-pc-linux-gnu/bin/g++
CFLAGS += -m64 -I/opt2/linux/x86_64/include
CCFLAGS += -m64 -I/opt2/linux/x86_64/include
LDFLAGS += -m64 -I/opt2/linux/x86_64/include -L/opt2/linux/x86_64/lib

TAO_IDL_PREPROCESSOR=gcc

CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):
// $Id$
// This is an automatically generated file.

ssl=0
qos=1
cidl=0
rwho=0
sctp=0

AREA/CLASS/EXAMPLE AFFECTED:
[What example failed? What module failed to compile?]

DOES THE PROBLEM AFFECT:
COMPILATION?
LINKING?
On Unix systems, did you run make realclean first?
EXECUTION?
OTHER (please specify)?
[Please indicate whether ACE, your application, or both are affected.]

SYNOPSIS:
[Brief description of the problem]

DESCRIPTION:
[Detailed description of problem. Don't just say "<blah>
doesn't work, here's a fix," explain what your program does
to get to the <blah> state. ]

REPEAT BY:
[What you did to get the error; include test program or session
transcript if at all possible. ]

SAMPLE FIX/WORKAROUND:
[If available ]


Forward
Message #42969 of 42992 |
Expand Messages Author Sort by Date

Hi, ACE VERSION: 5.4.7 PRF is attached /opt2/linux/ix86/lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld: .shobj/Logging_Strategy.o: ...
Lothar Werzinger
lothar@...
Send Email
Oct 7, 2005
5:27 pm

Hi Lothar, Could you please just put the PRF in the e-mail itself, it is much easier to handle then. I have seen this also on our x86_64 system and couldn't...
Johnny Willemsen
jwillemsen@...
Send Email
Oct 7, 2005
5:59 pm

... Done, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24272 Lothar -- Lothar Werzinger Dipl.-Ing. Univ. framework & platform architect Tradescape Inc. 111 West...
Lothar Werzinger
lothar@...
Send Email
Oct 8, 2005
6:21 am

Hi, It seems that it is a compiler problem (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664). However I don't expect this problem to get fixed anytime...
Lothar Werzinger
lothar@...
Send Email
Oct 9, 2005
12:08 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help