This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linking with libgomp (ia64-hp-hpux11.23)
- From: Richard Henderson <rth at redhat dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 7 Mar 2006 11:23:26 -0800
- Subject: Re: Linking with libgomp (ia64-hp-hpux11.23)
- References: <200603061932.LAA19066@hpsje.cup.hp.com>
On Mon, Mar 06, 2006 at 11:32:01AM -0800, Steve Ellcey wrote:
> | ld: (Warning) Symbol "__udivsi3" is not exported but is imported by a shared library
> | ld: (Warning) Symbol "__divsi3" is not exported but is imported by a shared library
> | 2 warnings.
Are these being referenced from libgomp? If so, why weren't they
resolved when linking libgomp? Otherwise we need more info.
> Notice that the -lgomp comes in front of the -L flags. With the HP
> linker this means that those directories will not be searched for
> libgomp. If I move the -lgomp to after the -L options then I find
> libgomp.
It could well be that the libgomp_link spec is in the wrong place.
> When I do move -lgomp later in the link though I get the messages about
> __divsi3 and __udivsi3, so I think that means that I need to have
> libgomp built with the -lgcc_s option.
That should have been automatic. See above...
r~