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~

Reply via email to