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:28:21 -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 #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 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.
I download gcc-4.1.2/4.2.0 from hp-gcc, it works failed too.
http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=2a08725cc2f02110725cc2f02110275d6e10RCRD
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32830