On Fri, Jul 6, 2018 at 9:31 PM, Till Wegmüller via illumos-discuss <
[email protected]> wrote:

> Hello Fellow developers
>
> I am looking for some help in understanding an LD error I am
> encountering while packaging mono 5.x
>
> Normaly this error means it does not find a library but this time LD
> reports that all symbols have been found yet it fails.
>
> Does anybody have any hints?
>
> ...
>   CCLD     mono-boehm
> Undefined                       first referenced
>  symbol                             in file
> mono_threads_platform_get_stack_bounds
> ../../mono/utils/.libs/libmonoutils.a(libmonoutils_la-mono-threads.o)
>

That's clear. The symbol mono_threads_platform_get_stack_bounds is
referenced (by libmonoutils_la-mono-threads.o) but not defined anywhere.

A quck browse of the source code indicates that there are multiple
implementations of that symbol, and it builds the right one for the current
platform based on preprocessor defines. Out of the box, there isn't a
sunos version, so you'll have to write one for it to find.

The other missing symbols look to fail the same way. There is more than
one implementation, but none of them get built on sunos.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/

------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/T722dfb3edd9e7e3a-Ma02119a6722d8fdb597af318
Delivery options: https://illumos.topicbox.com/groups

Reply via email to