[Bug ada/15249] Installation of shared libgnat and libgnarl on hppa*

dave at hiauly1 dot hia dot nrc dot ca gcc-bugzilla@gcc.gnu.org
Mon May 3 23:16:00 GMT 2004


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-05-03 23:16 -------
Subject: Re:  Installation of shared libgnat and libgnarl on hp

> ------- Additional Comments From wilson at specifixinc dot com  2004-05-03
> 22:33 -------
> Subject: Re:  Installation of shared libgnat and libgnarl on
>  hppa*
> 
> dave at hiauly1 dot hia dot nrc dot ca wrote:
> > This usually is a result of not using the "-fPIC" option when compiling
> > object modules.
> 
> This is probably bug 15102.  adalib can only be built from scratch in a 
> clean tree.  If you try a rebuild, or a build after gnatlib_and_tools, 
> it will fail.

Yes, looks to be the same problem.

I have the sense that the reason shared libraries didn't build
in the first place is because we have in link.c:

char shared_libgnat_default = STATIC;

In Makefile.in, we have

  GNATLIB_SHARED = gnatlib-shared-dual

It looks as if this should cause shared libraries to build.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15249



More information about the Gcc-bugs mailing list