Ian Lance Taylor <i...@google.com> writes:

>> The patch introduced a couple of other problems:
>>
>> * There's a warning during libgo configure:
>>
>> * Bootstrap on Solaris < 11 is broken:
>>
>> * The IRIX libgo build is broken like this:
>
> Thanks a lot.  All committed.

I hadn't bootstrapped with the fixes before submitting, but doing it now
shows a serious problem on Solaris 8 and 9: libgo now makes uses of many
C99 math functions, some of which are missing, as can be seen with ldd -r.

The situation differs between Solaris/SPARC

        symbol not found: log2          (.libs/libgo.so)
        symbol not found: trunc         (.libs/libgo.so)

and Solaris/x86:

        symbol not found: acosl         (.libs/libgo.so)
        symbol not found: asinl         (.libs/libgo.so)
        symbol not found: atan2l        (.libs/libgo.so)
        symbol not found: atanl         (.libs/libgo.so)
        symbol not found: cosl          (.libs/libgo.so)
        symbol not found: expl          (.libs/libgo.so)
        symbol not found: expm1l        (.libs/libgo.so)
        symbol not found: ldexpl        (.libs/libgo.so)
        symbol not found: log10l        (.libs/libgo.so)
        symbol not found: log1pl        (.libs/libgo.so)
        symbol not found: log2l         (.libs/libgo.so)
        symbol not found: logl          (.libs/libgo.so)
        symbol not found: sinl          (.libs/libgo.so)
        symbol not found: tanl          (.libs/libgo.so)
        symbol not found: trunc         (.libs/libgo.so)

The Studio compilers include libsunmath.so.1 which provides those
functions (among others), but neither can one rely on the compilers
being installed now do they end up in a fixed location.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to