* GCC:: __gxx_personality_v0 problem
@ 2002-07-02 9:08 Lindsay Braine
2002-07-02 9:39 ` compiling GLIBC-2.2.5 RMD
2002-07-03 3:49 ` GCC:: __gxx_personality_v0 problem Andrea 'Fyre Wyzard' Bocci
0 siblings, 2 replies; 3+ messages in thread
From: Lindsay Braine @ 2002-07-02 9:08 UTC (permalink / raw)
To: gcc-help
Dear Mailing List,
I am trying to use gcc to compile a simple .cxx file, but am getting the
following error 'symbol __gxx_personality_v0: referenced symbol not
found' when I try and use the created shared object. Can anyone provide
some insight into why this might be occuring (looking at web search
engines has revealed that it might be a configuration problem with
previously installed versions of gcc clashing - but I have never had
another version other that the one I am using!)
I am using GCC version 3.1
I am on Sun Solaris 8
Configuration information is :
->gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.1
and my compilation command file reads :
echo "Compiling C Wrapper Code"
g++ -fPIC -c -I/usr/java1.2/include -I/usr/java1.2/include/solaris
-I/space/otherlibs/libs service_wrap.cxx
echo "Linking C Wrapper Code"
ld -G -o libservice_wrap.so service_wrap.o functionslib.o
Any help/pointers/answers would be gratefully recieved.
Best Regards,
Lindsay.
^ permalink raw reply [flat|nested] 3+ messages in thread
* compiling GLIBC-2.2.5
2002-07-02 9:08 GCC:: __gxx_personality_v0 problem Lindsay Braine
@ 2002-07-02 9:39 ` RMD
2002-07-03 3:49 ` GCC:: __gxx_personality_v0 problem Andrea 'Fyre Wyzard' Bocci
1 sibling, 0 replies; 3+ messages in thread
From: RMD @ 2002-07-02 9:39 UTC (permalink / raw)
To: gcc-help
I need to compile glibc-2.2.5 on a 686 machine, for a i486 target.
In the web, I read things like "This package is known to behave badly when
you have changed it´s default optimization flags (including the -march
and -mcpu options), GLIBC is best left alone, so we recommend you unsetting
CFLAGS, CXXFLAGS and other such variables/settings that would change the
default optimization values it comes with. Also, dont pass
the --enable-kernel option to the configure script. It´s known to cause
segmentation faults when other packages like fileutils, make and tar are
linked against it"
This remains true? If so, how can I build a glibc on a pentium-class machine
for another x86 target?
regards
Ricardo Derbes
Altec SE
AlbarracÃn 157 - San Carlos de Bariloche
+54-2944-426892
rmd@altec.com.ar
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GCC:: __gxx_personality_v0 problem
2002-07-02 9:08 GCC:: __gxx_personality_v0 problem Lindsay Braine
2002-07-02 9:39 ` compiling GLIBC-2.2.5 RMD
@ 2002-07-03 3:49 ` Andrea 'Fyre Wyzard' Bocci
1 sibling, 0 replies; 3+ messages in thread
From: Andrea 'Fyre Wyzard' Bocci @ 2002-07-03 3:49 UTC (permalink / raw)
To: Lindsay Braine, gcc-help
At 17:08 02/07/2002 +0100, Lindsay Braine wrote:
>Dear Mailing List,
>
>I am trying to use gcc to compile a simple .cxx file, but am getting the
>following error 'symbol __gxx_personality_v0: referenced symbol not found'
>when I try and use the created shared object. Can anyone provide some
>insight into why this might be occuring (looking at web search engines has
>revealed that it might be a configuration problem with previously
>installed versions of gcc clashing - but I have never had another version
>other that the one I am using!)
>
>I am using GCC version 3.1
>I am on Sun Solaris 8
>Configuration information is :
>->gcc -v
>Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/specs
>Configured with: ../configure --with-as=/usr/ccs/bin/as
>--with-ld=/usr/ccs/bin/ld --disable-nls
>Thread model: posix
>gcc version 3.1
>
>and my compilation command file reads :
>
>echo "Compiling C Wrapper Code"
>g++ -fPIC -c -I/usr/java1.2/include -I/usr/java1.2/include/solaris
>-I/space/otherlibs/libs service_wrap.cxx echo "Linking C Wrapper Code"
>ld -G -o libservice_wrap.so service_wrap.o functionslib.o
>
>Any help/pointers/answers would be gratefully recieved.
>Best Regards,
>Lindsay.
Don't know much about solaris, but I woud have done what you're trying to
do as:
g++ -fPIC -c -I/usr/java1.2/include -I/usr/java1.2/include/solaris
-I/space/otherlibs/libs service_wrap.cxx
g++ -fPIC -shared -o libservice_wrap.so service_wrap.o functionslib.o
(note that functionslib.o has to be compiled with -fPIC, I guess)
This may help, or it may not :-(
fwyzard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-03 10:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-02 9:08 GCC:: __gxx_personality_v0 problem Lindsay Braine
2002-07-02 9:39 ` compiling GLIBC-2.2.5 RMD
2002-07-03 3:49 ` GCC:: __gxx_personality_v0 problem Andrea 'Fyre Wyzard' Bocci
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).