Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-05-2008, 07:35 AM   #1
Registered: Oct 2006
Posts: 132

Rep: Reputation: 15
PIC issue on RHEL4 platform gcc 3.3.6 compiler

i am getting the below error in RedHat WS 4.0 platform amd64 machine.

1. Does gcc 3.3.6 is supported on RHEL4.0 platform?
2. how do i find the given executable (.o file or .so file or elf file is compiled with -fpic or -fPIC code?) is compiled with -fpic or -fPIC option?
3. how can i resolve the below error?

Please help me to understand.


/usr/bin/ld: /linux/depot/gcc-3.3.6-RHEL_4/bin/../lib/gcc-lib/x86_64-redhat-linux/3.3.6/../../../../lib64/libstdc++.a(functexcept.o): relocation R_X86_64_32 against `typeinfo for std::bad_exception' can not be used when making a shared object; recompile with -fPIC


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
C PIC Compiler (16Fxxx) like CC5X archShade Programming 6 11-07-2009 02:19 PM
Installing GCC 3.2.2 with G++ on RHEL4 joseph.r.carr Linux - Software 5 04-26-2007 02:44 PM
gcc: unrecognized option `-prefer-non-pic' Noodles25 Linux - Software 3 04-19-2007 07:44 PM
Pic Compiler bob3dan Programming 2 02-27-2007 09:49 PM
RHEL4 - which GCC pompeyjohn Red Hat 1 10-17-2006 10:45 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration