Dear Suzuki san,
OK.
I'll be glad to.
Regards,
--- Kiyoshi
----- Original Message -----
>From: suzuki toshiya <[email protected]>
>To: Kiyoshi KANAZAWA <[email protected]>
>Cc: freetype-devel <[email protected]>
>Date: 2018/5/4, Fri 08:40
>Subject: Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc
>on Solaris x64
>
>Dear Kanazawa-san,
>
>Thanks for confirmation! Maybe I would have to ask for your reconfirmation
>after polishing up the patch, after a while. Please keep in touch.
>
>mpsuzuki
>
>Kiyoshi KANAZAWA wrote:
>> Dear Suzuki san,
>>
>> Your patch solved the problem.
>> Tested both with
>> - ./configure CC="cc -m64"
>> % nm objs/.libs/libfreetype.so.6.16.1 | grep FT_Init_FreeType
>> [2394] | 355488| 123|FUNC |GLOB |0 |17 |FT_Init_FreeType
>>
>> - ./configure CC="cc -m32"
>> % nm objs/.libs/libfreetype.so.6.16.1 | grep FT_Init_FreeType
>> [2398] | 185536| 148|FUNC |GLOB |0 |15 |FT_Init_FreeType
>>
>>
>> Best regards,
>>
>> --- Kiyoshi
>>
>> ----- Original Message -----
>> From: suzuki toshiya <[email protected]>
>> To: Kiyoshi KANAZAWA <[email protected]>
>> Cc: freetype-devel <[email protected]>
>> Date: 2018/5/3, Thu 23:49
>> Subject: Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc
>> on Solaris x64
>>
>> Maybe
>> __attribute__((visibility("__global"))) foo
>> is wrong, and
>> __global foo
>> would be correct. also I guess
>> __attribute__((visibility("default"))) foo
>> is acceptable for Oracle cc too.
>>
>> I uploaded the revised tarball (revised patch is attached).
>> No need to try immediately :-)
>>
>> suzuki toshiya wrote:
>>> Dear Kanazawa-san,
>>>
>>> Thanks!
>>>
>>> Kiyoshi KANAZAWA wrote:
>>>> Dear Suzuki san,
>>>>
>>>> Tried to build freetype-2.9.1-sunpro, but failed.
>>>> Log files are attached.
>>>>
>>>> I'm going to bed, now.
>>>> See you again, tomorrow.
>>>> Regards,
>>>>
>>>> --- Kiyoshi
>>>>
>>>>
>>>> ----- Original Message -----
>>>> From: suzuki toshiya
>>>> <[email protected]<mailto:[email protected]>>
>>>> To: Alexei Podtelezhnikov <[email protected]<mailto:[email protected]>>;
>>>> Kiyoshi KANAZAWA
>>>> <[email protected]<mailto:[email protected]>>
>>>> Cc: freetype-devel
>>>> <[email protected]<mailto:[email protected]>>
>>>> Date: 2018/5/3, Thu 23:09
>>>> Subject: Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with
>>>> cc on Solaris x64
>>>>
>>>> Dear Alexei, Kanazawa-san,
>>>>
>>>> Here is the patch trying to use visibility options on SunPro.
>>>> Also patched tarball is uploaded at:
>>>>
>>>> http://gyvern.ipc.hiroshima-u.ac.jp/~mpsuzuki/freetype-2.9.1-sunpro.tar.gz
>>>>
>>>> This is completely untested on SunPro, there might be silly
>>>> mistakes, but I hope anybody can try.
>>>>
>>>> Regards,
>>>> mpsuzuki
>>>>
>>>> suzuki toshiya wrote:
>>>>> Alexei Podtelezhnikov wrote:
>>>>>>> Thus, attribute visibility is only enabled for GCC >= 4.
>>>>>>>
>>>>>>> Comparing with configure.raw, I guess you assumed that
>>>>>>> -fvisibility is GCC-specific feature?
>>>>>> Solaris compiler would natively need -xldscope=hidden and __global
>>>>>> attribute, according to
>>>>>> http://www.oracle.com/technetwork/server-storage/solaris/symbol-scope-140496.html
>>>>> The values of attribute-visibility would be compatible with
>>>>> GNU style, according to
>>>>> https://docs.oracle.com/cd/E19205-01/821-2496/bjabi/index.html
>>>>> please find 2.9.
>>>>>
>>>>>> -fvisibility is GNU so Solaris had better define __GNUC__. Oh well.
>>>>> According to configure.log.xz by Kanazawa-san, Oracle cc
>>>>> (pretends to as if it) supports -fvisibility.
>>>>> Anyway, I have no objection to write Sun style explicitly.
>>>>>
>>>>> Regards,
>>>>> mpsuzuki
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Freetype-devel mailing list
>>>>> [email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
>>>>> https://lists.nongnu.org/mailman/listinfo/freetype-devel
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Freetype-devel mailing list
>>> [email protected]<mailto:[email protected]>
>>> https://lists.nongnu.org/mailman/listinfo/freetype-devel
>>>
>>
>>
>>
>
>
>
>_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel