This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32830] shared library create by hppa64-hp11.11 can't run.
- From: "cnstar9988 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2007 05:25:50 -0000
- Subject: [Bug target/32830] shared library create by hppa64-hp11.11 can't run.
- References: <bug-32830-14862@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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 can build gcc 4.1.2 on AIX5.1/Solaris10/Linux26.
I use hpcc/gcc3.4.5 to build gcc-3.4.6, gcc 3.4.6 works ok to buid my
library.(Use Tomcat/hppa64 JDK)
Now I want to build it with gcc 4.1.2 or gcc 4.2.1.
I use gcc-3.4.6 or hpcc to build gcc 4.1.2 or gcc 4.2.1, --with-bootstrap.
the gcc builds my library ok.
But it can't work.
"some symbol required by the shared library could not be found"
I use nm -g to display the symbols, it's ok.
Mybe HPPA64 doesn't support weak symbols.
--
cnstar9988 at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.2.1
Known to work| |3.4.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32830