The root cause is we use the same head files for both 32bit and 64 bit
platform. Here, gsize is defined dynamically while configuring, which
means gsize should be unsigned long for 64bit platform.

As to ship 64bit head files is not quite possible for the moment (we may
need to update the ARC docs), I hardcoded the part
to determine the definition of gsize, which lost the flexibility, but
will work for Solaris.

I will suggest we deliver both 32bit head files (in /usr/include) and
64bit head files (in /usr/include/amd64|sparcv9) in the future to avoid
the problem
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: glib-09-gsize.diff
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20090223/869c3f1a/attachment.ksh>

Reply via email to