--- Comment #8 from danglin at gcc dot gnu dot org 2007-10-14 16:23 ---
Regarding comment #4, I don't believe the warnings are a problem. hppa64-hpux
does not support undefined weak.
Regarding comment #6, '-m64' is not a valid gcc option for the hppa64-hpux
target. Thus, it appears
--- Comment #9 from cnstar9988 at gmail dot com 2007-10-15 00:43 ---
$ cat /usr/bin/gcc
#!/bin/sh
mode=ilp32
first=yes
for arg in $@; do
case $arg in
-milp32|-m32)
mode=ilp32
;;
-mlp64|-m64)
mode=lp64
;;
*)
--- Comment #5 from cnstar9988 at gmail dot com 2007-07-23 06:08 ---
I found the problem.
But I don't know how to resolved.
$ gcc -Wl,+noallowunsats -m64 -fPIC -static-libgcc -Wl,-chpexport.sym -shared
-o libtrsbean.sl MafBean.o Function.o api/lib/trsapi.a -lc -lpthread
ld: Unsatisfied
--- Comment #6 from cnstar9988 at gmail dot com 2007-07-23 06:22 ---
Similar to this patch.
How to resolved?
http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00327.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32830
--- Comment #7 from cnstar9988 at gmail dot com 2007-07-23 07:15 ---
I build with -lgcc_stub, So works ok.
I think _Jv_RegisterClasses for GCJ.
__cxa_finalize for G++.
My Library only use C language, so works ok.
:)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32830
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Severity|critical|normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32830
--- Comment #4 from cnstar9988 at gmail dot com 2007-07-20 07:31 ---
On HPPA64, there are some warning.
/home/beans/gcc-build/build/./gcc/xgcc -B/home/beans/gcc-build/build/./gcc/
-B/opt/gcc-4.2.1/lp64/hppa64-hp-hpux11.11/bin/
-B/opt/gcc-4.2.1/lp64/hppa64-hp-hpux11.11/lib/ -isystem
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-20 04:24 ---
Can you describe more of the problem?
Also how about a testcase.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from cnstar9988 at gmail dot com 2007-07-20 05:25 ---
My library is a java native library.
It's was build by hp cc.
I have patch all as/ld patchs from hp site.
I read http://gcc.gnu.org/install/specific.html#hppa-hp-hpux11.
It's no doubt that I can build gcc myself.
I
--- Comment #3 from cnstar9988 at gmail dot com 2007-07-20 05:28 ---
(In reply to comment #2)
My library is a java native library.
It's was build by hp cc.
I have patch all as/ld patchs from hp site.
I read http://gcc.gnu.org/install/specific.html#hppa-hp-hpux11.
It's no doubt that
10 matches
Mail list logo